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">
<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!