cancel
Showing results for 
Search instead for 
Did you mean: 

Signal event rollback

rmichael
Champ in-the-making
Champ in-the-making
Helllo there,
i have a workflow deployed on activiti where i signal events from node to another in order to move forward and reach the end state.
** sends an external trigger to an execution that is waiting. */
   void sendEvent(String executionId, Object eventData);
through this method i am moving forward from one execution to another.

Now after reaching the end, i am doing some processing where i need to rollback to the previous state in case of failure.

is it possible to do so? if yes can someone guide me through the docs/api in order to find a way to signal a backward event?
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Can't you use a sequence flow back to the previous state when the processing fails? Should be possible by using a Java Service Task.