cancel
Showing results for 
Search instead for 
Did you mean: 

Transactions in Activiti

rohitagrawal
Champ on-the-rise
Champ on-the-rise
Hi,

How external transactions are handled in Activiti.
If there is any ongoing EJB transaction then will Activiti transaction participate in that. I know that Activiti has their own transaction management,if something fails in my transaction then will Activiti rollback it's transaction.

Please suggest how can we achieve this.

-Rohit
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi,

If you configure the Activiti Engine with your own JTA transaction manager (like described in the user guide) you can have it participate in an EJB transaction. So then, when your transaction fails, the Activiti transaction will be rolled back as well.

Best regards,