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
CM-Team CM-TeamCM-Team CM-Team 

"Insufficient Priviledge" error when "Send Notification" flag is set to true when changing Lead Owner

When I am changing Lead Owner with a custom profile and checking "Send Notification" flag , system is giving error. If I am not selecting Send Notification flag then no error is coming. On Lead trigger trigger there is a part of code that update the User object. When I am commmenting these lines of code. Everything working as expected.