---
title: "Flow Step Trigger (After, Before, Error) Flow Behavior"
slug: "flow-step-trigger-after-before-error-flow-behavior"
tags: ["Debugging", "Trigger Types"]
updated: 2025-06-20T16:43:50Z
published: 2025-06-20T16:43:50Z
canonical: "documentation.decisions.com/flow-step-trigger-after-before-error-flow-behavior"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Flow Step Trigger (After, Before, Error) Flow Behavior

## Overview

The following document demonstrates how to use **Flow Step Trigger** Flow Behavior. This Flow Behavior is commonly used for Flow Debugging purposes. A Flow is created using one of these behaviors (**After, Before, or Error**) and applied to specified steps in another Flow.

Flow Step Trigger can be triggered Before/After step execution or if the step throws an Error.The following example walks through the process of creating a Step Trigger Flow that is applied to a step in a different Flow.

---

## Example

1. From a **Designer** **Project**, select CREATE FLOW from the **Global Action Bar.**
2. Select **Flow**, provide a **Name**, and click CREATE.
3. Connect the **Start** step to the **End** step.
4. Navigate to the **Properties** tab on the right; under SETTINGS **> Behavior Type**, select **Flow Step Trigger (After)**. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-20_12h32_14.png)
5. From the FAVORITE STEPS category of the **Toolbox** tab, add a **Log** Step between the Start and End steps.
6. Select the Log Step to navigate to **Properties >** **Setup Log** **> Type**, select **Warning** from the dropdown, then change the **Category** to "Step Trigger".![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-20_12h33_28.png)
  1. Under INPUTS **> Value**, click SHOW EDITOR. Configure the Merge Text Editor value by combining test input with **Data** in the tree on the left. Then, click SAVE. Configure the Value as:  
  

**[StepRunData.StepName]** Data

Input Values **[****StepRunData.InputValuesData]**

Output Values **[S****tepRunData.OutputValuesData]**

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-20_12h34_49.png)
7. **Save** the Flow, then close via the **X** at the top right.
8. From the Designer Project, CREATE another Flow.
9. From the **Flow** **Designer**, attach a **Create** **Data** step from Toolbox > FAVORITE STEPS, to the Start and End steps.
10. Navigate to the Create Data step's Properties; under DATA **> Data To Create**, click SHOW EDITOR.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2024-08-09_13h27_16.png)
11. Define a **String [Text]** type with Name "Test". Then, **Constant** map the **Input** as "DemoTest." Click CLOSE.
12. Still from the Create Data step's Properties, expand TESTING AND SIMULATION, then expand **Triggers**.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-20_12h37_16.png)
13. Under **Triggers >** After Trigger Type, select **RunFlow** from the dropdown. Using the Store option in the Before/After/Error dropdown list saves the step execution details.
14. PICK the Trigger Flow that was created earlier in the example.
15. Save and close the Flow.

---

## Debug

1. From the **Designer** **Project**, right-click the **Main** **Flow** that has the **Flow** **Trigger** assigned to it.
2. Click **Run**. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-20_12h38_56.png)
3. Navigate to **System > Administration > System Tools > Logging**.
4. Select the line item that corresponds to the Flow Step Trigger Flow to view the full **Log** **Message**. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2024-08-14_10h45_13.png)
