1 Reply Latest reply on Oct 18, 2005 5:10 AM by koen.aers

    Programmatically invoking the scheduler

    ali_feint

      I need a way of scheduling a process instance, possibly as a recurring workflow - each recurrance would be a separate process instance.

      I am thinking I could use the scheduler to schedule an action which is used to start a process instance - but is it possible to schedule an action which is NOT part of a process instance?
      Is it even possible to use the scheduler programmatically, i.e. schedule something from within code, instead of using the timer element of the process definition?

        • 1. Re: Programmatically invoking the scheduler
          koen.aers

           

          I am thinking I could use the scheduler to schedule an action which is used to start a process instance - but is it possible to schedule an action which is NOT part of a process instance?


          You probably can do this by modifying the scheduler a little bit and using it programmatically.

          Is it even possible to use the scheduler programmatically, i.e. schedule something from within code, instead of using the timer element of the process definition?


          So yes, this is possible, but it is - at the moment - not the intended use. You can always use a real scheduler such as Quartz if you want to do complex things that are not supported by jbpm's scheduler.

          Regards,
          Koen