7 Replies Latest reply on Jan 30, 2015 3:08 AM by Myank Jain

    jbpm5 - scheduled process execution

    vsp Newbie

      Hello,

       

      I have a question related to the execution of processes.  Does jBPM5 offer a way to schedule execution in BPMN models (i.e. support for timer start event), either at an absolute date/time or periodically (say every day at a certain time)?  The only information about this that I was able to find in the forum is entry , and it uses rules for that (if I read that correctly).   Is this the recommended approach?

       

      If this functionality is not supported in jBPM5, are there any plans for it?

       

      Thank you,

      Vlad

       

        http://community.jboss.org/thread/160507?tstart=120

        • 1. jbpm5 - scheduled process execution
          Mauricio Salatino Master

          I think that the solution provided in the other thread is good enough for now. I will review it and i will try to create a blog post about it showing a concrete example.

          Greetings

          • 2. Re: jbpm5 - scheduled process execution
            David Harris Newbie

            Can you point me to your example?

            Thanks

            • 3. Re: jbpm5 - scheduled process execution
              Myank Jain Newbie

              Hi,

               

              I am looking for some of the example to scheduled a process execution. Could you post your blog link?

               

              It will really helpful for many of us.

               

              Thanks,

              Mayank

              • 4. Re: jbpm5 - scheduled process execution
                SANJAY GAUTAM Expert

                Hi Mayank , Mauricio Salatino

                 

                I believe you can get a small example out here Timer Example

                The key is that you can decompose it and do it in many ways you want to.

                All you need is the timer as the start task and configure the properties as desired.

                In my example there is only one java script task after the timer , but you can put complete whole sub process which in a way is totally new process and hence this would be the simplest way to create a scheduled process execution within the JBPM 6.1.0.Final and WildFly 8.1.0 DDeployment.

                more details can be found at the documentation in terms of how to configure it

                 

                Hi @Mauricio Salatino

                Please let me know if you want this article to be updated or enriched further , I am new to the JBPM open source eco system and I want to slowly get in and trying to become a contributor in terms of documentations, answering questions, code changes as I get more accustom to the product. I really think its an awesome product.

                 

                Thanks

                Sanjay Gautam

                (if answer was helpful please mark it "Helpful answer" )

                • 5. Re: jbpm5 - scheduled process execution
                  Mauricio Salatino Master

                  Hi Sanjay Gautam,

                  That article is great, do you mind if I reference that in a blog post?

                  Do you have a technical/personal blog that I can add as a link?

                  You can also help with adding similar content to the official documentation.

                  If you can take a look at there and see if the timer documentation is not clear and we need to add something else, please let us know or send a pull request to the droolsjbpm-knowledge repository.

                   

                  Thanks a lot for your contributions!

                  • 6. Re: jbpm5 - scheduled process execution
                    SANJAY GAUTAM Expert

                    Mauricio Salatino wrote:

                     

                    Hi Sanjay Gautam,

                    That article is great, do you mind if I reference that in a blog post?

                    Do you have a technical/personal blog that I can add as a link?

                    You can also help with adding similar content to the official documentation.

                    If you can take a look at there and see if the timer documentation is not clear and we need to add something else, please let us know or send a pull request to the droolsjbpm-knowledge repository.

                     

                    Thanks a lot for your contributions!

                     

                    Yes sure you can use it in your blogs I don't mind at all, I will send you the pull request for the droolsjbpm-knowledge repository soon with updates from my side, yes I would like the documentation to be best so that people who want to use the product can reliably  use it or learn it as fast as they can so that we have more mass in the BPM solution space. 

                    • 7. Re: jbpm5 - scheduled process execution
                      Myank Jain Newbie

                      Hi Sanjay,

                      Thanks for your quick reference. I will definitely look into that. I have a quick question, As I am using  JBPM 5.5.0.Final libraries, Is mentioned timer example works in JBPM5? Have you tested anytime?

                       

                      Regards,

                      Mayank