Skip to content

A Salesforce App for static analysis and optimization of Flows. Scans metadata for 20+ issues such as hardcoded IDs, unsafe contexts, inefficient SOQL/DML operations, recursion risks, and missing fault handling. (unmanaged pkg)

License

Notifications You must be signed in to change notification settings

Flow-Scanner/lightning-flow-scanner-app

Repository files navigation

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

Demo

Installation

Deploy to Salesforce

Using the Flow Scanner

  1. 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.
  1. Scan a Flow:
  • To scan a flow, click the "Scan" button next to the flow you want to analyze.

Development

Development Flow

  1. 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>
  1. Install dependency

Install the Lightning Flow Scanner Component required for core functionality:

sfdx force:package:install --package 04tDn0000011NpvIAE --wait 10 -u <YourOrgAlias>
  1. Push Source to Your Org: Push the latest source to your og:
sfdx force:source:push
  1. 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.

About

A Salesforce App for static analysis and optimization of Flows. Scans metadata for 20+ issues such as hardcoded IDs, unsafe contexts, inefficient SOQL/DML operations, recursion risks, and missing fault handling. (unmanaged pkg)

Resources

License

Stars

Watchers

Forks