+ Start a Discussion
Karen Roscoe - Administrator SFDCKaren Roscoe - Administrator SFDC 

Apex Trigger on Leads to make "Assign using active assignment rule" unchecked by default upon Edit

Hello dev community,

On Leads, I would like to make "Assign using active assignment rule" checked by default upon Create, but unchecked by default upon Edit. I was told that I need an Apex Trigger to do this. Can you provide an example of this callout and information on how to implement it? Alternatively, is there a third-party app available that would provide this capability? Thanks in advance for any recommendations.
Kaustubh LabheKaustubh Labhe

There is a standard non-apex solution for this. 
Did you explore this: https://help.salesforce.com/articleView?id=000205662&type=1

Karen Roscoe - Administrator SFDCKaren Roscoe - Administrator SFDC
Excellent, thanks very much. This is exactly what I needed.