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
Samruddhi GokhaleSamruddhi Gokhale 

How to know if the record has been updated via lead assignment rule

Hi,

Is there any way to know if the assignment rules have been run in a trigger? The 'run assignment rule' checkbox guarantees that all the assignment rules are evaulated, but how to know if any of the entries satisfied all the criteria and the assignment acutally happenned?
Best Answer chosen by Samruddhi Gokhale
Andy BoettcherAndy Boettcher
If you set up your rules to always assign ownership away from what it comes in as - that would be a good way to see via Lead History.  Otherwise, there isn't a flag or anything else that indicates LARs executed for that Lead.