<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>InvalidDelegationEmailWarning</fullName>
|
<description>无效委托电子邮件警告</description>
|
<protected>false</protected>
|
<recipients>
|
<type>creator</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>task/InvalidDelegateEmailTemplate</template>
|
</alerts>
|
<alerts>
|
<fullName>NoReplyCloseRmailWarning</fullName>
|
<description>无回复关闭电子邮件警告</description>
|
<protected>false</protected>
|
<recipients>
|
<type>creator</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>task/CloseEmailTemplateWithoutReply</template>
|
</alerts>
|
<alerts>
|
<fullName>OBSAP_Task_Mail</fullName>
|
<description>OBSAP队列邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<recipient>X00_OBSAP_pricelist</recipient>
|
<type>group</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>task/EmailTemplate_Task_Queue_HTML_Custom</template>
|
</alerts>
|
<alerts>
|
<fullName>Quotation_email_alart</fullName>
|
<description>报价委托更新完毕</description>
|
<protected>false</protected>
|
<recipients>
|
<type>creator</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>task/Quotation_request_completed_new</template>
|
</alerts>
|
<alerts>
|
<fullName>ThereIsAnInquiryEmailWarning</fullName>
|
<description>已有询价电子邮件警告</description>
|
<protected>false</protected>
|
<recipients>
|
<type>creator</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>task/ExistingInquiryEmailTemplate</template>
|
</alerts>
|
<rules>
|
<fullName>报价委托任务邮件发送</fullName>
|
<actions>
|
<name>OBSAP_Task_Mail</name>
|
<type>Alert</type>
|
</actions>
|
<active>false</active>
|
<description>20230112-使用代码统一发送到群组邮箱,不再给群组下的所有人单独发送了</description>
|
<formula>IF(AND(CONTAINS(Subject, '报价委托'), OwnerId = '00G10000002qnIv'), true, false)</formula>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>报价委托更新完毕通知</fullName>
|
<active>false</active>
|
<formula>AND(ISCHANGED( Quotation_request_completed_time__c ), text(Status) <> "完成")</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>报价委托更新完毕通知new</fullName>
|
<actions>
|
<name>Quotation_email_alart</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<formula>AND(ISCHANGED( Quotation_request_completed_time__c ), text(Status) = "完了")</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
</Workflow>
|