cancel
Showing results for 
Search instead for 
Did you mean: 

Transaction management:- How does activiti handles transactions if one task is failed in process?

sunilten
Champ in-the-making
Champ in-the-making

Need more understanding on how does activiti handles transaction management.

1. if one or more task in process is failed or having missing data and process fails.

2. if one of task in process requires user input and should continue workflow once user has entered details

3. Re-triggering workflow from current state whenever exception is fixed.

1 REPLY 1

ryandawson
Elite Collaborator
Elite Collaborator

1 the transaction will fail and the process will not move on.

2 this is not a failure condition - the process (including its persisted state) will then be at the user task.

3 many users are using async tasks and restarting with job executor - see How to force Activiti to retry a failed service task attached to a boundary event?  or  Retrying a Java/Custom Task after failures 

Also relevant to your question are  Resume a service task after error occured  and java - Activiti: Check Process Failed to Ended - Stack Overflow