[jboss-user] [jBPM] - how to execute the branch by order
stone crasy
do-not-reply at jboss.com
Tue Mar 20 23:31:51 EDT 2012
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/%E7%84%A1%E9%A1%8C.PNG 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?
--------------------------------------------------------------
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120320/0f2b652c/attachment.html
More information about the jboss-user
mailing list