[jboss-user] [jBPM] - Re: JBPM 5.4.0-Final: Human Task variable mapping is not working

Maciej Swiderski do-not-reply at jboss.com
Wed Jan 9 09:03:04 EST 2013


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: JBPM 5.4.0-Final: Human Task variable mapping is not working"

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

--------------------------------------------------------------
Vladimir, the issue with local task service that you could experience is when you have different instances of it used for creating the task (via LocalHTWorkItemHandler) and completing it. If they are two different instances their persistence context is not shared and thus when task is completed it sends an completed event to the engine which is received by LocalHTWorkItemHandler and it checks if the task is in state Completed - which in case of not shared persistence context it won't be and thus proceeding to abort work item instead of completing it.
So on the task service side everything is ok but engine gets outdated values so it proceeds but not in the way you expect.

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

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130109/4fce0d40/attachment.html 


More information about the jboss-user mailing list