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))
  • I need to only have this workflow rule fire if either the prior owner was "005j000000CL8wz" or the Queue: "00Gj0000001YmxF".
    – Tamim J
    Nov 25, 2015 at 15:04

1 Answer 1


Check when the rule is evaluated. You cannot use PRIORVALUE when you are have your evaluation set to "created, and any time it’s edited to subsequently meet criteria"

Check this out for more info.


  • Thank you, but I have a new issue, listed above.
    – Tamim J
    Nov 25, 2015 at 15:01
  • What if you change Owner:Queue.Id to just OwnerId?
    – smckitrick
    Nov 25, 2015 at 17:16
  • Not if it's a queue!
    – Tamim J
    Nov 30, 2015 at 15:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .