<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>Inspection_NG_Email</fullName>
|
<ccEmails>sfdc_lvxueyan@olympus.com.cn</ccEmails>
|
<description>明细验收NG邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Asset_Receiving/Inspection_NG_Email</template>
|
</alerts>
|
<rules>
|
<fullName>明细验收NG邮件</fullName>
|
<actions>
|
<name>Inspection_NG_Email</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>ReceivingNoteDetail__c.After_Inspection_time__c</field>
|
<operation>notEqual</operation>
|
</criteriaItems>
|
<criteriaItems>
|
<field>ReceivingNoteDetail__c.Inspection_result_after__c</field>
|
<operation>equals</operation>
|
<value>NG</value>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
</Workflow>
|