---
schema_version: "1"
id: b269dd6478e3cdb6bda93e6d8abd09513e8eac4139fc8548f238205ce64cfa6c
title: Automated Flow Testing Limits and Limitations
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_considerations_feature_testing.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_considerations_feature_testing.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c0eceb45f8707019cd365b09b2e4ce62208e3562ffe2a4742ef902796cd266c8
description: Understand the limits and limitations of automatically evaluated flow test scenarios, whether you test through Flow Builder's Test Mode or with a Data Cloud-triggered flow.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Automated Flow Testing Limits and Limitations

Understand the limits and limitations of automatically evaluated flow test scenarios, whether you test through Flow Builder's Test Mode or with a Data Cloud-triggered flow.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.flow_ref_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Flow Builder. Some Flow Builder features integrate with other Salesforce products that require additional licenses.">View supported editions.</a></td></tr></tbody></table>

## Limits

The maximum number of tests per flow is 200.

## Limitations

- Flow tests are available for record-triggered, autolaunched, and Data Cloud-triggered flows.
- Isolated test data is available for record-triggered and autolaunched flows.
- Automated flow test scenarios for autolaunched flows don't support Wait elements. Use mock outputs to test action elements and subflow elements, which simulate a live run.
- In Test Mode, Scenario Testing Automation is disabled for a record-triggered flow that triggers on record deletion. Those flows support only manually evaluated test scenarios.
- Automated flow test scenarios don't support flow paths that run asynchronously.
- Automated flow test scenarios count toward flow test coverage requirements. Manual test scenarios don’t.
- Apex tests aren’t included in flow test coverage calculation.
- Test Mode: Apex-defined variables aren't supported for autolaunched flow input values.
- Formulas aren't supported for setting test data. Use fixed values. For example, to verify that a date field equals the relative date `Today`, enter a fixed value. If you create and run the test scenario on August 3, 2022, the date field's value is set to August 3, 2022. If you run the same test scenario on a later day, the value remains August 3, 2022.

#### See Also

- [_Apex Developer Guide_: Using Test Setup Methods](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_testsetup_using.htm)
- [_Trailhead_: Create Flow Tests](https://trailhead.salesforce.com/content/learn/modules/flow-implementation-1/create-flow-tests?trail_id=distribute-and-implement-flows)
- [Troubleshooting Flow Run Time Errors](https://help.salesforce.com/s/articleView?id=platform.flow_troubleshoot_email.htm&release=264.0.0&type=5 "Learn how to troubleshoot and resolve flow errors and unexpected behavior in your flows that occur after activation. Interpret error emails, and use best practices to identify and resolve issues quickly.")