Skip to main content

How to Edit the Maximum Number of Decisions

Overly complex Flows increase maintenance risks, misconfigurations, and future debugging difficulty.

Written by David Martin
Updated this week

Overview

The rule Excessive Flow Complexity identifies Salesforce Flows with high logical complexity. By default, the threshold is set to 10 decisions as a general guideline. However, teams may have different standards and can adjust the threshold if they want the rule to trigger at a different number of decision elements.

Code Reviews allow you to configure the maximum number of decisions permitted based on your team’s requirements. To change the threshold that triggers this rule, open the Engaging Policy, select the pencil icon to edit it, locate the Excessive Flow Complexity rule, and select the pencil icon again to modify the decision limit.

Did this answer your question?