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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?xml version="1.0" encoding="UTF-8"?>
<ApprovalProcess xmlns="http://soap.sforce.com/2006/04/metadata">
    <active>true</active>
    <allowRecall>true</allowRecall>
    <allowedSubmitters>
        <type>creator</type>
    </allowedSubmitters>
    <allowedSubmitters>
        <type>owner</type>
    </allowedSubmitters>
    <approvalPageFields>
        <field>Name</field>
        <field>Product_document_name__c</field>
        <field>Owner</field>
        <field>Material_category__c</field>
        <field>Material_category2__c</field>
        <field>Material_security__c</field>
        <field>Important_product_material__c</field>
        <field>Forcast_day__c</field>
    </approvalPageFields>
    <approvalStep>
        <allowDelegate>false</allowDelegate>
        <assignedApprover>
            <approver>
                <type>userHierarchyField</type>
            </approver>
        </assignedApprover>
        <label>CL6 经理级批准</label>
        <name>ApprovalProcessbyManager</name>
    </approvalStep>
    <emailTemplate>Olympus_OCM/Service_contract_comfirm_request</emailTemplate>
    <enableMobileDeviceAccess>true</enableMobileDeviceAccess>
    <entryCriteria>
        <criteriaItems>
            <field>Product_Documentation__c.Material_status__c</field>
            <operation>equals</operation>
            <value>准备中</value>
        </criteriaItems>
        <criteriaItems>
            <field>Product_Documentation__c.job_category_text__c</field>
            <operation>notEqual</operation>
            <value>GI市场</value>
        </criteriaItems>
    </entryCriteria>
    <finalApprovalActions>
        <action>
            <name>Set_open_day</name>
            <type>FieldUpdate</type>
        </action>
        <action>
            <name>Set_status_open</name>
            <type>FieldUpdate</type>
        </action>
    </finalApprovalActions>
    <finalApprovalRecordLock>false</finalApprovalRecordLock>
    <finalRejectionActions>
        <action>
            <name>set_status_draft</name>
            <type>FieldUpdate</type>
        </action>
        <action>
            <name>Set_submit_day_blank</name>
            <type>FieldUpdate</type>
        </action>
    </finalRejectionActions>
    <finalRejectionRecordLock>false</finalRejectionRecordLock>
    <initialSubmissionActions>
        <action>
            <name>Disclose_respect_SP</name>
            <type>Alert</type>
        </action>
        <action>
            <name>Productmaterial_status_submit</name>
            <type>FieldUpdate</type>
        </action>
        <action>
            <name>Set_submit_day</name>
            <type>FieldUpdate</type>
        </action>
    </initialSubmissionActions>
    <label>产品资料公开确认审批SP</label>
    <nextAutomatedApprover>
        <useApproverFieldOfRecordOwner>true</useApproverFieldOfRecordOwner>
        <userHierarchyField>Manager</userHierarchyField>
    </nextAutomatedApprover>
    <processOrder>2</processOrder>
    <recallActions>
        <action>
            <name>set_status_draft</name>
            <type>FieldUpdate</type>
        </action>
        <action>
            <name>Set_submit_day_blank</name>
            <type>FieldUpdate</type>
        </action>
    </recallActions>
    <recordEditability>AdminOnly</recordEditability>
    <showApprovalHistory>true</showApprovalHistory>
</ApprovalProcess>