binxie
2024-01-18 22bd41f13147fce1df6ff35b592720c9cb387de9
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>InvalidDelegationEmailWarning</fullName>
        <description>无效委托电子邮件警告</description>
        <protected>false</protected>
        <recipients>
            <type>creator</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>task/InvalidDelegateEmailTemplate</template>
    </alerts>
    <alerts>
        <fullName>NoReplyCloseRmailWarning</fullName>
        <description>无回复关闭电子邮件警告</description>
        <protected>false</protected>
        <recipients>
            <type>creator</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>task/CloseEmailTemplateWithoutReply</template>
    </alerts>
    <alerts>
        <fullName>OBSAP_Task_Mail</fullName>
        <description>OBSAP队列邮件</description>
        <protected>false</protected>
        <recipients>
            <recipient>X00_OBSAP_pricelist</recipient>
            <type>group</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>task/EmailTemplate_Task_Queue_HTML_Custom</template>
    </alerts>
    <alerts>
        <fullName>Quotation_email_alart</fullName>
        <description>报价委托更新完毕</description>
        <protected>false</protected>
        <recipients>
            <type>creator</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>task/Quotation_request_completed_new</template>
    </alerts>
    <alerts>
        <fullName>ThereIsAnInquiryEmailWarning</fullName>
        <description>已有询价电子邮件警告</description>
        <protected>false</protected>
        <recipients>
            <type>creator</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>task/ExistingInquiryEmailTemplate</template>
    </alerts>
    <rules>
        <fullName>报价委托任务邮件发送</fullName>
        <actions>
            <name>OBSAP_Task_Mail</name>
            <type>Alert</type>
        </actions>
        <active>false</active>
        <description>20230112-使用代码统一发送到群组邮箱,不再给群组下的所有人单独发送了</description>
        <formula>IF(AND(CONTAINS(Subject, &apos;报价委托&apos;), OwnerId = &apos;00G10000002qnIv&apos;), true, false)</formula>
        <triggerType>onCreateOnly</triggerType>
    </rules>
    <rules>
        <fullName>报价委托更新完毕通知</fullName>
        <active>false</active>
        <formula>AND(ISCHANGED( Quotation_request_completed_time__c ), text(Status) &lt;&gt; &quot;完成&quot;)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>报价委托更新完毕通知new</fullName>
        <actions>
            <name>Quotation_email_alart</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <formula>AND(ISCHANGED( Quotation_request_completed_time__c ),  text(Status)  = &quot;完了&quot;)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
</Workflow>