A Visual Studio Code Extension designed to proactively enforce secure and maintainable Salesforce Flows. It detects unsafe running contexts, hardcoded IDs and URLs, overly broad field access, unhandled nulls, and inefficient database operations, helping teams ensure their automations are safe and re
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Use our side bar or the Command Palette and type Flow Scanner to see the list of all available commands.
Scan Flows allows choosing either a directory or a selection of flows to run the analysis against.
More information on the default rules can be found in the core documentation.
Fix Flows will apply available fixes automatically.
Open Documentation can be used to reference the documentation.
Command
Title
lightningflowscanner.openDocumentation
Open the documentation
lightningflowscanner.scanFlows
Scan Flows
lightningflowscanner.debugView
Debug Flow Scanner View
lightningflowscanner.fixFlows
Fix Flows
lightningflowscanner.configRules
Configurate Flow Rules
Configuration Options
Key
Description
Default Value
lightningFlowScanner.SpecifyFiles
Specify flow file paths instead of a root directory.
false
lightningFlowScanner.NamingConvention
Specify a REGEX expression to use as Flow Naming convention.
"[A-Za-z0-9]+_[A-Za-z0-9]+"
lightningFlowScanner.APIVersion
Specify an expression to validate the API version, i.e. '===50'(use at least 50).