stone crasy [
https://community.jboss.org/people/free] created the discussion
"how to execute the branch by order"
To view the discussion, visit:
https://community.jboss.org/message/725215#725215
--------------------------------------------------------------
https://community.jboss.org/servlet/JiveServlet/showImage/2-725215-18236/...
https://community.jboss.org/servlet/JiveServlet/downloadImage/2-725215-18...
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?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/725215#725215]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]