3 Replies Latest reply on Mar 22, 2012 1:51 AM by stone crasy

    how to execute the branch by order

    stone crasy Newbie

      無題.PNG

      I want to execute the scriptTask by Site1,CDN,Site2 order.

      how to make it?

       

      my thought is judging the variable for every task like this:Site1(i == 1),CDN(i==2),Site2 (i==3)

      if( i == 1){

        System.out.println(i);

        i=i+1;

        kcontext.setVariable("i", i);

      }

      but,I find CDN's Task could not be executed.it just execute Site1. 

       

       

      So,can somebody help me,how to make it?