So is the conclusion that we should have a getOucomes like this:
public List<String> getOutcomes() {
| List<String> outcomes = new ArrayList<String>();
| for (TransitionImpl transition: execution.getActivity().getOutgoingTransitions()) {
| outcomes.add(transition.getName());
| }
| return outcomes;
| }
|
and then
task.complete() always takes the default transition (the first in our case (maybe we could
add an attribute to indicate the default transition))
task.complete(String outcome) just takes the transition with the given outcome name.
(that might even be null if there is one single unnamed transition)
does that describe the consensus ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241828#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...