binxie
2024-01-20 1d91be0be5220ce19ee64de5a5c9a8237b1c15b1
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
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <fieldUpdates>
        <fullName>LeadSourceUpdate</fullName>
        <field>LeadSource__c</field>
        <literalValue>学会会议</literalValue>
        <name>咨询单来源</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>No_Need_DateUpdate</fullName>
        <field>No_Need_Date__c</field>
        <formula>TODAY()</formula>
        <name>不需要日期</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <rules>
        <fullName>LeadNumCreate</fullName>
        <active>false</active>
        <criteriaItems>
            <field>Inquiry_form__c.Campaign_ID__c</field>
            <operation>notEqual</operation>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>不需要日期创建</fullName>
        <actions>
            <name>No_Need_DateUpdate</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>Inquiry_form__c.Reasons_options__c</field>
            <operation>notEqual</operation>
        </criteriaItems>
        <description>当不需要理由录入值时,当前日期赋值给不需要日期</description>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>咨询单来源值判定</fullName>
        <actions>
            <name>LeadSourceUpdate</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>Inquiry_form__c.Campaign_ID__c</field>
            <operation>notEqual</operation>
        </criteriaItems>
        <description>主要学会不为空时,咨询单来源为学会会议</description>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
</Workflow>