<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>InstructReportEmailService</fullName>
|
<description>带教报告审批通过邮件提醒</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<senderAddress>lu_liu@olympus.com.cn</senderAddress>
|
<senderType>OrgWideEmailAddress</senderType>
|
<template>CampainFolder/instructReportApprovalEmailTemplateService</template>
|
</alerts>
|
<alerts>
|
<fullName>ServiceInstructAproval</fullName>
|
<description>服务技师带教报告审批通过</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<senderAddress>lu_liu@olympus.com.cn</senderAddress>
|
<senderType>OrgWideEmailAddress</senderType>
|
<template>CampainFolder/instructReportApprovalEmailTemplateService</template>
|
</alerts>
|
<alerts>
|
<fullName>ServiceInstructNotAproval</fullName>
|
<description>服务技师带教报告审批拒绝</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<senderAddress>lu_liu@olympus.com.cn</senderAddress>
|
<senderType>OrgWideEmailAddress</senderType>
|
<template>CampainFolder/Meetting_InstructNotApproved</template>
|
</alerts>
|
<fieldUpdates>
|
<fullName>ApprovalDate</fullName>
|
<field>ApprovalDate__c</field>
|
<formula>Today()</formula>
|
<name>设置报告审批日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateInstructReportDate</fullName>
|
<description>设置报告提交日期</description>
|
<field>ReportDate__c</field>
|
<formula>Today()</formula>
|
<name>设置报告提交日期</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateInstructReportStatusToApply</fullName>
|
<field>Status__c</field>
|
<literalValue>审批中</literalValue>
|
<name>设定-状态修改到申请中</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateMailFlag_ApprovedToTrueInIR</fullName>
|
<description>设定cc审核邮件标签为真</description>
|
<field>MailFlag_Approved__c</field>
|
<literalValue>1</literalValue>
|
<name>设定cc审核邮件标签为真</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateStatusToNotApprovedInInstructRep</fullName>
|
<field>Status__c</field>
|
<literalValue>不批准</literalValue>
|
<name>设定-状态修改到不批准</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateStatustoApprovedInInstructReport</fullName>
|
<field>Status__c</field>
|
<literalValue>批准</literalValue>
|
<name>设定-状态修改到已批准</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateStatustoDraftInInstructReport</fullName>
|
<field>Status__c</field>
|
<literalValue>草案中</literalValue>
|
<name>设定-状态修改到草案中</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
</Workflow>
|