JBoss Community

how to get next steps in jbpm5.2

created by hczjb zhang in jBPM - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in jBPM at Community