-
1. Re: [JBPM 4.1] Best practice to restart a task after shutdow
kukeltje Dec 1, 2009 2:47 AM (in response to funkymac)tasks are never started automatically but always manual. If a task was in progress when the server was shut down, the transaction should be rolled back and the task should be available in the tasklist again.
-
2. Re: [JBPM 4.1] Best practice to restart a task after shutdow
funkymac Dec 1, 2009 6:13 AM (in response to funkymac)Thanks kukeltje, bad wording on my part... should have said "automatic activities", sorry about that. In our case we have a number of java activities that transition from one to another. Looking to restart the java activity (basically transition again) if we shutdown while a given java activity is processing. Guessing I need to manually transition these, just unclear how to go about. Any guidance much appreciated!
-
3. Re: [JBPM 4.1] Best practice to restart a task after shutdow
saraswati.santanu Dec 1, 2009 7:06 AM (in response to funkymac)If I understand correctly, the transaction will rollback when you do a "shutdown". If the transaction rolls back JBPM anyway will forget whatever happened during this period. So you have to do the same signalling again which has resulted in that automated java activity to trigger. You have to do this explicitly, it will not happen automatically.
You seem to need some transaction recovery system...is it? -
4. Re: [JBPM 4.1] Best practice to restart a task after shutdow
kukeltje Dec 1, 2009 9:31 AM (in response to funkymac)If jBPM runs in the same transaction as the calling method (the one that signals in the first case) that will be rolled back as well. So 'transaction management' is fully supported.
-
5. Re: [JBPM 4.1] Best practice to restart a task after shutdow
funkymac Dec 1, 2009 4:50 PM (in response to funkymac)Thanks saraswati.santanu and kukeltje. Verified the rollback on shutdown / restart and now starting process instances again on restart of application for those items deemed in-progress when application was shutdown (re-running entire workflow again from start).
-
6. Re: [JBPM 4.1] Best practice to restart a task after shutdow
kukeltje Dec 1, 2009 5:55 PM (in response to funkymac)Cool, great it works.
-
7. Re: [JBPM 4.1] Best practice to restart a task after shutdow
shahdhaval2020 Jan 18, 2013 7:09 AM (in response to kukeltje)how to restart a failed activity/task in jbpm?
Public and process type example......