<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fieldUpdates>
|
<fullName>PBIAuthorizationNameSetUp</fullName>
|
<field>Name</field>
|
<formula>User__r.Alias__c+'的PBI权限'</formula>
|
<name>PBI权限名称生成</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UniKeyUpd</fullName>
|
<field>Uniquekey__c</field>
|
<formula>User__c</formula>
|
<name>更新UniKey</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<rules>
|
<fullName>PBI权限名称生成</fullName>
|
<actions>
|
<name>PBIAuthorizationNameSetUp</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>IsNEw() || ISchanged(User__c)</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>公式拷贝到文本</fullName>
|
<actions>
|
<name>UniKeyUpd</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>True</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
</Workflow>
|