Triggers

In addition to the triggers available for general use, Flogo supports triggers that are originally created in Project Flogo™. These triggers are marked with an OSS tag, enabling seamless import of apps created in Project Flogo.

If you are creating an app in Flogo, it is preferable to use the general-purpose triggers (the triggers that do not have an OSS tag on them) as they have richer functionality.

Refer to https://github.com/project-flogo/contrib for details on the triggers that are marked with an OSS tag.

Trigger configuration fields are grouped into Trigger Settings and Handler Settings. A single trigger can be associated with multiple handlers.

  • Trigger Settings - these settings are common to the trigger across all flows that use that trigger. When Trigger Settings are changed, the change applies to all flows that are attached to the trigger. A warning message is displayed asking you to confirm the changes before they are committed.
  • Handler Settings - these settings apply to a specific flow attached to the trigger. Hence, each flow can set its values for the Handler Settings fields in the trigger. To do so, open the flow and click on the trigger to open its configuration dialog box. Click the Settings tab and edit the fields in the Handler Settings section.

Note:

  • You cannot create a flow branch from a trigger.

  • You can create the trigger at the time of flow creation or create a blank flow to begin with and attach the flow to one or more triggers at a later time after the flow has been created. If you anticipate that you might need to attach the flow to multiple triggers, be sure to create a blank flow and attach it to the triggers as needed.

For triggers that have an output, the output from the trigger becomes the input to the flow. Likewise, the output from the flow becomes the reply from the trigger.