Skip to main content
I'm trying to create a validation rule where if the first two lines items are true; then the last field should be required. I cannot seem to find what I'm doing wrong here:

 

'Case Record Type'='Saftey/Fleet 360 Level II'&&

 

INCLUDES(Reason__c, 'Update Email')&&

 

NOT(ISBLANK('User Name'))
7 answers
  1. Eric Praud (Activ8 Solar Energies) Forum Ambassador
    Mar 10, 2020, 2:33 PM
    Hi Michael

     

    'Case Record Type' needs to be replaced by RecordType.Name and 'User Name' needs to be replaced by the field API for User name (here I assume it's a custom field on cases, not the owner's username):

     

    RecordType.Name='Saftey/Fleet 360 Level II'&&

     

    INCLUDES(Reason__c, 'Update Email')&&

     

    NOT(ISBLANK(User_Name__c))
0/9000