[jboss-user] [JBoss jBPM] - process versioning + swimlane with pooledActors

yoyoyoyo do-not-reply at jboss.com
Wed Apr 4 16:39:36 EDT 2007


processdefinition.xml: 

Swimlane S1 with pooledActors="A1, A2"
Process Definition has 3 Tasks: T1, T2 and T3, all assigned to Swimlane S1

Problem:

step 1: 
A1 started a process instance, with T2 automatically in his pooledTasks list, which is the expected behaviour

step 2:
Process Definition changed (S1 changed to S1' with pooledActors="A2", i.e., A1 is not in S1 any more) and the process definition got new version (using JbpmContext.deployProcessDefinition()):

step 3:
A1 completes T2

Expected: T3 in A1's pooledTasks. Because the running process instance started by A1 was based on the old process definition, which means that A1 should be able to take a part in all the three tasks T1, T2 and T3.

But T3 is not in A1's pooledTask list.  In fact, T2 was already labeled with the new process definition version after step 2.

Question
It seems that the change in TaskMgmt takes effect immediately and influences the process instances started on old process definitions. Is this a bug or an intention?


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

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



More information about the jboss-user mailing list