<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>BulletinBoard_Submit_Mail</fullName>
|
<ccEmails>xiaoyu_li@olympus.com.cn</ccEmails>
|
<ccEmails>dan1_liu@olympus.com.cn</ccEmails>
|
<ccEmails>olympus@prec-tech.com</ccEmails>
|
<description>提交邮件</description>
|
<protected>false</protected>
|
<senderType>CurrentUser</senderType>
|
<template>Bulletin_Board/BulletinBoard_Submit</template>
|
</alerts>
|
<alerts>
|
<fullName>Bulletin_Board_Approved</fullName>
|
<ccEmails>xiaoyu_li@olympus.com.cn</ccEmails>
|
<ccEmails>dan1_liu@olympus.com.cn</ccEmails>
|
<ccEmails>olympus@prec-tech.com</ccEmails>
|
<description>揭示板批准</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Bulletin_Board/BulletinBoard_Approval</template>
|
</alerts>
|
<alerts>
|
<fullName>Bulletin_Board_Refuse</fullName>
|
<ccEmails>xiaoyu_li@olympus.com.cn</ccEmails>
|
<ccEmails>dan1_liu@olympus.com.cn</ccEmails>
|
<ccEmails>olympus@prec-tech.com</ccEmails>
|
<description>揭示板驳回</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Bulletin_Board/BulletinBoard_Reject</template>
|
</alerts>
|
<fieldUpdates>
|
<fullName>Board_closed_day</fullName>
|
<field>Board_CLosed_day__c</field>
|
<formula>today()</formula>
|
<name>掲示板公开结束日登录</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Board_update_Publication_date1</fullName>
|
<field>Board_open_day__c</field>
|
<formula>today()</formula>
|
<name>掲示板公开日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Board_update_day</fullName>
|
<field>Board_open_day__c</field>
|
<formula>today()</formula>
|
<name>掲示板公开日登录</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>BulletinBoardStatus</fullName>
|
<field>Board_status__c</field>
|
<literalValue>公开中</literalValue>
|
<name>揭示板状态</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>StatusUpdateOpenEnd</fullName>
|
<field>Board_status__c</field>
|
<literalValue>公开结束</literalValue>
|
<name>状态变成公开结束</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<rules>
|
<fullName>掲示板公开日</fullName>
|
<actions>
|
<name>Board_update_day</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Bulletin_Board__c.Board_status__c</field>
|
<operation>equals</operation>
|
<value>公开中</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Bulletin_Board__c.Board_open_day__c</field>
|
<operation>equals</operation>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>掲示板公开结束日</fullName>
|
<actions>
|
<name>Board_closed_day</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Bulletin_Board__c.Board_status__c</field>
|
<operation>equals</operation>
|
<value>公开结束</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Bulletin_Board__c.Board_CLosed_day__c</field>
|
<operation>equals</operation>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>揭示板%EF%BC%9A大于公开结束日状态变更</fullName>
|
<active>true</active>
|
<criteriaItems>
|
<field>Bulletin_Board__c.Board_category1__c</field>
|
<operation>equals</operation>
|
<value>备品中心全国揭示板</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Bulletin_Board__c.Board_status__c</field>
|
<operation>equals</operation>
|
<value>公开中</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Bulletin_Board__c.Board_CLosed_day__c</field>
|
<operation>notEqual</operation>
|
</criteriaItems>
|
<description>SWAG-C478M2</description>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
<workflowTimeTriggers>
|
<actions>
|
<name>StatusUpdateOpenEnd</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<offsetFromField>Bulletin_Board__c.Board_CLosed_day__c</offsetFromField>
|
<timeLength>1</timeLength>
|
<workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
|
</workflowTimeTriggers>
|
</rules>
|
<rules>
|
<fullName>揭示板公开结束日</fullName>
|
<actions>
|
<name>StatusUpdateOpenEnd</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<booleanFilter>1 AND 2 AND 3</booleanFilter>
|
<criteriaItems>
|
<field>Bulletin_Board__c.Which_dept_can_see__c</field>
|
<operation>equals</operation>
|
<value>备品中心内部可见</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Bulletin_Board__c.Board_status__c</field>
|
<operation>equals</operation>
|
<value>公开中</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Bulletin_Board__c.Board_CLosed_day__c</field>
|
<operation>notEqual</operation>
|
</criteriaItems>
|
<description>公开结束日有值,状态变成公开结束</description>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
</Workflow>
|