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
Ankur SrivastavaAnkur Srivastava 

WF email notification when a lead owner is changed from queue to queue

OR(AND( 
Owner:User.ProfileId <> "00e16000001054Q",
Owner:User.ProfileId <> "00e16000001Givi", 
Owner:User.ProfileId <> "00e16000001054R", 
Owner:User.ProfileId <> "00e16000001054S",
BEGINS( OwnerId , '00G')

This WF rule works when a Lead owner is changed from Queue to User Or User to Queue, but it doesn't work when I change owner from Q to Q.  I tried ISCHanged(OwnerId) to check if the owner has changed and if it belongs to '00G' . but ISCHANGED can't be used in such a formula. any way to do it ?
Best Answer chosen by Ankur Srivastava
Ankur SrivastavaAnkur Srivastava
Adding ISCHANGED(OwnerId) and changing the evaluation criteria from Created and edited to subsequently meet the criteria ot Created and edited worked for me.