<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>ComplaintAgentMailW</fullName>
|
<description>经销商投诉邮件通知</description>
|
<protected>false</protected>
|
<recipients>
|
<recipient>it_prectech@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<recipients>
|
<recipient>kaitian_wang@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>CIC/ComplaintAgentMail</template>
|
</alerts>
|
<fieldUpdates>
|
<fullName>UpdateComplaintNumber</fullName>
|
<field>ComplaintNumber__c</field>
|
<formula>OCSM_Period__c+lpad(text(month(today())),2,'0')+'-'+ComplaintNo__c</formula>
|
<name>更新投诉编号</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<rules>
|
<fullName>经销商投诉邮件通知</fullName>
|
<actions>
|
<name>ComplaintAgentMailW</name>
|
<type>Alert</type>
|
</actions>
|
<actions>
|
<name>UpdateComplaintNumber</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>True</formula>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
</Workflow>
|