Priti Gohil (PwC) fragte in #Trailhead26. Mai 2020, 09:54Validation Rule - Child objectCan anyone guide me how to write Validation rule, When Field status is Complete / cancelled at that time child object should not allowed be created1 AntwortSortierenNach Datum sortierenNach "Am hilfreichsten" sortierenNach Datum sortierenDavid Zhu (Independent Contractor)26. Mai 2020, 11:57You 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') ))Mehr anzeigenIn Slack antworten
David Zhu (Independent Contractor)26. Mai 2020, 11:57You 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') ))Mehr anzeigen