I'd like to create a formula that when a Lead's Ownership is either a specific person(s) or a Queue, and it changes, the workflow rule fires.
I have tried the below formula with no success. It says I cannot use the PRIORVALUE function with the Owner:Queue.Id field. Thank you in advance for any assistance.
AND(OR(PRIORVALUE(OwnerId) = "005j000000CL8wz", PRIORVALUE(Owner:Queue.Id) = "00Gj0000001YmxF"),ISCHANGED(OwnerId))