Skip to content

Missing Filter Record Trigger & Improved Rule Loading

Choose a tag to compare

@RubenHalman RubenHalman released this 09 Dec 02:08
· 2282 commits to main since this release

Release Notes

Action tag: action-v2.4.0
Core tag: core-v6.8.0
CLI tag: v6.8.0
VSX Version: v2.2.0

New Rule: MissingFilterRecordTrigger

Detects record-triggered flows that lack filters on changed fields or entry conditions, leading to unnecessary executions on every record change. This can degrade system performance, hit governor limits faster, and increase resource consumption in high-volume orgs.

Severity: 🟡 Warning

Improved Rule Loading: Merged Mode (Default)

We've enhanced how Lightning Flow Scanner handles rule configuration to provide a more intuitive experience, similar to ESLint's configuration model.

What's New:

  • Merged Mode (Default): By default, all default rules now run, and your configuration only overrides what you specify. No need to list every rule!
  • Isolated Mode: For testing or custom profiles, use "ruleMode": "isolated" to run only explicitly specified rules
  • Disable Rules: New "enabled": false option to disable specific rules without removing them from your config

Example:

{
  "rules": {
    "FlowName": {
      "severity": "error"
    },
    "UnusedVariable": {
      "enabled": false
    }
  }
}

In this example all default rules run, with FlowName severity overridden and UnusedVariable disabled.