Flow Scanner
The Flow Scanner tab runs a static quality analysis on the flow using the Lightning Flow Scanner rule engine and surfaces errors, warnings, and informational findings directly inside Brobench.
Overview
When you open the Flow Scanner tab, Brobench analyses the flow metadata against a set of best-practice rules and groups the results by rule. Each finding includes:
- Severity — Error, Warning, or Info
- Rule name — the specific best-practice check that triggered
- Details — the flow element(s) involved and a description of the violation
Severity Levels
| Severity | Meaning |
|---|---|
| Error | A serious problem that can cause runtime failures or governor limit issues |
| Warning | A potential issue or deviation from best practice that should be reviewed |
| Info | A suggestion or observation; not necessarily a problem |
Views
Toggle between two display modes using the view switcher in the toolbar:
| View | Description |
|---|---|
| Tree | Results grouped by rule, expandable to see individual violations |
| List | A flat list of all violations, useful for scanning or sorting |
Tips
- Expand a rule group in Tree view to see every element that triggered that rule.
- Errors should be resolved before activating a flow — they often indicate missing null checks, unconnected elements, or DML inside loops.
- Info findings are low priority but can highlight opportunities to simplify or optimise the flow.
- Re-open or refresh the tab after making changes in Flow Builder to re-run the analysis.