Jorge Ferreira [http://community.jboss.org/people/imjorge] replied to the 
discussion

"How to get a list of available transitions for an ActivityExecution"

To view the discussion, visit: http://community.jboss.org/message/549736#549736

--------------------------------------------------------------
I do not know if this can be achieved with the public API. If there is you 
SHOULD prefer that solution to the one that I present below.
> ActivityExecution execution = ...;
> ExecutionImpl executionImpl = (ExecutionImpl) execution;
> ActivityImpl activityImpl = executionImpl.getActivity();
> Map<String, Transition> transitions = 
> activityImpl.getOutgoingTransitionsMap(); // the leaving transitions, keyed 
> by transition name

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/549736#549736]

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

Reply via email to