0 Replies Latest reply on Jan 22, 2013 10:18 AM by hczjb zhang

    how to get next steps in jbpm5.2

    hczjb zhang Newbie

      hi :

      i have a problem


         in jbpm3.2, we can get next transitions like:


                JbpmContext context = getContext();

                  ProcessInstance instance = context.getProcessInstance(processInstanceId);

                  List nextSteps = instance.getRootToken().getNode().getLeavingTransitions();


      but i don't know how to get the next transitions in jbpm5.2, if anyone knows, please tell me, thanks in advance.