0

I have a bit of an odd question. Is there a negative impact running assignment rules on a Case object on every insert/update? We have a use case where we need to run when the user uses inline edit, but only with certain criteria, but I'm wondering if that's necessary to use a trigger to only run the rules when it meets criteria or just run the rules every time. It would be difficult to maintain over time in a trigger.

1

There's some "wall clock" time involved, but running assignment rules does not materially affect any of the governor limits (e.g. SOQL queries, CPU time, etc), and likely won't cause any significant impact. This suggestion doesn't immediately raise any red flags, except I'd possibly be concerned that the case might be "accidentally" transferred when it shouldn't have been (but this is more dependent on sharing rules, etc).

1
  • Thanks. Looking at the Salesforce docs, they specifically say anything about performance as well and they do have an option to set the assignment checkbox to checked by default at the layout level. – Andrew L. Feb 5 at 23:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.