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

Prevent infinite loop #18

Closed hsaraujo closed 2 years ago

hsaraujo commented 3 years ago

Prevent infinite loop with unconnected elements while running DMLStatementInLoop rule

RubenHalman commented 3 years ago

Thank you so much for contributing! Did you run into this issue using the sfdx or vsc scanner?

hsaraujo commented 3 years ago

Hi @RubenHalman I ran into this issue while using sfdx

hsaraujo commented 3 years ago

Btw, It seems to be a very specific scenario where there's a loop that is not invoked by any component

RubenHalman commented 2 years ago

@hsaraujo Thank you again for contributing and my apologies for my late response. I guess I will need to add some additional test classes later but will be merging this and rereleasing the sfdx plugin based on this version.