Skip to main content
Priti Gohil (PwC) 님이 #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개
  1. 2020년 5월 26일 오전 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')

      )

    )