Skip to main content

Command Palette

Search for a command to run...

Product #21: Lightning Flow Scanner

Published
Product #21: Lightning Flow Scanner
M

I am a developer currently in Germany and a father to one. I share productivity apps for Salesforce implementations every week.

Try out these 5 star rated Salesforce browser extensions I built.

  1. Salesforce Dependent Picklist Matrix Export
  2. Salesforce Data/Metadata Utility
  3. Record and Metadata Comparator for Salesforce (Originally developed by Rajiv Bhatt)

If you have any suggestions for improvements or if you just want to tell me how much my project sucks, my email is manindersfdc@gmail.com.

You can support my work at https://www.buymeacoffee.com/maninders

**Name**: Lightning Flow Scanner **Usage**: Static code Analyser for Salesforce Flows SFDXPlugin #VSCodeExtension #FreeApp #OpenSource
**Description**: - The app is available as SFDX Plugin and VS Code Extension. - It scans Saleforce flows against specific rules to validate best practices. - Rules used for code analysis are: - DML statements in a loop - Duplicate DML operations - Hardcoded Ids - Missing flow description - Missing error handlers - Missing null handlers - Unconnected elements(fixable) - Unused variables(fixable) - Fixes issues (fixable in rule list) automatically. **Favourite** **Feature**: - Can be used in CI/CD processes using SFDX plugin to analyse flows just like apex classes before deployment. - Rules can be ignored or overwritten using .flowscanignore config file. **SFDX Plugin Repo**: `[lightning-flow-scanner-sfdx](https://github.com/Force-Config-Control/lightning-flow-scanner-sfdx)` ```` **VSCode Extension Repo**: `[lightning-flow-scanner-vsce](https://github.com/Force-Config-Control/lightning-flow-scanner-vsce)` **VSCode Extension**: `[Lightning Flow Scanner](https://marketplace.visualstudio.com/items?itemName=ForceConfigControl.lightningflowscanner&s=08)` **Rule Engine Used for both apps**: `[lightning-flow-scanner-core](https://github.com/Force-Config-Control/lightning-flow-scanner-core)`

Sample Salesforce Flow analysed by Lightning Flow Scanner app

Issues found by the app

Issues found by the app

Example of the hardcoded Ids used in the flow