[jboss-user] [jBPM] - Re: Is it possible to get the StatefulKnowledgeSession/processInstance from solely its ID?

Maciej Swiderski do-not-reply at jboss.com
Sat Aug 4 07:52:24 EDT 2012


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

"Re: Is it possible to get the StatefulKnowledgeSession/processInstance from solely its ID?"

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

--------------------------------------------------------------
First question - do you use persistence for your processes? If so and they share same data store (data base) you should be able to signal process instance just using signalEvent method on the session as that should be capable of finding all process instances waiting for that event (defined by type). If you don't use persistence then you must have to get access to actual session instance that holds the process instance as it only lives in that session (memory).

Would be perfect to get a test case that reproduces that or at least more information about the exception (stack trace, etc).

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

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

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/20120804/16392d54/attachment.html 


More information about the jboss-user mailing list