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.