[jboss-jira] [JBoss JIRA] Commented: (JBPM-288) Fork/Join and child token deactivation

Britt Miner (JIRA) jira-events at jboss.com
Thu Sep 21 11:06:01 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBPM-288?page=comments#action_12343762 ] 
            
Britt Miner commented on JBPM-288:
----------------------------------

For anyone experiencing this problem, I've posted a work-around here http://wiki.jboss.org/wiki/Wiki.jsp?page=Jbpm_EndForkedTokensAH.

> Fork/Join and child token deactivation
> --------------------------------------
>
>                 Key: JBPM-288
>                 URL: http://jira.jboss.com/jira/browse/JBPM-288
>             Project: JBoss jBPM
>          Issue Type: Bug
>          Components: Core Engine
>    Affects Versions: jBPM 3.0
>         Environment: Any
>            Reporter: Lukasz Czekierda
>         Assigned To: Tom Baeyens
>         Attachments: processdefinition.xml, SimpleProcessTest.java
>
>
> Join implementation has incorrectly/no implemented activation of finished child tokens. They remain active till the end of the whole process.  Example from junit test (Wfp03SynchronizationTest.testSynchronizationFirstTokenFirst) works perfectly as long as is unmodified. After adding a few bottom lines and changing a transition in join I get my error. Token.end is called on children and the root token in the LAST state, when finishing the entire process. When in stateX or stateY, the process still reports two active child tokens. 
>  --- 
> "<process-definition>" + 
> " <start-state name='start'>" + 
> " <transition to='fork' />" + 
> " </start-state>" + 
> " <fork name='fork'>" + 
> " <transition name='first' to='one' />" + 
> " <transition name='second' to='two' />" + 
> " </fork>" + 
> " <state name='one'>" + 
> " <transition to='join' />" + 
> " </state>" + 
> " <state name='two'>" + 
> " <transition to='join' />" + 
> " </state>" + 
> " <join name='join'>" + 
> " <transition to='stateX' />" + 
> " </join>" + 
> " <state name='stateX'>" + 
> " <transition to='stateY' />" + 
> " </state>" + 
> " <state name='stateY'>" + 
> " <transition to='end' />" + 
> " </state>" +
> " <end-state name='end' />" + 
> "</process-definition>" 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list