AnsweredAssumed Answered

Data consistency in another database.

Question asked by manas.. on Apr 30, 2013
Latest reply on May 1, 2013 by ronald.van.kuijk

Im new in Activiti and I still solve one problem. When I using classic BPMn process with some Service Task, and got an error, intern mechanism make rollback in the last persistence state. But my examle: Process is start, User Task, Service Task, Service Task, end. I completed User Task. In first Service Task i change some data in another MySQL database, create commit. In second Service Task i get some error. Activiti make rollback in User Task, but data in another MySQL database is in inconsistence state.

This problem is maybe solved in some easy way. For example via some aplication server transaction? (JBoss, GlassFish)..? Or some Activiti mechanism?

Thank you.