[jboss-user] [jBPM] - Subprocess wait state signal handling not working from parent process (jBPM 4.3)
Maciej Swiderski
do-not-reply at jboss.com
Wed May 26 14:37:05 EDT 2010
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied to the discussion
"Subprocess wait state signal handling not working from parent process (jBPM 4.3)"
To view the discussion, visit: http://community.jboss.org/message/544933#544933
--------------------------------------------------------------
Hi,
In general, you need to signal sub process execution using its id instead of signaling main process. Unfortunately there is no API way to get hold of sub process instance but you can do this casting to ExecutionImpl:
((ExecutionImpl)processInstance).getSubProcessInstance()
Then use this process instance when signaling. You can find working example in attachment.
BTW, next time please attach your complete process definition with all custom classes (for custom activity, event listeners, etc) and a test case. Will make it easier and faster for others to look into your case.
P.S.
Will create issue in jira to provide a way to get hold of sub process instance.
HTH
Maciej
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/544933#544933]
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/20100526/1c809971/attachment-0001.html
More information about the jboss-user
mailing list