Discussion:
[jboss-user] [jBPM] - Re: Why the JBPM task can't rollback ?
pichunhan pi
2013-04-12 06:07:34 UTC
Permalink
pichunhan pi [https://community.jboss.org/people/miniservice] created the discussion

"Re: Why the JBPM task can't rollback ?"

To view the discussion, visit: https://community.jboss.org/message/807931#807931

--------------------------------------------------------------
Is anyone can help me ? Thank you very much !
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/807931#807931]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
pichunhan pi
2013-04-25 04:18:14 UTC
Permalink
pichunhan pi [https://community.jboss.org/people/miniservice] created the discussion

"Re: Why the JBPM task can't rollback ?"

To view the discussion, visit: https://community.jboss.org/message/810177#810177

--------------------------------------------------------------
is there anyway to do ?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/810177#810177]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-04-25 08:23:15 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Why the JBPM task can't rollback ?"

To view the discussion, visit: https://community.jboss.org/message/810231#810231

--------------------------------------------------------------
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
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/810231#810231]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
pichunhan pi
2013-04-28 01:45:01 UTC
Permalink
pichunhan pi [https://community.jboss.org/people/miniservice] created the discussion

"Re: Why the JBPM task can't rollback ?"

To view the discussion, visit: https://community.jboss.org/message/810673#810673

--------------------------------------------------------------
could you give me some code for view?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/810673#810673]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
pichunhan pi
2013-04-28 02:37:43 UTC
Permalink
pichunhan pi [https://community.jboss.org/people/miniservice] created the discussion

"Re: Why the JBPM task can't rollback ?"

To view the discussion, visit: https://community.jboss.org/message/810674#810674

--------------------------------------------------------------
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
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/810674#810674]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
pichunhan pi
2013-05-03 09:49:05 UTC
Permalink
pichunhan pi [https://community.jboss.org/people/miniservice] created the discussion

"Re: Why the JBPM task can't rollback ?"

To view the discussion, visit: https://community.jboss.org/message/811382#811382

--------------------------------------------------------------
Could you give me a code template with spring in tomcat for example ? Thank you very much !
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/811382#811382]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
pichunhan pi
2013-05-06 02:57:58 UTC
Permalink
pichunhan pi [https://community.jboss.org/people/miniservice] created the discussion

"Re: Why the JBPM task can't rollback ?"

To view the discussion, visit: https://community.jboss.org/message/816127#816127

--------------------------------------------------------------
Hi https://community.jboss.org/people/swiderski.maciej Maciej
Post by 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
[https://community.jboss.org/message/816127#816127]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-05-10 05:37:25 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Why the JBPM task can't rollback ?"

To view the discussion, visit: https://community.jboss.org/message/817101#817101

--------------------------------------------------------------
check https://github.com/mswiderski/jbpm-examples/tree/master/jbpm-spring-web this very simple example on how to use local task service, might not be exactly what you need but just a starting point.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/817101#817101]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
lqviwz
2013-04-26 06:19:56 UTC
Permalink
lqviwz [https://community.jboss.org/people/lqviwz] created the discussion

"Re: Why the JBPM task can't rollback ?"

To view the discussion, visit: https://community.jboss.org/message/810441#810441

--------------------------------------------------------------
呃。。。回退操䜜mark
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/810441#810441]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...