[jboss-user] [jBPM Users] - Re: Process Variables

sebastian.s do-not-reply at jboss.com
Tue Nov 24 08:52:57 EST 2009


Process instance variables are associated with an execution. So you need the executionId. Since you supplied the variables right at the start of the process they belong to the parent execution which id equals the processInstanceId (AFAIK). So you can retrieve the variables programmatically by using the processInstanceId.

Within a process definition you can use expressions to access process instance variables. For this refer to the user guide.

You can always add additional variables to the process. See the set-method for process instance variables for this.

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

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



More information about the jboss-user mailing list