AnsweredAssumed Answered

how can get process instance's task node  out transition

Question asked by ant1 on Jun 18, 2011
Latest reply on Sep 15, 2011 by jbarrez
ls there some API for get the process instance's an task node  out transition?
following list my step:
1. get the task by login user;
2. get the process instance id ;
3. use runtimeService to get the ProcessInstance by process instance id;
4. cast the ProcessInstance to ExecutionEntity;
5. call the getActivity() method to get PvmActivity;
6. call the getOutgoingTransitions() method to get the out transition;
but in the step 5 throw a nullpointException;

someone can tell me what's the problem in my step? or there is other way to get a task node's out transition?

thanks very much.

Outcomes