cancel
Showing results for 
Search instead for 
Did you mean: 

Avoiding restart of all service tasks with synchronous job

sushantmahajan
Champ in-the-making
Champ in-the-making
We have a set of service tasks that needs to be executed as a group. We want to run all of them as a part of one synchronous job as processing is faster as compared to when we run each as asynchronous job.  But if server fails, transaction rolls back and on restart of that job makes re-execution of all the service tasks instead of the point from where it stopped. How can i make sure taht retsrat starts form the point of last halt with synchronous execution.
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Sushant.

let's say
Start -> A -> B -> C -> End

You want to execute A -> B -> C as a group. When B fails activiti should try to re-execute B only, right?

Make B asynchronous.

Regards
Martin