-
1. Re: Why the JBPM task can't rollback ?
miniservice Apr 2, 2013 5:39 AM (in response to miniservice)Is anyone can help me for this ?
-
2. Re: Why the JBPM task can't rollback ?
calca Apr 2, 2013 4:34 PM (in response to miniservice)Are you using Local Task Service?
-
3. Re: Why the JBPM task can't rollback ?
miniservice Apr 3, 2013 9:00 AM (in response to calca)NO , i using the HQ ? Are you have any way to do this ?
-
4. Re: Why the JBPM task can't rollback ?
miniservice Apr 12, 2013 2:07 AM (in response to miniservice)Is anyone can help me ? Thank you very much !
-
5. Re: Why the JBPM task can't rollback ?
miniservice Apr 25, 2013 12:18 AM (in response to miniservice)is there anyway to do ?
-
6. Re: Why the JBPM task can't rollback ?
swiderski.maciej Apr 25, 2013 4:23 AM (in response to miniservice)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
-
7. Re: Why the JBPM task can't rollback ?
lqviwz Apr 26, 2013 2:19 AM (in response to miniservice)呃。。。回退操作,mark
-
8. Re: Why the JBPM task can't rollback ?
miniservice Apr 27, 2013 9:44 PM (in response to swiderski.maciej)could you give me some code for view?
-
9. Re: Why the JBPM task can't rollback ?
miniservice Apr 27, 2013 10:37 PM (in response to swiderski.maciej)but how to use the localTaskService in jbpm5.3 , because i found that , the "org.jbpm.process.workitem.wsht.LocalHTWorkItemHandler" class is not in the jbpm-5.3.0.Final distribution
-
10. Re: Why the JBPM task can't rollback ?
miniservice May 3, 2013 5:49 AM (in response to swiderski.maciej)Could you give me a code template with spring in tomcat for example ? Thank you very much !
-
11. Re: Why the JBPM task can't rollback ?
miniservice May 5, 2013 10:57 PM (in response to swiderski.maciej)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 !
-
SelfTaskService.java.zip 671 bytes
-
SelfRegisteringLocalHTHandler.java.zip 546 bytes
-
persistence.xml 3.1 KB
-
applicationContext_jbpm.xml 5.5 KB
-
-
12. Re: Why the JBPM task can't rollback ?
swiderski.maciej May 10, 2013 1:37 AM (in response to miniservice)check this very simple example on how to use local task service, might not be exactly what you need but just a starting point.
HTH