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&...]