AnsweredAssumed Answered

Configuring transaction manager for activiti process engine.

Question asked by susubhas on Feb 22, 2013
Latest reply on Mar 1, 2013 by jbarrez

In my application i have transactionManager already defined which is either JTA or Hibernate transaction manager depending on which server the app will be deployed on. I have configured SpringProcessEngineConfiguration to use this transactionManager, but activiti doesn't reuse existing transaction instead it creates new one for every action. For example if i am performing some action on my app in a transaction and as part of this action if there is some update to activiti engine, activiti is not using the existing transation, i am saying this because if the main action fails for some reason then even the activiti related update should be rolled back which i dont see happening.