Li Jun
2022-05-10 51fb56f3f5b0dc96d7f93a71f9b61263e303243f
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>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>