SOURCECODE |
How to... create a Transition that just changes to a Gate
Description:
During a running Process it may be volitional to change just to a Gate. This could be a not user interactive Gate, which has no Transition leading to it. It could be also an already prepared UIGate, to which you want to change after a "Back"-Button, when it should be not refreshed by the Transition. This might be the case, when the user interaction should be not erased.
(See also: HowTo..select a Transition that changes to a special Gate )
ToDo's:
Use constructor of class GateChangeTransition:
Transition t = new GateChangeTransition(Gate gTarget);
Uses:
GateChangeTransition
// ...
Gate myGate2 =
new Gate()
{
public Transition getNextTransition(SaleProcess pOwner, User usr)
throws InterruptedException
{
return new GateChangeTransition(decisionGate);
}
};
// ...