So, we're taking Activiti for a test ride…
We need a way in our web app to present a list of outgoing transitions from whatever task they are on…
Digging around the docs didn't really shed any light.
So….stumbled onto this in my testing.
Is this a reasonable/correct way to go about this?
Seems like there should be a better way…
ProcessInstance instanceA = runtimeService.startProcessInstanceByKey("K12-Workflow-Master", map);
ExecutionEntity entity = (ExecutionEntity)instanceA;
List<PvmTransition> transitions = entity.getActivity().getOutgoingTransitions();
Thanks for any advice!