JBoss Community

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

created by xiaoxiao long in jBPM - View the full discussion

I do not like this way :

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

Start a new discussion in jBPM at Community