cancel
Showing results for 
Search instead for 
Did you mean: 

it is not rollback to the initial state when exception occurs in service task.

ms_arab
Champ in-the-making
Champ in-the-making
I have a example in activiti. in my case it is not rollback to the initial state when exception occurs in service task.
my diagram uploaded.
Do yo have any idea?
Please help me.
Thanx
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

what exactly is not rolled back? Can you prepare jUnit test?
https://forums.activiti.org/content/sticky-how-write-unit-test

Regards
Martin

warper
Star Contributor
Star Contributor
Hi, ms.arab!
In case of unhandled exceptions process rolls back to previous asynchronous point.
In your case it should roll back to UserTask1, since user tasks are always asynchronous.