Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 9 Next »

As already mentioned in the chapter → onCore Execution Model the execution model of onCore is based on a sequential flow-of-control-model

Triggers and Events must be used to initiate the execution of Units. Therefore a Unit where the Execute Trigger is not wired will not do anything.

Unit Triggers

Triggers  are represented by grey, green and red triangles. They cannot be wired to anything else than their own kind.

Trigger TypeTrigger Description
Execute TriggerThis trigger gets fired by the execution flow and the Unit will be called to execute.
Success Trigger

Upon completion, this trigger will be automatically fired and the next Unit, which has its Execute Trigger wired to this Complete Trigger, will be executed next.

Fail TriggerIf something goes wrong while a Unit is being executed, the Fail Trigger will be fired instead of the Success Trigger.

Units may have several Complete Triggers, which can be used to branch to individual flows. These triggers, when wired together, precisely define the execution flow of the Workflow. As a consequence to the strictly controlled execution flow, it is not possible that an Execute Trigger of a Unit gets wired to more than one trigger or port.

Event Units

Event Units are used to trigger execution of an entire Workflow, or just a subset of a Workflow, or a Subworkflow. This is a very powerful concept, allowing Workflows to be triggered from any Workflow condition, but also – for example – from network events. The simplest example is the Trigger on Start event. 
Event TypeEvent Description
Trigger on StartSends a Trigger when the Workflow is started.
Trigger on StopSends a Trigger when the Workflow is stopped.
Trigger on TrueSends a Trigger when the Update Signal input is true.
Trigger TickSends a trigger based on a time interval. If the old-style method of regular execution is required, this Unit can be used.
  • No labels