Skip to content
@Lightning-Flow-Scanner

Lightning-Flow-Scanner

🌐 Join our Collective Pursuit of Salesforce Flow Excellence!

"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.

  • ✨ Count on us for Transparent, Up-to-Date Assessments of Flows, Driven by Our Commitment to Open Source.
  • 🚀 Experience Empowerment at No Cost, Continuously Deepening Your Understanding of Flows.
  • 💡 Drive Innovation by Integrating Low-Code and Traditional Development Workflows.
  • 🤝 Empower All Voices to Shape the Standard of Flow Excellence Through Open Collaboration.
  • 🌱 Promote Excellence and Reduce Technical Debt for Resilient Solutions.

Explore our Flow Analysis Downloads/total in Various Forms 🔍

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

Furthermore, see 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 are the default rules included in 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.
Flow Naming Convention Establish a naming convention for better findability and consistency.
Hardcoded Id Remove hardcoded ID's to eliminate data dependencies.
Inactive Flow Delete unused flows to prevent unexpected behaviour.
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 default rules and the extensibility of the engine can be found in our Documentation.

Pinned Loading

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

    A Salesforce CLI Plugin designed to pinpoint deviations from Industry Best Practices in Salesforce Flows, ensuring standards of business automation excellence.

    TypeScript 112 12

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

    A VSCode Extension designed to pinpoint deviations from Industry Best Practices in Salesforce Flows, ensuring standards of business automation excellence.

    TypeScript 35 2

  3. lightning-flow-scanner-app lightning-flow-scanner-app Public

    A Salesforce App designed to pinpoint deviations from Industry Best Practices in Salesforce Flows, ensuring standards of business automation excellence.

    JavaScript 5 1

  4. 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 29 10

Repositories

Showing 7 of 7 repositories
  • lightning-flow-scanner-sfdx Public

    A Salesforce CLI Plugin designed to pinpoint deviations from Industry Best Practices in Salesforce Flows, ensuring standards of business automation excellence.

    Lightning-Flow-Scanner/lightning-flow-scanner-sfdx’s past year of commit activity
    TypeScript 112 AGPL-3.0 12 1 0 Updated Nov 16, 2024
  • lightning-flow-scanner-vsce Public

    A VSCode Extension designed to pinpoint deviations from Industry Best Practices in Salesforce Flows, ensuring standards of business automation excellence.

    Lightning-Flow-Scanner/lightning-flow-scanner-vsce’s past year of commit activity
    TypeScript 35 AGPL-3.0 2 3 0 Updated Nov 16, 2024
  • 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.

    Lightning-Flow-Scanner/lightning-flow-scanner-core’s past year of commit activity
    TypeScript 29 MIT 10 4 1 Updated Nov 16, 2024
  • Lightning-Flow-Scanner/lightning-flow-scanner-copado’s past year of commit activity
    JavaScript 2 AGPL-3.0 0 0 0 Updated Oct 3, 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.

    Lightning-Flow-Scanner/lightning-flow-scanner-example-flows’s past year of commit activity
    Apex 1 1 0 1 Updated Oct 3, 2024
  • lightning-flow-scanner-app Public

    A Salesforce App designed to pinpoint deviations from Industry Best Practices in Salesforce Flows, ensuring standards of business automation excellence.

    Lightning-Flow-Scanner/lightning-flow-scanner-app’s past year of commit activity
    JavaScript 5 1 1 0 Updated Jul 25, 2024
  • .github Public
    Lightning-Flow-Scanner/.github’s past year of commit activity
    0 0 0 0 Updated May 21, 2024

Most used topics

Loading…