1

Has anyone faced the below issue with Assignment rules?

We run the case assignment rules from the trigger when certain conditions are met. It works perfectly fine.

But in the below scenario it doesn't work Case Update > Custom Object Update > Case Update

So it's not working when the Case is updated through automation.

Any Idea on this.

1 Answer 1

1

If you use Process Builder, Flows, or Workflow Rules to perform updates, the Assignment Rule won't run a second time, as noted in Triggers and Order of Execution. If you use a trigger to perform related updates, note that even after triggers run before assignment rules, so the earlier, original assignment rule ends up "winning" in that scenario. If you use triggers to update related records, make sure you're using DMLOptions with the assignmentRuleHeader set correctly.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .