/** * leave this node over the given transition. This method is only available on * node actions. Not on actions that are executed on events. Actions on events * cannot change the flow of execution. */ public void leaveNode(String transitionName) { getNode().leave(this, transitionName); }
/** * leave this node over the given transition. This method is only available on * node actions. Not on actions that are executed on events. Actions on events * cannot change the flow of execution. */ public void leaveNode(String transitionName) { getNode().leave(this, transitionName); }
/** * leave this node over the given transition. This method is only available on * node actions. Not on actions that are executed on events. Actions on events * cannot change the flow of execution. */ public void leaveNode(Transition transition) { getNode().leave(this, transition); }
/** * leave this node over the default transition. This method is only available * on node actions. Not on actions that are executed on events. Actions on * events cannot change the flow of execution. */ public void leaveNode() { getNode().leave(this); }
/** * leave this node over the given transition. This method is only available on * node actions. Not on actions that are executed on events. Actions on events * cannot change the flow of execution. */ public void leaveNode(Transition transition) { getNode().leave(this, transition); }
/** * leave this node over the default transition. This method is only available * on node actions. Not on actions that are executed on events. Actions on * events cannot change the flow of execution. */ public void leaveNode() { getNode().leave(this); }
public String decide(ExecutionContext ctx) throws Exception { //get what we got from user String input = (String) ctx.getVariable(_INPUT_); Map transitions = ctx.getNode().getLeavingTransitionsMap(); if(transitions.get(input) == null) { return _END_; }else { return ""+input; } }
inputMap.put("executionContext", executionContext); inputMap.put("token", token); inputMap.put("node", executionContext.getNode()); inputMap.put("task", executionContext.getTask()); inputMap.put("taskInstance", executionContext.getTaskInstance());
inputMap.put("executionContext", executionContext); inputMap.put("token", token); inputMap.put("node", executionContext.getNode()); inputMap.put("task", executionContext.getTask()); inputMap.put("taskInstance", executionContext.getTaskInstance());