binxie
2023-06-26 6e4766bc135c30fa9e02a2b527dcdf8fd5eeec8d
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>YouCanNotEditTaskDifferent</fullName>
    <active>true</active>
    <description>//2021-11-17  mzy 任务管理改善
LEFT($User.UserId__c,15)==LEFT( assignee__c ,15)&amp;&amp;  ISCHANGED( taskDifferent__c )&amp;&amp;$User.ProfileId != &apos;00e10000000Y3o5&apos;</description>
    <errorConditionFormula>ISCHANGED( taskDifferent__c )&amp;&amp;$User.ProfileId != &apos;00e10000000Y3o5&apos;</errorConditionFormula>
    <errorMessage>非系统管理员不能修改任务区分</errorMessage>
</ValidationRule>