Debugging and testing flows before activation
Key Takeaway
Use the Debug option for all flow types except record-triggered and autolaunched flows, which use Test Mode. A debug run is a real run unless you select "Run flow in rollback mode".
You test a flow before you activate it to catch errors, check every path, and avoid unwanted data changes. Flow Builder gives you two tools, and the flow type decides which one you use. The Debug option runs the flow step by step. Test Mode (beta) lets you build, save, and rerun test scenarios for autolaunched and record-triggered flows.
Which tool to use for each flow type
| Flow type | Tool to use |
|---|---|
| All flow types except record-triggered and autolaunched flows | The Debug option in Flow Builder |
| Record-triggered and autolaunched flows | Test Mode (beta), instead of Debug |
| Data Cloud-triggered flows | Automated flow testing |