binxie
2024-01-22 102afa21c115e8c8b9333a326c3d1af08fe76faf
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
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>ComplaintAgentMailW</fullName>
        <description>经销商投诉邮件通知</description>
        <protected>false</protected>
        <recipients>
            <recipient>it_prectech@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>kaitian_wang@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>CIC/ComplaintAgentMail</template>
    </alerts>
    <fieldUpdates>
        <fullName>UpdateComplaintNumber</fullName>
        <field>ComplaintNumber__c</field>
        <formula>OCSM_Period__c+lpad(text(month(today())),2,&apos;0&apos;)+&apos;-&apos;+ComplaintNo__c</formula>
        <name>更新投诉编号</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <rules>
        <fullName>经销商投诉邮件通知</fullName>
        <actions>
            <name>ComplaintAgentMailW</name>
            <type>Alert</type>
        </actions>
        <actions>
            <name>UpdateComplaintNumber</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>True</formula>
        <triggerType>onCreateOnly</triggerType>
    </rules>
</Workflow>