https://community.jboss.org/servlet/JiveServlet/downloadImage/2-725215-18236/310-234/%E7%84%A1%E9%A1%8C.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?