Skip to main content
Can anyone speak to creating a Validation Rule to meet the following criteria? Not familiar with writing out VR's where there is a picklist and a multi-select picklist in the formula. 

 

If Service Request Status Reason = Customer Canceled OR if Service Request Rejection Reason = Canceled, then Cancellation Reason fields are required

 

Below are API's for cancellation reasons and service request

 

Cancellation_Sub_Reason__c    Picklist

 

Cancellation_Reason__c    Picklist

 

    

 

Status_Reason__c    Picklist

 

Service_Request_Reject_Reason__c    Picklist (Multi-Select)

 

Any insight/suggestions are helpful.  Thank you! 
12 respostas
  1. 21 de ago. de 2020, 15:14

    Sorry, try this one:

    AND(OR(TEXT(Status_Reason__c) = "Customer",

    INCLUDES(Service_Request_Reject_Reason__c, "Canceled")),

    OR(ISBLANK(TEXT(Cancellation_Reason__c)),

    ISBLANK(TEXT(Cancellation_Sub_Reason__c))))

     

     
0/9000