AnsweredAssumed Answered

Transactions managed programmatically

Question asked by sergio13971 on Nov 20, 2013
Latest reply on Nov 22, 2013 by pmsevestre
Hello everyone, I'm novel in activiti and I wish to manage the execution of services's methods like TaskService (createAttachment(… , setVariables(… ) transactionally, e.g. I want to add some attachments, following execute setVariables(..), but if one of the attachments fail make a rollback of everything saved and discard the execution of setVariables(). It is possible manage this programmatically, starting with a begin() and commit() if everything is ok or rollback in case of failure?

Thanks in advance.

Sergio Mansilla V.
Chile.

Outcomes