[jboss-user] [jBPM] - Re: Creating Process Definition

Justin Lee do-not-reply at jboss.com
Wed Dec 8 13:31:12 EST 2010


Justin Lee [http://community.jboss.org/people/justin.l] created the discussion

"Re: Creating Process Definition"

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

--------------------------------------------------------------
Let's consider the below process definition xml file from User Guide. Based on this pre-deined transitions at fork, the single execution path is devided into three executions (correct me if i am wrong). What if i want to create n exeuctions at fork based on the user input. How can i achieve this?
Please guide me.

<process name="ConcurrencyGraphBased" xmlns=" http://jbpm.org/4.4/jpdl http://jbpm.org/4.4/jpdl">
   <start>
      <transition to="fork"/>
   </start>
   <fork name="fork">
      <transition to="send invoice" />
      <transition to="load truck"/>
      <transition to="print shipping documents" />
   </fork>
   <state name="send invoice" >
      <transition to="final join" />
   </state>
   <state name="load truck" >
      <transition to="shipping join" />
   </state>
   <state name="print shipping documents">
      <transition to="shipping join" />
   </state>
   <join name="shipping join" >
      <transition to="drive truck to destination" />
   </join>
   <state name="drive truck to destination" >
      <transition to="final join" />
   </state>
   <join name="final join" >
      <transition to="end"/>
   </join>
   <end name="end" />
</process>

Thanks!
--------------------------------------------------------------

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

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/20101208/163bb381/attachment.html 


More information about the jboss-user mailing list