1 Reply Latest reply: May 29, 2012 1:15 AM by Maciej Swiderski RSS

How to rollback all the transaction if failed to persiste newly created work items

richie hao Newbie

Hi all,

 

I encounter a problem about the transaction in jbpm. When complete a work item, it will signal an event 'workItemCompleted' then create and execute new work item, and after that, need to persiste newly created work item, but failed, and I found that the previous completed work item cannot be rollback, so the process instance become dead, could somebody tell me how to rollback it?

 

Thanks