<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>Disclose_respect_ENDO</fullName>
|
<description>产品资料公开申请-ENDO-</description>
|
<protected>false</protected>
|
<recipients>
|
<recipient>xiaoli_yang@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Olympus_OCM/Service_contract_comfirm_request</template>
|
</alerts>
|
<alerts>
|
<fullName>Disclose_respect_GI</fullName>
|
<description>产品资料公开申请-GI-</description>
|
<protected>false</protected>
|
<recipients>
|
<recipient>it_prectech@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Olympus_OCM/Service_contract_comfirm_request</template>
|
</alerts>
|
<alerts>
|
<fullName>Disclose_respect_SP</fullName>
|
<description>产品资料公开申请-SP-</description>
|
<protected>false</protected>
|
<recipients>
|
<recipient>weiliang_li@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Olympus_OCM/Service_contract_comfirm_request</template>
|
</alerts>
|
<alerts>
|
<fullName>Disclose_respect_education</fullName>
|
<description>产品资料公开申请-教育-</description>
|
<protected>false</protected>
|
<recipients>
|
<recipient>Te2am_member</recipient>
|
<type>group</type>
|
</recipients>
|
<recipients>
|
<recipient>zhenlei_du@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Olympus_OCM/Service_contract_comfirm_request</template>
|
</alerts>
|
<alerts>
|
<fullName>Product_material_deleate_request</fullName>
|
<description>产品资料删除申请</description>
|
<protected>false</protected>
|
<recipients>
|
<recipient>manli_wu@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<recipients>
|
<recipient>weiliang_li@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Olympus_OCM/Product_material_deleate_request</template>
|
</alerts>
|
<fieldUpdates>
|
<fullName>Job_category_text</fullName>
|
<field>job_category_text__c</field>
|
<formula>job_category__c</formula>
|
<name>职种文本化</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Product_Documentation_Name</fullName>
|
<field>Name</field>
|
<formula>"PD-" + Text(Product_category__c) + "-" + Document_No__c</formula>
|
<name>产品资料名设定</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Product_material_open_text</fullName>
|
<field>Open_target_text__c</field>
|
<formula>Text(Open_target__c)</formula>
|
<name>资料可视范围文本化</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Product_material_stage_text</fullName>
|
<description>产品资料状态文本化</description>
|
<field>Material_status_text__c</field>
|
<formula>Text(Material_status__c)</formula>
|
<name>产品资料状态文本化</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Productmaterial_status_submit</fullName>
|
<field>Material_status__c</field>
|
<literalValue>申请中</literalValue>
|
<name>设定-产品资料状态 申请中</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Set_close_day</fullName>
|
<field>Material_closed_day__c</field>
|
<formula>today()</formula>
|
<name>设定-公开结束日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Set_open_day</fullName>
|
<field>Material_open_day__c</field>
|
<formula>today()</formula>
|
<name>设定-产品资料公开日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Set_status_open</fullName>
|
<field>Material_status__c</field>
|
<literalValue>公开中</literalValue>
|
<name>设定-状态更新到公开中</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Set_submit_day</fullName>
|
<field>Submit_day__c</field>
|
<formula>today()</formula>
|
<name>设定-公开申请日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Set_submit_day_blank</fullName>
|
<field>Submit_day__c</field>
|
<name>设定-申请日(空)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Status_change_close</fullName>
|
<field>Material_status__c</field>
|
<literalValue>公开结束</literalValue>
|
<name>设定-状态(公开结束)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>set_status_draft</fullName>
|
<field>Material_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>Set_close_day</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Status_change_close</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Product_Documentation__c.Close_material__c</field>
|
<operation>equals</operation>
|
<value>真</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Product_Documentation__c.Material_status__c</field>
|
<operation>notEqual</operation>
|
<value>公开结束</value>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>产品资料删除申请</fullName>
|
<actions>
|
<name>Product_material_deleate_request</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Product_Documentation__c.Material_deleate_request__c</field>
|
<operation>equals</operation>
|
<value>真</value>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>产品资料名设定</fullName>
|
<actions>
|
<name>Product_Documentation_Name</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>Isnew() || Ischanged(Product_category__c)</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>产品资料状态文本化</fullName>
|
<actions>
|
<name>Job_category_text</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Product_material_stage_text</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>True</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
</Workflow>
|