3 Replies Latest reply on Oct 9, 2006 7:16 AM by pedro costa

    how i know that fork has ended?

    pedro costa Apprentice

      In my application, i'm instantiating a processdefinition. Each time i do token.signal(), i save in the DB of Jbpm the processinstance and the token. So, when i instance the workflow to pass to the next state, i load the processinstance and token that has been saved.

      The process definition that i've is a sequence of states node with only one leaving transition. Now, i want to include a fork.

      1 - Maintaining the same way of functioning, how i know that my process definition finished all the children instances belonging to fork and is in the join? Is there a method for it?

      I hope that i've made myself clear. If not, please say it.