binxie
2024-01-20 2ff0f0a7ab276c3466d9e06e14222db802194efc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?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+&apos;的PBI权限&apos;</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>