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
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>FAQ_Oepn_request</fullName>
        <description>FAQ公开申请邮件</description>
        <protected>false</protected>
        <recipients>
            <recipient>sheng_lu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/FAQ_open_request</template>
    </alerts>
    <fieldUpdates>
        <fullName>FAQ_closed_day</fullName>
        <field>FAQ_closed_day__c</field>
        <formula>today()</formula>
        <name>填写FAQ公开结束日</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>FAQ_open_day</fullName>
        <field>FAQ_disclosed_day__c</field>
        <formula>today()</formula>
        <name>填写FAQ公开日</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <rules>
        <fullName>FAQ公开日</fullName>
        <actions>
            <name>FAQ_open_day</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>Solution.Status</field>
            <operation>equals</operation>
            <value>レビュー済み</value>
        </criteriaItems>
        <criteriaItems>
            <field>Solution.FAQ_disclosed_day__c</field>
            <operation>equals</operation>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>FAQ公开申请</fullName>
        <actions>
            <name>FAQ_Oepn_request</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>Solution.Status</field>
            <operation>equals</operation>
            <value>ドラフト</value>
        </criteriaItems>
        <criteriaItems>
            <field>Solution.FAQ_disclosed_request__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>FAQ公开结束日</fullName>
        <actions>
            <name>FAQ_closed_day</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>Solution.Status</field>
            <operation>equals</operation>
            <value>公开结束</value>
        </criteriaItems>
        <criteriaItems>
            <field>Solution.FAQ_closed_day__c</field>
            <operation>equals</operation>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
</Workflow>