| | |
| | | <description>客户人员手机号唯一验证清空(在线市场活动) |
| | | 客户人员无效: |
| | | 将唯一字段清空</description> |
| | | <formula>AND( OR(RecordType.DeveloperName = 'Agency',RecordType.DeveloperName = 'Doctor'), ISCHANGED(Isactive__c), OR(TEXT(Isactive__c) ='无效(退休)',TEXT(Isactive__c) ='无效(重复)') )</formula> |
| | | <formula>AND( |
| | | OR(RecordType.DeveloperName = 'Agency',RecordType.DeveloperName = 'Doctor'), |
| | | ISCHANGED(Isactive__c), |
| | | OR(TEXT(Isactive__c) ='无效(退休)',TEXT(Isactive__c) ='无效(重复)') |
| | | )</formula> |
| | | <triggerType>onAllChanges</triggerType> |
| | | </rules> |
| | | <rules> |
| | |
| | | 客户人员有效: |
| | | 新增客户人员并且手机号码有值,将手机号赋值给唯一字段 |
| | | 更新客户人员手机号,将手机号赋值给唯一字段</description> |
| | | <formula>AND( OR(RecordType.DeveloperName = 'Agency',RecordType.DeveloperName = 'Doctor'), OR(ISNEW() && NOT(ISBLANK(MobilePhone)) && NOT(ISNULL(MobilePhone)), ISCHANGED(MobilePhone), TEXT(Isactive__c) ='有效') )</formula> |
| | | <formula>AND( |
| | | OR(RecordType.DeveloperName = 'Agency',RecordType.DeveloperName = 'Doctor'), |
| | | OR(ISNEW() && NOT(ISBLANK(MobilePhone)) && NOT(ISNULL(MobilePhone)), ISCHANGED(MobilePhone), |
| | | TEXT(Isactive__c) ='有效') |
| | | |
| | | )</formula> |
| | | <triggerType>onAllChanges</triggerType> |
| | | </rules> |
| | | <rules> |