<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>NotAdminCannotCreateTask</fullName>
|
<active>true</active>
|
<description>非系统管理员不能创建被动任务</description>
|
<errorConditionFormula>ISNEW() && Text(taskDifferent__c) = '被动任务' && $User.ProfileId != '00e10000000Y3o5' && RecordTypeId != '0129D000001NZXh' && RecordTypeId != '0129D000001NZXj'</errorConditionFormula>
|
<errorMessage>非系统管理员不能创建被动任务</errorMessage>
|
</ValidationRule>
|