I think the best solution is to use the variable tag in your subprocess definition to
insert a variable in the sub process.
| <process-state name="SubProcess State">
| <sub-process name="SubProcess" />
| <variable name="variable1" access="read" />
| <transition to="A SuperProcess Node" />
| </process-state>
|
In the code above you take the variable named variable1 from the processInstance
(ContextInstance.getVariable) and insert it to the subprocess instance.
I hope it helps...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183205#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...