binxie
2024-01-20 1d91be0be5220ce19ee64de5a5c9a8237b1c15b1
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
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>Cancel_tender_request_doc</fullName>
        <description>取消 委托授权申请</description>
        <protected>false</protected>
        <recipients>
            <type>owner</type>
        </recipients>
        <recipients>
            <field>Request_target__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Report/EmailTemplate_cancel</template>
    </alerts>
    <alerts>
        <fullName>Request_tender_doc_prepare</fullName>
        <description>委托授权申请通知</description>
        <protected>false</protected>
        <recipients>
            <type>owner</type>
        </recipients>
        <recipients>
            <field>Request_target__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Report/EmailTemplate2</template>
    </alerts>
    <rules>
        <fullName>授权申请取消申请</fullName>
        <actions>
            <name>Cancel_tender_request_doc</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <formula>AND(ISCHANGED( Submit_check_flag__c ),Submit_check_flag__c=false)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>授权申请提交通知</fullName>
        <actions>
            <name>Request_tender_doc_prepare</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <formula>AND(ISCHANGED( Submit_check_flag__c ),Submit_check_flag__c=true)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
</Workflow>