Step 7: Configure a Return Activity to display the status of the trigger

Adding a Return Activity

    Procedure
  1. Open the Activities palette. Go to the Default category and select the Return Activity from the group of Activities listed there. Drag this Activity from there to anywhere in the canvas. Drop a connection line between the LogMessage and the Return Activities.
  2. Click the Return Activity tile to open the configuration window. Configure the Return Activity 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 manually to assign a constant value to code as an HTTP success code.
    2. Select the message in the Flow Outputs column manually to 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.
Tip: Flow execution branch as a business logic can be more complex by using conditional branching, loops, and conditional mapping to run 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.