3 Replies Latest reply on Nov 26, 2005 10:18 AM by julian_k

    Automated Process Invocation

    julian_k

      Is it possible to automatically have a process instance started once it's deployed (aka without human interaction)? I would like to run a process once a day and have it follow a defined workflow. Normally, a cron job or the like would be sufficient, but I want to utilize jBPM functionalities.

      Thanks,
      Julian

        • 1. Re: Automated Process Invocation
          kentest

          I think it is impossible that the process you have deployed can create a process instance automatically.Maybe the process should receive a message,just like the relation between father process and process-state.It's just my opinion.Hope to debate with you about jBPM.

          • 2. Re: Automated Process Invocation
            kukeltje

            If you create your own deployer (not to difficult, see the sourcecode for how e.g. the ant task does it) you can combine this with an automated start of a process instance.

            Many other ways are possible e.g. a startup servlet that checks the latest versions every x seconds and start a process instance if a new version is encountered.

            There is just no functionality for this created by the jBPM team.

            • 3. Re: Automated Process Invocation
              julian_k

              ok thanks. I will likely use the quartz scheduler to invoke the definition. The main reason for wanting this functionality is to allow a nightly process to inform users of certain tasks after completion of batch processes.