This is my first go round with writing a workflow rule and am struggling to find correct syntax. Our Salespeople who generated a lead (Salesperson__c – a contact lookup field) want to get an email when the Status (Status) of the lead they brought in changes.
So I first tried Status= ISCHANGED(field)
. No luck, so then I tried ISCHANGED(Status)
.
Neither worked because it's a picklist I believe.
Do I need to use a ISPICKVAL
formula? If so, does someone know correct syntax for this?
My updated formula is:
TEXT(Status) != TEXT(PRIORVALUE(Status))
But it gives this error:
Error: Function PRIORVALUE may not be used in this type of formula
Best Answer
The reason for the error is because of your Workflow evaluation criteria
You need it to be:
rule evaluation criteria is set to "Every time a record is created or edited
@AdrianLarson already answered this once before.