[jboss-user] [jBPM] - Re: A question on the external event using event Correlation
byungwoojun
do-not-reply at jboss.com
Sun May 8 17:57:44 EDT 2011
byungwoojun [http://community.jboss.org/people/byungwoojun] created the discussion
"Re: A question on the external event using event Correlation"
To view the discussion, visit: http://community.jboss.org/message/604072#604072
--------------------------------------------------------------
OK, it looks like I self-answered my question above.
Now, I understand why Krisv V. said that use kession.signalEvent for the external aync event.
So, I used
ksession.signalEvent(eventType, eventData); // without the top-level restoredProcessInstanceId.
Then, the jBPM 5 automatically finds the corresponding sub-process with the intermediate message event.
It worked as long as I don't share the ksession with another top-level bpmn process.
bwj.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/604072#604072]
Start a new discussion in jBPM at Community
[http://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/20110508/60632c77/attachment-0001.html
More information about the jboss-user
mailing list