[jboss-user] [jBPM] - The external Trigger makes the transition from subprocess node to the next node while subprocess is active.

Felix Jose do-not-reply at jboss.com
Fri Jun 18 07:32:50 EDT 2010


Felix Jose [http://community.jboss.org/people/FelixKJose] created the discussion

"The external Trigger makes the transition from subprocess node to the next node while subprocess is active."

To view the discussion, visit: http://community.jboss.org/message/548693#548693

--------------------------------------------------------------
Hi All,

I was using the "*SubProcessDocument.jpdl.xml"* and "*SubProcessReview.jpdl.xml*" from the "examples\src\org\jbpm\examples\subprocess\outcomeactivity" given in the jbpm-4.3 examples. In my sample program I have done

*ProcessInstance processInstance =**+executionService+**+.startProcessInstanceByKey("SubProcessDocument");+*+** + *+assertNotNull(processInstance.findActiveExecutionIn("review"));+*** *+processInstance = executionService.signalExecutionById(processInstance.getId());+*

+*executionService*+

*.findProcessInstanceById(processInstance.getId());*+*assertNotNull(processInstance.findActiveExecutionIn(*+

+*"next step"));*+
** 
+So the transition is happend from *"review"* to *"next step"* instead of waiting for the output from the *SubProcessReview* subprocess.+

+Is this an expected result ?+
+or whether the main execution should not be able to transition from subprocess state to next state untill and unless the subprocess execution is completed?+




--------------------------------------------------------------

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

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/20100618/42e7c220/attachment.html 


More information about the jboss-user mailing list