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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>SMARM</fullName>
        <ccEmails>Haijuan_Wang@olympus.com.cn</ccEmails>
        <ccEmails>Yoshihiko_Terabori@olympus.com.cn</ccEmails>
        <description>SMARMフィードバック</description>
        <protected>false</protected>
        <recipients>
            <field>Review_Practitioner__c</field>
            <type>userLookup</type>
        </recipients>
        <recipients>
            <field>Review_Target__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/SMARM</template>
    </alerts>
    <alerts>
        <fullName>SmarmEmailAlert</fullName>
        <ccEmails>Haijuan_Wang@olympus.com.cn</ccEmails>
        <ccEmails>Yoshihiko_Terabori@olympus.com.cn</ccEmails>
        <description>活动检视邮件(VF)</description>
        <protected>false</protected>
        <recipients>
            <type>owner</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/SmarmEmailAlert_VF</template>
    </alerts>
    <alerts>
        <fullName>SmarmEmailAlertToMe</fullName>
        <description>活动检视邮件_自己(VF)</description>
        <protected>false</protected>
        <recipients>
            <type>creator</type>
        </recipients>
        <senderAddress>lu_liu@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>Olympus_OCM/SmarmEmailAlertToMe_VF</template>
    </alerts>
    <fieldUpdates>
        <fullName>Stage_change_to_approved</fullName>
        <field>Status__c</field>
        <literalValue>批准</literalValue>
        <name>状态更新到批准</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Stage_change_to_draft</fullName>
        <field>Status__c</field>
        <literalValue>草案中</literalValue>
        <name>更新状态草案中</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Stage_change_to_submit</fullName>
        <field>Status__c</field>
        <literalValue>提交</literalValue>
        <name>状态修改到申请中</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Submit_date_blank</fullName>
        <field>Submit_date__c</field>
        <name>提交日更新到空</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Null</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Update_approved_date</fullName>
        <field>Approved_date__c</field>
        <formula>today()</formula>
        <name>更新批准日</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Update_submit_date</fullName>
        <field>Submit_date__c</field>
        <formula>today()</formula>
        <name>更新 提交日</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <rules>
        <fullName>SMARM已反馈</fullName>
        <actions>
            <name>SMARM</name>
            <type>Alert</type>
        </actions>
        <active>false</active>
        <criteriaItems>
            <field>SMARM__c.Business_Feedback__c</field>
            <operation>notEqual</operation>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>活动检视反馈邮件</fullName>
        <actions>
            <name>SmarmEmailAlert</name>
            <type>Alert</type>
        </actions>
        <actions>
            <name>SmarmEmailAlertToMe</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <formula>PRIORVALUE(Status__c) != &quot;填写完毕&quot; &amp;&amp; TEXT(Status__c) = &quot;填写完毕&quot;</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
</Workflow>