Step 7: Configure a return activity to display the status of the trigger

Add a return activity

  1. To open the activity palette and add a return activity as the final activity of this flow, beside the LogMessage activity, click on the plus tab.
  2. Scroll to the Default category and select it. Click Return to add the activity. The Return activity configuration window opens by default.

  3. Configure the Returnactivity to produce the flow results.

    To configure the Return activity:

    1. Click code under Flow outputs to open the mapper and type 200 in the editor to manually assign a constant value to code as an HTTP success code
    2. Select the message in the Flow Outputs column to manually assign a constant value. Type 'Pass' which states the output of the flow result on successful execution.
    3. Click Save and then close the dialog box.
Tip: Flow execution branch: A business logic can be more complex by using conditional branching, loops, and conditional mapping to execute actions based on conditions.

For more information on flow execution branch settings, refer to conditional branching, loop on activity, and conditional mapping. After you design a flow, use the Flow Tester to test the flow.