How to ensure the process exeuction restarts along with restarting the last safe point (Human Task) even though it was completed before an Exception takes place ?
Issue
- The following KCS [1] says
As long as you use LocalTaskService+SyncWSHumanTaskHandler, process instances and tasks are consistent so you will be able to continue the process from the last committed state.
Considering the above condition, say there is a process definition which has a Service Task right after a User Task node and after the User Task nodes is completed when the Service Task was getting executed, a RuntimeException takes place. In this scenario it is seen that jBPM 5 engine rolls back all transactions back to the last safe point (which is a completed Human Task node). But, how to get the process instance to start again by restarting the last safe point (Human Task) even though it was completed? If the last safe point was a message or signal event then it can send another message into the process instance to start it again.
- In case of running the process instance through
Business Central Consolewill it be possible to resume the process execution in case the above scenario takes place?
Environment
- Red Hat JBoss BRMS (BRMS)
- 5.3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
