Maciej Swiderski [
http://community.jboss.org/people/swiderski.maciej] replied to the
discussion
"jBPM get outgoing Transition names"
To view the discussion, visit:
http://community.jboss.org/message/533913#533913
--------------------------------------------------------------
Hi,
so to get active node(s) you can use your execution instance:
execution.getActiveActivityNames()
This will return all active nodes for your execution or null if none is active.
Next, you can iterate over this and get each active node execution by using execution
instance again:
execution.findActiveExecutionIn(activityName)
That will return new execution object.
Here starts not so nice usage.... you can cat that execution to ExecutionImpl and then you
could access getActivity method and then getOutgoingTransitions...
I heard that there are issues in jira to get such functionality as part of public API so
you could go through jira to check it out.
Please take a look at java docs for more details.
HTH
Maciej
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/533913#533913]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]