<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>ElementSavedMail</fullName>
|
<ccEmails>si_yingye@olympus.com.cn</ccEmails>
|
<description>招标参数保存后发送邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>Opportunity_sub_owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Owner_Manager__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Prospect/ElementMailModel</template>
|
</alerts>
|
<alerts>
|
<fullName>FinalTestMailSend</fullName>
|
<ccEmails>si_yingye@olympus.com.cn</ccEmails>
|
<description>最终测试报告邮件发送</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Oppor_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Opportunity_sub_owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Majordomo__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Owner_Manager__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Prospect/SIFileSaveMail</template>
|
</alerts>
|
<alerts>
|
<fullName>OCAP_TUVSaveMail</fullName>
|
<ccEmails>si_yingye@olympus.com.cn</ccEmails>
|
<description>OCAP/TUV认证保存邮件提醒</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<recipient>tongyun_pan@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<recipients>
|
<field>Oppor_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Opportunity_sub_owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_File_Majordomo_Sell__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_File_Manager_Sell__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Prospect/SIFileSaveMail</template>
|
</alerts>
|
<alerts>
|
<fullName>ProJect_Book_Mail</fullName>
|
<ccEmails>SI_yingye@olympus.com.cn</ccEmails>
|
<description>项目方案书上传邮件提醒</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>Opportunity_sub_owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_File_Majordomo_Sell__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_File_Manager_Sell__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_File_Minister_Sell__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Prospect/ElementMailModel</template>
|
</alerts>
|
<alerts>
|
<fullName>SI_File_Project_Mail</fullName>
|
<ccEmails>si_yingye@olympus.com.cn</ccEmails>
|
<description>标书提交审批邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<recipient>meng_zhang@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<recipients>
|
<field>Opportunity_sub_owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Majordomo__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Minister__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Owner_Manager__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Prospect/SIFile_Target_Submit_pro</template>
|
</alerts>
|
<alerts>
|
<fullName>SaveMailFor_Opera</fullName>
|
<ccEmails>si_yingye@olympus.com.cn</ccEmails>
|
<description>手术室净化平面图保存邮件提醒</description>
|
<protected>false</protected>
|
<recipients>
|
<recipient>tongyun_pan@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<recipients>
|
<field>Opportunity_sub_owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_File_Majordomo_Sell__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_File_Minister_Sell__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Prospect/SIFileSaveMail</template>
|
</alerts>
|
<alerts>
|
<fullName>TargetFileSaveMail</fullName>
|
<ccEmails>si_yingye@olympus.com.cn</ccEmails>
|
<description>标书保存邮件提醒</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<recipient>tongyun_pan@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<recipients>
|
<field>Opportunity_sub_owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Majordomo__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Minister__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Prospect/SIFileSaveMail</template>
|
</alerts>
|
<alerts>
|
<fullName>TechDiffTableSaveMail</fullName>
|
<ccEmails>si_yingye@olympus.com.cn</ccEmails>
|
<description>技术偏离表保存邮件提醒</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>Opportunity_sub_owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SI_SOD_Owner__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Prospect/SIFileSaveMail</template>
|
</alerts>
|
<fieldUpdates>
|
<fullName>Bid_Confrim_Stream</fullName>
|
<field>bid_Confrim_Date__c</field>
|
<formula>today()</formula>
|
<name>标书确认日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>true</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>NameIche</fullName>
|
<field>Name__c</field>
|
<formula>Name</formula>
|
<name>文件名称统一</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SetFileName</fullName>
|
<field>Name</field>
|
<formula>Opportunity_ID__r.Opportunity_No__c + Text(Type__c) + Text(today()) +'-'+ IF(Last_Two_Number__c<10,'0'+Text(Last_Two_Number__c),Text(Last_Two_Number__c))</formula>
|
<name>设定文件名</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>true</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SetProjectDate</fullName>
|
<field>ProJect_Confirm_Date__c</field>
|
<formula>today()</formula>
|
<name>设置日期</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>true</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SetSubmitDate</fullName>
|
<field>Submit_Date__c</field>
|
<formula>today()</formula>
|
<name>设置批准时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>updateName</fullName>
|
<field>Name__c</field>
|
<formula>Opportunity_ID__r.Opportunity_No__c + Text(Type__c) + Text(today()) +'-'+IF(Last_Two_Number__c<10,'0'+Text(Last_Two_Number__c),Text(Last_Two_Number__c))</formula>
|
<name>同步名称</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<rules>
|
<fullName>OCAP%2FTUV认证保存</fullName>
|
<actions>
|
<name>OCAP_TUVSaveMail</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>SI_Attachment__c.Type__c</field>
|
<operation>equals</operation>
|
<value>OCAP/TUV认证</value>
|
</criteriaItems>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>SI_FileName_Creator</fullName>
|
<actions>
|
<name>SetFileName</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>updateName</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>true</formula>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>UpdateName</fullName>
|
<actions>
|
<name>NameIche</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>SI_Attachment__c.Name</field>
|
<operation>notEqual</operation>
|
</criteriaItems>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>手术室净化平面图保存邮件</fullName>
|
<actions>
|
<name>SaveMailFor_Opera</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>SI_Attachment__c.Type__c</field>
|
<operation>equals</operation>
|
<value>手术室净化平面图(含设备定位)</value>
|
</criteriaItems>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>技术偏离表保存</fullName>
|
<actions>
|
<name>TechDiffTableSaveMail</name>
|
<type>Alert</type>
|
</actions>
|
<active>false</active>
|
<criteriaItems>
|
<field>SI_Attachment__c.Type__c</field>
|
<operation>equals</operation>
|
<value>技术偏离表</value>
|
</criteriaItems>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>招标参数保存后邮件提醒</fullName>
|
<actions>
|
<name>ElementSavedMail</name>
|
<type>Alert</type>
|
</actions>
|
<active>false</active>
|
<criteriaItems>
|
<field>SI_Attachment__c.Type__c</field>
|
<operation>equals</operation>
|
<value>招标参数</value>
|
</criteriaItems>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>文件名称入例</fullName>
|
<active>false</active>
|
<formula>true</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>最终测试报告保存邮件</fullName>
|
<actions>
|
<name>FinalTestMailSend</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>SI_Attachment__c.Type__c</field>
|
<operation>equals</operation>
|
<value>最终测试报告</value>
|
</criteriaItems>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>标书保存邮件</fullName>
|
<actions>
|
<name>TargetFileSaveMail</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>SI_Attachment__c.Type__c</field>
|
<operation>equals</operation>
|
<value>标书</value>
|
</criteriaItems>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>项目方案书上传成功</fullName>
|
<actions>
|
<name>ProJect_Book_Mail</name>
|
<type>Alert</type>
|
</actions>
|
<active>false</active>
|
<criteriaItems>
|
<field>SI_Attachment__c.Type__c</field>
|
<operation>equals</operation>
|
<value>项目方案书</value>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
</Workflow>
|