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.
Comments
Please sign in to leave a comment.