function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Juan SpagnoliJuan Spagnoli 

REST API - Cases PATCH trigger Assignment Rules

Hi there, I'm using SFDC REST API for doing some updates on Case from outside SFDC, and when I set some value (ex. Status), the PATCH action triggers the active assignment rules of the org. Consequently, case owners are changed. This is not happening if I update a case from the edit page (except I check "Assign using active...").

 

So... Why this is happens using Rest API? 

Anyone knows how to avoid this issue?

 

Thanks!

Juan SpagnoliJuan Spagnoli

For now.. I add a new last condition in my assignments rules that always is evaluated as true and doesn't change the case owner. So if previous rules doesn't apply, the owner is not changed to the default. (default owner is set in Support Settings)