0 Replies Latest reply on Sep 13, 2012 4:42 AM by sariner marry

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

    sariner marry Newbie

      I do not like this way :

      https://community.jboss.org/people/bpmn2user/blog/2011/09/21/jbpm5-web-example#comment-8244

      QQ截图20120913162602.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!!!