<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fieldUpdates>
|
<fullName>ActionFieldUpdate</fullName>
|
<field>First_closed_forecast_day__c</field>
|
<formula>endDate__c</formula>
|
<name>设定-初次预测结束日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>CIC_Create_day</fullName>
|
<field>Received_call_day__c</field>
|
<formula>today()</formula>
|
<name>CIC_Create_day</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Set_Case_Status_to_Closed</fullName>
|
<field>Status</field>
|
<literalValue>クローズ</literalValue>
|
<name>Set Case Status to Closed</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<rules>
|
<fullName>CIC_Create_day</fullName>
|
<actions>
|
<name>CIC_Create_day</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>TRUE</formula>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>CIC状态自动关闭</fullName>
|
<actions>
|
<name>Set_Case_Status_to_Closed</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Case.Status</field>
|
<operation>equals</operation>
|
<value>回答完成&确认</value>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>设定-初次预测结束日</fullName>
|
<actions>
|
<name>ActionFieldUpdate</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Case.First_closed_forecast_day__c</field>
|
<operation>equals</operation>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
</Workflow>
|