]
Alejandro Guizar updated JBPM-642:
----------------------------------
Fix Version/s: jBPM 3.2.9
(was: jBPM 3.2.10)
Signaling RootToken on Fork Node
---------------------------------
Key: JBPM-642
URL:
https://jira.jboss.org/browse/JBPM-642
Project: jBPM
Issue Type: Feature Request
Components: Runtime Engine
Affects Versions: jBPM 3.2.9
Reporter: Enric Cecilla
Assignee: Alejandro Guizar
Fix For: jBPM 3.2.9
Attachments: mylyn-context.zip
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
Giving the following processdefinition:
*start->fork->a->join->end
->b ^
When RootToken is on Fork node trying to signal again the RootToken actually moves the
token to one branch state, then RootToken can be signalled til it is on the Join node. At
that moment it can be signalled again and it leaves the Join node.
pi.signal();
assertEquals( "fork", pi.getRootToken().getNode().getName() ); //true
pi.signal();
assertEquals( "b", pi.getRootToken().getNode().getName() ); //true
pi.signal();
assertEquals( "join", pi.getRootToken().getNode().getName() ); //true
Does it makes any sense being able to signal a RootToken on Fork node which has children
on every branch? From my point of view signalling on that condition should throw and
Exception. Only child tokens should be allowed to signal since "real" tasks are
on child tokens
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: