cancel
Showing results for 
Search instead for 
Did you mean: 

How to continue processing if we are in error state- what is the best way to continue processing in Activiti ?

pavitra
Champ in-the-making
Champ in-the-making
Hi,

I am using activiti , I have a sample,  I made it as asynch to log the error in each and every step if there is an error in the step .
So my question is to, is there a mechanism to continue processing if we are in error state ? Please provide me the solution to resolve this scenario. Because I am using Message Queue to read and write , If there is an error Message Queue will be hanging in the middle. How to resolve this scenario.
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Pavitra,

if you wan to rerun failed job again just use org.activiti.engine.ManagementService#executeJob and run the job (synchronously). Or set retries_ to some non zero value (async).

Regards
Martin