-
1. Re: How to undo or redo human task in a process instance?
ted.pan Nov 22, 2012 10:13 AM (in response to thomas.setiabudi)1 of 1 people found this helpfulhi,
I don't think you can undo a completed task, basing on the task life cycle. http://docs.jboss.org/jbpm/v5.3/userguide/ch.human-tasks.html#d0e5129
But you can add an event or connection or any other method to re-enter this task node in the process. A new task instance will be created. You may need to manually 'rollback' what you have done to your business data before re-enter this task node.
Ted
-
2. Re: How to undo or redo human task in a process instance?
thomas.setiabudi Nov 22, 2012 8:07 PM (in response to ted.pan)Hi Ted Pan,
Thanks for your answer.
Guess you are right, we have to provide event or connection or any other method to re enter the task node and manually rollback our process.
there is a concern that by using process flow engine like jbpm our process become more rigid, but I guess we have to handle it.
here is a sample scenario, consider a self performance review system:
1. the employee need to make a self review and saves it on the system
2. the manager need to approve the review, If it is approved then the process ends, if it is rejected, then the employee needs to redo his task to edit / modify the self review.
Regards,
Thomas Setiabudi
-
3. Re: How to undo or redo human task in a process instance?
swiderski.maciej Nov 23, 2012 1:54 AM (in response to thomas.setiabudi)1 of 1 people found this helpfulAn alternative to this would be to consider ad hoc process so it can be decided almost at any time what activity should be activated.
HTH
-
4. Re: How to undo or redo human task in a process instance?
thomas.setiabudi Nov 23, 2012 2:09 AM (in response to swiderski.maciej)Hi Maciej,
Yes that solusion make sense too, maybe we should consider using ad hoc process in these kind of scenario.
Thank you
Regards,
Thomas Setiabudi