Avoid too many elements in Omniscripts

Impact Area

Performance

 

Severity

Medium

 

Affected Element

OmniScript

 

Rule ID #

SF-AVOID-TOO-MANY-ELEMENTS-IN-OMNI

Impact #

Adding too many elements in a script can produce low performance

Remediation #

Reduce the number of elements in the script

As a Salesforce recommendation a single OmniScript should not exceed 750 elements. This is a threshold rule whose value can be customized by customers

Time to fix

30 min

Was it helpful ?
Table of contents

THE AI CODE GOVERNANCE BRIEF

Sign up for new updates!