<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>FAQ_Oepn_request</fullName>
|
<description>FAQ公开申请邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<recipient>sheng_lu@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Olympus_OCM/FAQ_open_request</template>
|
</alerts>
|
<fieldUpdates>
|
<fullName>FAQ_closed_day</fullName>
|
<field>FAQ_closed_day__c</field>
|
<formula>today()</formula>
|
<name>填写FAQ公开结束日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>FAQ_open_day</fullName>
|
<field>FAQ_disclosed_day__c</field>
|
<formula>today()</formula>
|
<name>填写FAQ公开日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<rules>
|
<fullName>FAQ公开日</fullName>
|
<actions>
|
<name>FAQ_open_day</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Solution.Status</field>
|
<operation>equals</operation>
|
<value>レビュー済み</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Solution.FAQ_disclosed_day__c</field>
|
<operation>equals</operation>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>FAQ公开申请</fullName>
|
<actions>
|
<name>FAQ_Oepn_request</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Solution.Status</field>
|
<operation>equals</operation>
|
<value>ドラフト</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Solution.FAQ_disclosed_request__c</field>
|
<operation>equals</operation>
|
<value>真</value>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>FAQ公开结束日</fullName>
|
<actions>
|
<name>FAQ_closed_day</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Solution.Status</field>
|
<operation>equals</operation>
|
<value>公开结束</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Solution.FAQ_closed_day__c</field>
|
<operation>equals</operation>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
</Workflow>
|