Skip to content
@Lightning-Flow-Scanner

Lightning-Flow-Scanner

🤝 Join our Collective Pursuit of Salesforce Flow Excellence!

🌐 As Seen On Salesforce codeLive

"Maintaining high-quality Salesforce Flows is critical for the success of your business applications. Lightning Flow Scanner is a powerful tool that can help you identify and address common issues in your Flows." - Mohith Shrivastava, Principal Developer Advocate at Salesforce.

🔧 We Support:

🔍 Extensible Flow Analysis Downloads/total

  • 💻 VSCode / Code Builder GitHub stars - Examine Flows directly within VSCode or the Salesforce Code Builder.
  • 🛠️ Salesforce CLI GitHub stars - Integrate Flow Analysis into Github Actions and your CI/CD pipelines.
  • 🚦 Copado Pipelines - Perform Flow Analysis as a quality gate within Copado.

➡️ Try and Connect:

Furthermore, explore our:

  • 📂 Demo Flows: Explore practical examples of violations and their resolutions.
  • 🏛️ Forum: Ask questions and share insights on everything related to Flows.
  • 💬 Chat Room: Connect & engage in real-time.

Extensible Flow Analysis:

The following types of violations are detected by our analysis:

Rule Description
Auto Layout Elements are spaced, connected, and aligned automatically in Auto Layout Mode.
Copy API Name Update API names when copying elements to maintain readability.
DML Statement In A Loop Consolidate database operations to prevent exceeding governor limits.
Duplicate DML Operation Prevent duplicate database operations between screens.
Hardcoded Id Remove hardcoded ID's to eliminate data dependencies.
Flow Naming Convention Establish a naming convention for better findability and consistency.
Missing Flow Description Include descriptions to document flow usage and purpose.
Missing Fault Path Customize error handling with a Fault Path to handle flow failures.
Missing Null Handler Validate data by checking for non-null results in Get Records operations.
Outdated API Version Regularly update API versions to avoid discrepancies and ensure compatibility.
Process Builder Migrate your organization's automation to Flow.
SOQL Query In A Loop Consolidate SOQL queries to avoid governor limit issues.
Unconnected Element Avoid unconnected elements to maintain flow efficiency.
Unused Variable Remove unused variables for better flow manageability.

Additional information on the rules and engine can be found in our Core Documentation.

Pinned

  1. lightning-flow-scanner-sfdx lightning-flow-scanner-sfdx Public

    A Salesforce CLI Plugin that can perform static analysis on Salesforce Flows and identify violations of industry best practices.

    TypeScript 102 8

  2. lightning-flow-scanner-vsce lightning-flow-scanner-vsce Public

    A VSCode Extension that can perform static analysis on Salesforce Flows and identify violations of industry best practices.

    TypeScript 29 1

  3. lightning-flow-scanner-core lightning-flow-scanner-core Public

    A rule engine capable of conducting static analysis on the metadata associated with Salesforce Lightning Flows, Process Builders, and Workflows.

    TypeScript 17 6

Repositories

Showing 5 of 5 repositories
  • lightning-flow-scanner-core Public

    A rule engine capable of conducting static analysis on the metadata associated with Salesforce Lightning Flows, Process Builders, and Workflows.

    TypeScript 17 AGPL-3.0 6 3 1 Updated Apr 17, 2024
  • lightning-flow-scanner-vsce Public

    A VSCode Extension that can perform static analysis on Salesforce Flows and identify violations of industry best practices.

    TypeScript 29 AGPL-3.0 1 0 0 Updated Apr 16, 2024
  • lightning-flow-scanner-sfdx Public

    A Salesforce CLI Plugin that can perform static analysis on Salesforce Flows and identify violations of industry best practices.

    TypeScript 102 AGPL-3.0 8 0 0 Updated Apr 16, 2024
  • .github Public
    0 0 0 0 Updated Apr 14, 2024
  • lightning-flow-scanner-example-flows Public

    Explore, learn, and enhance your Salesforce Flow scanning capabilities with our curated test data and sample flows that showcase various types of violations, as well as demonstrate how to resolve them.

    Apex 1 0 0 1 Updated Apr 11, 2024

Top languages

Loading…

Most used topics

Loading…