3

I'm trying to setup a workflow rule condition. The field is Record Type and it is a picklist field.

ISPICKVAL(RecordType.DeveloperName, "Prospective Customer")

Anybody know why I'm getting this error

(Incorrect parameter type for function 'ISPickVal()'. Expected Picklist, recieved text.

Can someone help me with this formula?

2

The RecordType field is not a picklist, it's a system lookup field. You can just do:

RecordType.DeveloperName == "Prospective Customer"
| improve this answer | |
0

Your developer name is the name with no spaces, rather with underscores, I would assume you have Prospective_Customer as the DevName, so you would use: $RecordType.DeveloperName = "Prospective_Customer"

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.