3 Replies Latest reply on Feb 1, 2007 5:25 AM by shawn cao

    How to repeat node execution N times after fail?

    Eugene Prokopiev Newbie


      Suppose, I have this node:

      <node name="create account">
       <action class="org.jbpm.tutorial.mytest.CreateContract"/>
       <transition to="next"/>

      What is the right way to repeat org.jbpm.tutorial.mytest.CreateContract execution N times after fail?

      I see only this way: implementing descision node after node described above and select transition by reading context variable written by described node. But this way is ugly, because every node in my workflow must be repeated on fail.

      Is there another way?