Lightning-Flow-Scanner / lightning-flow-scanner-core

A rule engine capable of conducting static analysis on the metadata associated with Salesforce Lightning Flows, Process Builders, and Workflows.
https://www.npmjs.com/package/lightning-flow-scanner-core
MIT License
27 stars 9 forks source link

Revisit IDDFS algo for a huge number of flows that has more than 30 elements each flow #126

Open junners opened 3 weeks ago

junners commented 3 weeks ago

Currently it is only possible to select a folder and analyse all flows. In my current project we have 150+ flows and it is causing a Visual Studio timeout when I want to run them all. (Macbook Pro M1 Max) So it would be better to choose from another screen which flow you want to analyse. Default select can be all flows but in my case it would be helpful to only analyse Case, Account or only FlowType = Screenflow.

If we break this down there's two issues - 1st is a potential performance issue on using IDDFS algo, need to have a solid case to replicate this 2nd is the ability to scan flows from a segment (Autolaunched, Screen types & etc)

This idea will be tackling the 1st point