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
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <fieldUpdates>
        <fullName>Questionnaire_SurveyName</fullName>
        <field>Name</field>
        <formula>Text(Today())&amp; AutoNumber__c</formula>
        <name>Questionnaire_SurveyName</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>update_status_01</fullName>
        <field>Questionnaire_Status__c</field>
        <literalValue>已提交</literalValue>
        <name>问卷状态更新-已提交</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>update_status_02</fullName>
        <field>Questionnaire_Status__c</field>
        <literalValue>已批准</literalValue>
        <name>问卷状态更新-批准</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>update_status_03</fullName>
        <field>Questionnaire_Status__c</field>
        <literalValue>驳回</literalValue>
        <name>订单状态更新-驳回</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>update_status_04</fullName>
        <field>Questionnaire_Status__c</field>
        <literalValue>草案中</literalValue>
        <name>订单状态更新-草案中</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <rules>
        <fullName>Questionnaire_Survey_insert</fullName>
        <actions>
            <name>Questionnaire_SurveyName</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <booleanFilter>(1 OR 2)</booleanFilter>
        <criteriaItems>
            <field>Questionnaire_Survey__c.Name</field>
            <operation>equals</operation>
            <value>*</value>
        </criteriaItems>
        <criteriaItems>
            <field>Questionnaire_Survey__c.Name</field>
            <operation>equals</operation>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
</Workflow>