JBoss Community

Re: Why the JBPM task can't rollback ?

created by pichunhan pi in jBPM - View the full discussion

Hi Maciej

Maciej Swiderski 编写:

 

if you use remote task service they will not be handled as part of single transaction and thus when rollback happens on the engine side task is already committed. If you need to have them running within single transaction you need to use localTaskService as Demian mentioned. That way all work will be rolled back properly.

 

HTH

Thank you to help me solve this problem, because the problem has been bothering me for months, in order to timely solve the problem in my project, could you give me more suggestions?

 

Here are my XML config .

 

Thank you very much !

Reply to this message by going to Community

Start a new discussion in jBPM at Community