cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to rollback task completion?

dileeph
Champ in-the-making
Champ in-the-making
Once taskService.complete(id) is invoked is there a way to stop this from completing? As by throwing an exception? I tried an error end point - however that did not help.
Using an XOR gate to loop back also doesn't help me since that will end up creating a new task instance.

Any pointers would be greatly appreciated.
1 REPLY 1

dileeph
Champ in-the-making
Champ in-the-making
Looks like creating a JavaTask and throwing a exception from there works. Please let me know if there are any issues associated with this approach.