liuyan
2022-11-30 6b05e5c975c7e33b09e6073f1ec8419e1f9b065b
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>testRule</fullName>
    <active>true</active>
    <errorConditionFormula>ISPICKVAL(Behavior__c , &apos;A&apos;) &amp;&amp; ISBLANK(  Diagnosis__c )</errorConditionFormula>
    <errorDisplayField>FaultNumber__c</errorDisplayField>
    <errorMessage>使用状况为A时故障编号不能为空</errorMessage>
</ValidationRule>