---
title: Avoid too many elements in Omniscripts
description: "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…"
url: "https://community-staging.qualityclouds.com/qcdocs/qc/salesforce-rules/avoid-too-many-elements-in-omniscripts/"
updated: "2025-03-21"
category: Salesforce Rules
---

# 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
