[jboss-user] [jBPM] - Re: Get Activity Coordinates

Marcelo Zabalet do-not-reply at jboss.com
Thu Jan 10 13:04:42 EST 2013


Marcelo Zabalet [https://community.jboss.org/people/zabalet] created the discussion

"Re: Get Activity Coordinates"

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

--------------------------------------------------------------
Taht's because it logs the enter and the exit, so, usually, when a process instance ends, you end up with to registers per node. The NodeInstanceLog object has a type attribute. You could use it to determine if you are "in" the node or you just "passed" the node. If you have ENTER but not EXIT, you are in.

nodeInstanceLog.getType() == NodeInstanceLog.NodeInstanceLog.TYPE_ENTER

nodeInstanceLog.getType() == NodeInstanceLog.NodeInstanceLog.TYPE_EXIT

Hope this help.
--------------------------------------------------------------

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

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/20130110/809c75fb/attachment.html 


More information about the jboss-user mailing list