AnsweredAssumed Answered

How transactions work in Activiti

Question asked by birju on Jul 11, 2014
Latest reply on Jul 14, 2014 by martin.grofcik
looking at someone legacy code.

If transaction is configured into a config file

      <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
        <property name="dataSource" ref="dataSource" />

And one of the APIs has following code

def insertUser(user:User) = {
  val user = identityService.newUser(


identityService.newUser and identityService.saveUser both will run into separate transactions right? This is a code bug if that's true. If so what's the best way to combine multiple acticiti calls into a single transaction?