Skip to main content

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​

SeverityMeaning
ErrorA serious problem that can cause runtime failures or governor limit issues
WarningA potential issue or deviation from best practice that should be reviewed
InfoA suggestion or observation; not necessarily a problem

Views​

Toggle between two display modes using the view switcher in the toolbar:

ViewDescription
TreeResults grouped by rule, expandable to see individual violations
ListA 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.