Loading

Save Operation Fails for Macros with More Than 200 Instructions in Salesforce Service Cloud

Julkaisupäivä: Jul 6, 2026
Kuvaus

In Salesforce Service Cloud, when a Macro contains more than 200 instructions, the save operation fails. After adding the 201st instruction and attempting to save, the following error appears:
"We had trouble processing the request. We've reported the problem to Customer Support with the error ID."
This is a known platform limit. Salesforce Service Cloud Macros support a maximum of 200 instructions per macro. This limit is a platform constraint and cannot be increased via configuration or by raising a support request with Salesforce.

Ratkaisu

This behavior is working as designed. Salesforce Service Cloud Macros support a maximum of 200 instructions per macro.

Workaround Options

Option 1 – Split Large Macros into Smaller Macros

Break the macro logic into multiple macros, each handling a distinct portion of the workflow. For example:

  • Create one macro for field updates (such as updating Status, Priority, or Category fields).
  • Create a separate macro for email actions (such as sending a templated reply or logging an activity).
  • Run each macro in sequence from the agent console as needed.

This approach keeps each macro under the 200-instruction limit while preserving the full workflow.

Option 2 – Use a Parent Macro to Chain Smaller Macros

A parent macro can call child macros in sequence using the Run Macro instruction type. This approach lets you effectively chain multiple macros, each containing up to 200 instructions, extending the total number of automated actions without exceeding the single-macro limit.
For example, a parent macro can trigger: Macro A (field updates) → Macro B (email actions) → Macro C (case status closure) — all initiated from a single agent action.

Knowledge-artikkelin numero

000395449

 
Ladataan
Salesforce Help | Article