Skip to main content
So my rule is supposed to say, if record type = X, education brand support field (which is a picklist) is required. If record type = Z, sales brand support field (which is a picklist) is required.

 

Here is my formula:

 

OR(

 

  

 

( RecordTypeId ="012F0000000mwOv") && ISBLANK( Education_Brand_Support__c),

 

(RecordTypeId ="012F0000000mwOq")&& ISBLANK(  Sales_Brand_Support__c ))

 

I'm getting the syntax error: Error: Field Education_Brand_Support__c is a picklist field. Picklist fields are only supported in certain functions

 

How can I get around this?
4 件の回答
  1. 2016年5月18日 16:38
    Great start! All you need to do is to wrap the Picklist Field in a TEXT function before you apply the ISBLANK.

     

    Like this: 

    OR(

    RecordTypeId ="012F0000000mwOv" && ISBLANK(TEXT(Education_Brand_Support__c)),

    RecordTypeId ="012F0000000mwOq" && ISBLANK(TEXT(Sales_Brand_Support__c))

    )

0/9000