Operational Defect Database

BugZero found this defect 571 days ago.

Veeam | kb4367

CANNOT_EXECUTE_FLOW_TRIGGER. You or your organization has exceeded the maximum limit for this feature.

Last update date:

8/30/2023

Affected products:

Veeam Backup for Salesforce

Affected releases:

1.0

Fixed releases:

No fixed releases provided.

Description:

Challenge

When performing a restore involving multiple records, one or more records fail to be restored with the following Salesforce error message: CANNOT_EXECUTE_FLOW_TRIGGER. You or your organization has exceeded the maximum limit for this feature. Error ID: XXX-XXX (XXX) organization has exceeded the maximum limit for this feature.

Cause

The record creation or update in Salesforce triggers automation flows that violate the Salesforce platform limits.

Solution

To work around this issue, reduce the batch size for the duration of the restore operation. To do this: Open Configuration Navigate to "Product Settings" Switch to the "Advanced Settings" tab. Note the current value for sf.composite.batch.size The default is 200. Modify the value for sf.composite.batch.size to a lower number. The exact value this must be lowered to is different for every environment. Consider 100, half-default as a starting point. Perform the records restore. If the restore fails with the same error, reduce the sf.composite.batch.size value further. After the successful restore, revert the sf.composite.batch.size value to what was observed in Step 2.

More Information

Note from Veeam Product Management: The error documented in this article may occur even when you have a small number of automation rules in place or a small or empty trigger that you have created yourself. Each managed package installed in your Salesforce Org may bring its own triggers and workflows. Salesforce will not fail during the execution of the managed package code but will produce an error immediately after the code execution when Salesforce begins processing the automation flows.

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Solved

Learn More

Search:

...