[jboss-user] [jBPM] - Re: obsolete id

Esteban Aliverti do-not-reply at jboss.com
Wed Sep 7 08:17:39 EDT 2011

Esteban Aliverti [http://community.jboss.org/people/eaa] created the discussion

"Re: obsolete id"

To view the discussion, visit: http://community.jboss.org/message/625271#625271

It is not automatic. You have to use workItemManager.completeWorkItem(...);

But, regarding to the work item Id, what you get when you do wi.getId() is something like a runtime id. Is an id that is only valid for the pocess instance where the work item handler got invoked. It has nothing to do with the id attribute of the Task node in your bpmn2 file.
AFAIK, there is no way to know that information inside a work item handler. I think you may need to preprocess this before the node and pass it as a parameter.

Best Regards,

Reply to this message by going to Community

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list