---
version: "2026.1.0"
language: "en"
---
# Pass

The Pass block is used to end an automation case run in the *passed* state. This block is essential to explicitly indicate that a flow has completed successfully.  
**Important** : Without a **Pass** or **Done** block in a flow, Leapwork will automatically mark the end result as a *Fail*. Always include one of these blocks to signal successful completion.

Need an example? See the [Introduction](https://www.leapwork.com/services/learning-center/introduction-virtual-automation-1) lesson.

Fully expanded, the **Pass** block shows the following properties:  
![image-20260129-122203.png](https://docs.leapwork.com/__attachments/a_7d75d7c7008a0b180a61ab0563498935e27efd250963cd86cd2c642fca727a5e/image-20260129-122203.png?cb=a06c63e95c9b066306abf6a371f95335)

**Note:** The screenshot on this page uses the **Elegance Design** , introduced in **2025.3**. If you are using an earlier version, your layout may look different.

## Quick-start

1. Drag **Pass** onto the canvas.

2. Connect the block to the end of your flow to finalize the case in the *Passed* state.

3. (Optional) Define a **Pass message** and add fields to include dynamic values.

4. Run the flow when it's ready.

## Building block parameters

Parameters  
1. **Pass message**: Define a message to be logged when the case passes. This can contain tokens for field values.

2. **Text fields** : Allow the use of external values in the pass message. Insert tokens by right-clicking in the *Pass message* field and selecting *Insert token*.

3. **Add field** : Add custom fields to be referenced as tokens in the *Pass message*.

## Resources

|                                                **Topic**                                                |                                                  **Description**                                                  |
|---------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
| [Flows FAQ](https://docs.leapwork.com/faq/latest/leapwork-flow-faq/flows-faq.md)                                                 | Common questions about creating, running, and managing flows in Leapwork.                                         |
| [Flows Troubleshooting](https://docs.leapwork.com/troubleshooting/latest/leapwork-flow-troubleshooting/flows-troubleshooting.md) | Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork. |