Priti Gohil (PwC) perguntou em #Trailhead26 de mai. de 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 respostaClassificarClassificar por dataClassificar por mais útilClassificar por dataDavid Zhu (Independent Contractor)26 de mai. de 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') ))Mostrar mais
David Zhu (Independent Contractor)26 de mai. de 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') ))Mostrar mais