How to prevent Case Assignment Rule execution in Salesforce

When synchronising data to Salesforce to update an existing Case, the Salesforce Case Assignment Rule is being triggered. By default, this rule is intended to run only during Case creation.

Is there any configuration option in Exalate to prevent the Case Assignment Rule from executing during updates?

The answer is Yes. You there a way to avoid this rule from executing during updates or even during case creation if wanted.

Snippet to avoid the auto assignment during updates

if(!firstSync) {
nodeHelper.addHTTPHeader("Sforce-Auto-Assign: FALSE") 
}

Snippet to always avoid auto assignment

nodeHelper.addHTTPHeader(“Sforce-Auto-Assign: FALSE”)

This snippets need to be added in incoming script on SalesForce.

1 Like