Attaching a Flow to One or More Existing Trigger

If you had created a blank flow without attaching it to a trigger, you can attach it to an existing trigger that is being used by another flow in the same app.

A flow that was created without being attached to a trigger has its input and output parameters defined in the Flow Inputs & Outputs tab that you can access by clicking the blue bar with the same label. You must map the input parameters defined in the Input tab of this dialog to the trigger output parameters. This mapping must be done in the trigger. The mapping creates a contract between the trigger and the flow and is mandatory for the flow and the trigger to interact with each other.

Procedure

  1. You can use one of these methods to attach the flow to a trigger:
    • From the app details page:
      1. Open the app details page by clicking on the app.
      2. Hover over No trigger, then click Add trigger.
    • From the flow details page:
      1. Open the flow details page by clicking on the flow on the app details page.
      2. Click the the Add a new trigger icon ().
  2. Click Select Existing and then click the trigger you want to use in the right pane.
  3. For REST and GraphQL triggers, you will be prompted to enter additional handler setting details. Refer to the "REST Trigger" section in the TIBCO Flogo® Activities and Triggers Guide. Refer to the "GraphQL Trigger" section in the TIBCO Flogo® Activities and Triggers Guide.
    After you select Copy Schema or Just add a trgger, the flow details page opens displaying the trigger icon on the top left corner.
  4. Click the trigger icon to configure the trigger as needed. For REST and GraphQL triggers, be sure to map the trigger outputs to flow inputs and the flow outputs to the trigger reply.
  5. Optionally, attach the flow to additional triggers by clicking the icon and following the steps above.