binxie
2024-01-18 0e0dd1e20e7211f3c3c11d77a41090d998dfd06c
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;00eC800000005Cb&apos;</errorConditionFormula>
    <errorMessage>非系统管理员不能修改任务区分</errorMessage>
</ValidationRule>