cancel
Showing results for 
Search instead for 
Did you mean: 

Transactions with the service tasks

luca_stancapia1
Champ in-the-making
Champ in-the-making
Hi all….can I configure two synchronous services task using different transactions? I see as default all synchronous tasks work on the same transaction except for the user tasks.
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
Yes, make the second service task asynchronous.

luca_stancapia1
Champ in-the-making
Champ in-the-making
Thanks Joram, my question is deeper. I would understand why two 'synchronous' service tasks cannot work on different transactions. Is it only  an architectural decision or there is something logically wrong?

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

Could TransactionSubprocess help you?
(http://www.activiti.org/userguide/#bpmnTransactionSubprocess)

Regards
Martin