1

I'm trying to use a the ISPICKVAL in a formula with a Custom Label:

ISPICKVAL(Type, $Label.Business_Type)

I get an error:

Error: Incorrect parameter type for function 'ISPICKVAL()'. Expected Text Literal, received Text

It really seems like this should work?! Is there any workaround?

  • I'll leave this up as I didn't find any results (SO or Salesforce) when searching for this question. – NSjonas Sep 22 '16 at 18:10
4

After some digging I found the (obvious) solution:

TEXT(MyPickList_Field__c) == $Label.MyCustomLabel
| 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.