HuiSheng Xu [http://community.jboss.org/people/rebody] replied to the discussion
"In jbpm 4.3, how to get the incoming node name in the next node?" To view the discussion, visit: http://community.jboss.org/message/557784#557784 -------------------------------------------------------------- Hi Tun, You have to cast execution to ExecutionImpl. Then get the current activity of this execution. Something like this: ExecutionImpl executionImpl = (ExecutionImpl) execution; Activity activity = executionImpl.getActivity(); List<? extends Transition> incomingTransitions = activity.getIncomingTransitions(); for (Transition transition : incomingTransitions) { Activity incomingActivity = transition.getSource(); // here is the name of incomging activity } -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/557784#557784] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
