4 Replies Latest reply on Feb 21, 2007 10:33 AM by Ronald van Kuijk

    JBPM Fork Issues

    Imran Naqvi Newbie

      I was using the Fork node and had some questions about it:

      1- It appears that its necessary to name the outgoing transitions from a fork node. Is this true? when I didnt name them the token went to just the first transitions, proceeded to join and onwards.

      2- In my tests I havent been able to get concurrent processing after a fork. I looked at the code of Fork.java and in the execute method the leave on each of the transitions is called in a loop. So the effect of this is that first one path of execution is traversed till it reaches the join node and then the other. There isnt any concurrent processing. For concurrent processing the fork node should leave on each of its outgoing transitions in a new thread. I'm probably missing something basic here so please let me know.

      Thanks.