Manual Trigger

A Manual Trigger simply waits to be expedited by a call to Engine.expedite(). Once expedited, it fires. Manual triggers are useful for flow charts that must run only when specifically instructed by an unusual event or a person. The following code demonstrates the use of a Manual Trigger:

ManualTrigger manual = flowChart.makeManualTrigger();
 
ConsoleAction console = flowChart.makeConsoleAction();
 
manual.addFlow(console);
 
engine.put(flowChart);
 
engine.expedite();

You can also expedite flowcharts using the Flux Operations Console, or the Flux command line interface.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.