Skip to main content
Priti Gohil (PwC) ha preguntado en #Trailhead
Can anyone guide me how to write Validation rule, When Field status is Complete / cancelled at that time child object should not allowed be created
1 respuesta
  1. 26 may 2020, 11:57
    You may create a validation rule on child object assuming the field is a picklist data type.

    AND( ISNEW(),

    OR(

        ISPICKVAL(Parent__r.field1__c, 'Completed'),

        ISPICKVAL(Parent__r.field1__c, 'Canceled')

      )

    )