cancel
Showing results for 
Search instead for 
Did you mean: 

Transaction engine

ascott42
Champ in-the-making
Champ in-the-making
Hello,

I have some questions about transaction engine (technical transaction and not business transaction).

If there is a process with many automatic tasks, is it possible to have a global technical transaction ? If yes, how it works ? The transaction is given to the next task ?

Thank you for your helps.

Alex
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi Alex,

When you define a global transaction and set the transaction manager on the Activiti Engine configuration, Activiti will run as part of the global transaction. So the Activiti database transaction will only be committed or rollbacked when the global transaction is committed or rollbacked. In the user guide you can find a description about transactions as well.

Best regards,

ascott42
Champ in-the-making
Champ in-the-making
Thanks for your help.

I think you are talking about ProcessEngineConfiguration bean and org.activiti.engine.impl.cfg.JtaProcessEngineConfiguration ?

jbarrez
Star Contributor
Star Contributor
Thats correct.