4 Replies Latest reply on Jan 19, 2010 2:14 PM by johan.kumps

    change timer duedate

    johan.kumps

      Hi,

       

      I will describe my sitation first. We are currently migrating an application on mainframe to a new SOA platform. Currently a table is containing state about business processes. The application is build on top of this table. In the new platform JBpm will be used to manage these long running processes.

       

      A some moment in time we will need to migrate the state on the mainframe towards Jbpm instances. The occording processdefinition contains a timer with a duedate op 30 days. At the moment of conversion the lines in the table can different duedates. So just generating process instances with a duedate of 30 days is not acceptable.

       

      My question is : is it possible to change a timer duedate on a process instance level? I know the duedate is stored in the jbpm4_job table. Is it allowed to change it here? Will the process engine pickup this change correctly?

       

      Thanks for your help,

       

      Kind regards,

      Johan,

        • 1. Re: change timer duedate
          kukeltje

          johan.kumps wrote:

           

          My question is : is it possible to change a timer duedate on a process instance level? I know the duedate is stored in the jbpm4_job table. Is it allowed to change it here? Will the process engine pickup this change correctly?


           

          Yes you can change it on the db level. Just make sure jBPM, or better the job scheduler is not running. If you start it, it will pick all manual changes up.

           

          Regards,

           

          Ronald

          • 2. Re: change timer duedate
            johan.kumps

            Thanks Ronald for your answer. One more though : how to make sure the job scheduler is not running?

             

            Kind regards,

            • 3. Re: change timer duedate
              kukeltje
              uhhmm.. by not starting the appservers jBPM is running on....
              • 4. Re: change timer duedate
                johan.kumps

                uhm ideed. I thought you meant dissabling some Jbpm services/modules... but not starting the app server should do the trick.

                 

                Thanks,

                Johan,