Cristóvão Neto [http://community.jboss.org/people/netocris] created the discussion
"Re: Transition Join node" To view the discussion, visit: http://community.jboss.org/message/590608#590608 -------------------------------------------------------------- Hello! I have 3 questions about the ending of the fork/join process. I draw a simple process with a fork and a join node. My questions are related with the ending of the join. image 1. Start Fork http://community.jboss.org/servlet/JiveServlet/showImage/2-590608-11836/ForkStart.png http://community.jboss.org/servlet/JiveServlet/downloadImage/2-590608-11836/450-504/ForkStart.png image 2. First child forward to join http://community.jboss.org/servlet/JiveServlet/showImage/2-590608-11837/FirstChildForwardToJoin.png http://community.jboss.org/servlet/JiveServlet/downloadImage/2-590608-11837/450-508/FirstChildForwardToJoin.png image 2. Last child forward to join http://community.jboss.org/servlet/JiveServlet/showImage/2-590608-11838/LastChildForwardToJoin.png http://community.jboss.org/servlet/JiveServlet/downloadImage/2-590608-11838/450-511/LastChildForwardToJoin.png Question 1: All the tasks forward to the next task well. When i finish the TESTEFORK - task 2, the join node verifies that all the fork child are in the join and finished and advance to the next task, the TESTEFORK - task4. And the TESTEFORK - task4 is marked as the active task (Running). But the Join node continues marked as active (Running "to task 3"). Why? Should not me marked as ended/closed, and only the TESTEFOR - task4 as active? Question 2: If i choose the option "Não" in the TESTEFOR - task4, the process returns to TESTEFOR - task1, but the Join node continues marked as active and running. Is that a correct behavior, or anything that i'm missing? http://community.jboss.org/servlet/JiveServlet/showImage/2-590608-11839/newFork.png http://community.jboss.org/servlet/JiveServlet/downloadImage/2-590608-11839/450-503/newFork.png Question 3: When i advance to the fork for the second time, the number of child of the Fork node is incremented to 4. Is that a correct behavior, or anything that i'm missing? Number of tokens in the first time that the fork node is used. http://community.jboss.org/servlet/JiveServlet/showImage/2-590608-11840/ProcessTokens.png http://community.jboss.org/servlet/JiveServlet/downloadImage/2-590608-11840/450-110/ProcessTokens.png Number of tokens in the second time that the fork node is used. http://community.jboss.org/servlet/JiveServlet/showImage/2-590608-11841/ProcessTokens1.png http://community.jboss.org/servlet/JiveServlet/downloadImage/2-590608-11841/450-143/ProcessTokens1.png Sorry for my poor english!!! Cristóvão -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/590608#590608] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user