[jboss-user] [jBPM] - In my jbpm5.2 project, I use gateway to decide which next taskNode that the process will go

xiaoxiao long do-not-reply at jboss.com
Thu Sep 13 04:28:11 EDT 2012


xiaoxiao long [https://community.jboss.org/people/mimi_2012] created the discussion

"In my jbpm5.2 project,I use gateway to decide which next taskNode that the process will go"

To view the discussion, visit: https://community.jboss.org/message/759357#759357

--------------------------------------------------------------
I do not like this way :
 https://community.jboss.org/servlet/JiveServlet/showImage/2-759357-19464/QQ%E6%88%AA%E5%9B%BE20120913162602.jpg  https://community.jboss.org/servlet/JiveServlet/downloadImage/2-759357-19464/450-260/QQ%E6%88%AA%E5%9B%BE20120913162602.jpg 

int qnt = java.lang.Integer.parseInt(quantity);
if ( qnt > 1000)
 isAvailable = false;
else
 isAvailable = true;
 kcontext.setVariable("isAvailable",isAvailable);
System.out.println("***After process order HT, Quantity: " +qnt +" isAvailable condition: " +isAvailable);

because the customers want  the project could achive the function to allow them to  decide which next taskNode that the process will go,In the User Interface,I will supply the options(show the next tasknodes) to user to choose,how can i  achive, *I need the code,*forgive my poor english,thanks!!!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/759357#759357]

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/20120913/f9b84b72/attachment.html 


More information about the jboss-user mailing list