5 Replies Latest reply on Nov 4, 2005 8:43 AM by Jerome BIABIANY

    script tag in

    Jerome BIABIANY Newbie

      After reading the Fork node source code, i've try to put a script tag in the fork tag.

      <fork name="AJob" >
       <variable name='a' access='read' />
       a = executionContext.getVariable("dynamicForkTransition");
      <transition name="trans10" to="nextStep1" />
      <transition name="trans11" to="nextStep2" />

      It works fine, and the fork continues its path following the order specified in the Collection 'a'.

      But when i try this trick with a process Definition from the Database it doesn't work anymore. The fork node is executed as if i'had no script tag.

      Is there a way to solve this ?

      Thank You