Kris Verlaenen [https://community.jboss.org/people/KrisVerlaenen] created the 
discussion

"Re: How to get current node instance in a workitem handler?"

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

--------------------------------------------------------------
John,

Your idea of just setting the ksession when creating the handler is indeed what 
we recommend (and also do ourselves in some handlers).  Note that this ksession 
is the same session as the one that creates the process instance, but the 
object that you retrieve (when using persistence) is actually a wrapper around 
the internal session.  That should however just delegate to the internal 
session.

Did you have any issues when setting the ksession like this, and if so, could 
you provide some more detail?

Thx,
Kris
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to