Skip to content

A Salesforce App for analysis and optimization of Salesforce Flow. 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

Features

Lightning Flow Scanner App integrates the Lightning Flow Scanner as a UMD module within Salesforce, enabling scanning of flow metadata. The app runs predefined rules and presents detailed scan results for flows, including violation details, severity levels, and relevant flow metadata.

Installation

Deploy to Salesforce

Usage

  1. Assign the LFSApp permission set, to any user that requires access to the flow scanning abilities.
  2. Open the App:
    • 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.
  3. To scan a flow, click the "Scan" button in the Flow Overview.

Development

  1. Clone this repository:
git clone https://github.com/Flow-Scanner/lightning-flow-scanner-app.git
  1. Authorize your Salesforce org to set up a connection with your local development environment:
sf login web --set-default --alias <YourOrgAlias>
  1. Push Source to Your Org:
sf project:deploy:start
  1. Pull Modifications from Your Org:
sf project sync

Want to help improve Lightning Flow Scanner? See our Contributing Guidelines.

About

A Salesforce App for analysis and optimization of Salesforce Flow. 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