Scans for unsafe contexts, hardcoded IDs, and other issues to optimize your Flows.

- Open the App Launcher:
- Click on the App Launcher icon in the top-left corner of your Salesforce interface.
- Search for "Flow Scanner" in the App Launcher search bar.
- Click on the "Flow Scanner" app to open it.
- Scan a Flow:
- To scan a flow, click the "Scan" button next to the flow you want to analyze.
- Authorize Your Salesforce Org: Authorize your Salesforce org to set up a connection between your local development environment and the Salesforce org:
sfdx force:auth:web:login -d -a <YourOrgAlias>
- Install dependency
Install the Lightning Flow Scanner Component required for core functionality:
sfdx force:package:install --package 04tDn0000011NpvIAE --wait 10 -u <YourOrgAlias>
- Push Source to Your Org: Push the latest source to your og:
sfdx force:source:push
- Pull Source from Your Org:
sfdx force:source:pull
If you'd like to help us enhance Flow Scanner, please consider having a look at the Contributing Guidelines.