[jboss-user] [jBPM Users] - Re: Variable missing in assignment handler

nizzy do-not-reply at jboss.com
Thu Dec 3 10:52:46 EST 2009


Hi,

I have successfully copied the super-process variables into the sub-process using the "variable" element in the process definition.

Chapter 18 Table 18.8 of the User Guide states

"variable - specifies how data should be copied from the super process to the sub process at the start and from the sub process to the super process upon completion of the sub process."

In the process state (sub-process) below, I have "em-ref" and "card-id" copied from super-process to sub-process with no problems. However I also took it to mean that "barcode-data" would be copied from sub-process back to super-process on sub-process completion. 

This is not the behaviour I'm experiencing!
 Have I misunderstood the spec?


  | 	<process-state name="Encode Barcode App">
  | 		<sub-process name="encodebarcodeapp"></sub-process>
  | 		<variable name="em-ref" access="read" />
  | 		<variable name="card-id" access="read" />
  | 		<variable name="barcode-data" access="read" />
  | 		<transition to="join1"></transition>
  | 	</process-state>
  | 

Any help appreciated!

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268816#4268816

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268816



More information about the jboss-user mailing list