[jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity
rams.rapo
do-not-reply at jboss.com
Tue Oct 20 13:43:26 EDT 2009
Take a Look at GetOutcomes.java
| ExecutionImpl execution = (task != null ? task.getExecution() : null);
| ActivityImpl activity = (execution != null ? execution.getActivity() : null);
| List<Transition> outgoingTransitions = (activity != null ? activity.getOutgoingTransitions() : null);
|
| if (outgoingTransitions != null) {
| for (Transition transition : outgoingTransitions) {
| //transition.getName() is transition name (name on arrow)
| //transition.getDestination().getName() is final end node where
| }
| }
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261336#4261336
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261336
More information about the jboss-user
mailing list