<?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>
|