Triggers
In addition to the
Receive HTTP Message and
Timer Trigger available for general use,
Flogo supports triggers that were originally created in
Project Flogo. This allows for a seamless import of apps that were created in
Project Flogo. The
Project Flogo triggers are marked with the
OSS abbreviation on them.
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), since they are more robust in functionality.
Refer to
https://github.com/project-flogo/contrib for details on the activities 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. If and when a flow attached to the trigger changes any Trigger Settings field, the change gets propagated to all flows attached to the trigger. A warning message gets displayed saying so and asking you to confirm before the changes are committed.
- Handler Settings - these settings are applicable to a specific flow attached to the trigger. Hence, each flow can set its own 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. Click the Settings tab and edit the fields in the Handler Settings section.
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.