[jboss-user] [JBoss jBPM] - fork, task instance variable and process variable

yxyang do-not-reply at jboss.com
Sun Aug 20 09:13:58 EDT 2006


Hi

I have one fork node to fork two task-nodes. For each task node, there is a variable controller to populate the task instance variable from the process variable. So, in database, there are three records, one is for process variable, the other two for task instance variables.

After the first task node's task end(), this end will submit the task instance variable to database and override the process variable. That is to say, after this step, two of the three records are the same. 

But the third which is the second forked task-node's task instance variable, has the original value of the process variable. 

Is this normal? For me, if the second task node's task-instance variable can be synchronized automatically with the original process variable, it works better. 

Is this a problem?  Of course, i can load the process variable and overwrite the second task instance variable if i want by programing....

yang





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

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



More information about the jboss-user mailing list