<?xml version="1.0" encoding="UTF-8"?>
|
<ApprovalProcess xmlns="http://soap.sforce.com/2006/04/metadata">
|
<active>true</active>
|
<allowRecall>true</allowRecall>
|
<allowedSubmitters>
|
<type>owner</type>
|
</allowedSubmitters>
|
<approvalPageFields>
|
<field>Name</field>
|
<field>Owner</field>
|
</approvalPageFields>
|
<approvalStep>
|
<allowDelegate>false</allowDelegate>
|
<assignedApprover>
|
<approver>
|
<name>AP_Manager__c</name>
|
<type>relatedUserField</type>
|
</approver>
|
<whenMultipleApprovers>FirstResponse</whenMultipleApprovers>
|
</assignedApprover>
|
<label>特价产品申请状态批准</label>
|
<name>DiscountProductApplicationApprove</name>
|
</approvalStep>
|
<enableMobileDeviceAccess>false</enableMobileDeviceAccess>
|
<entryCriteria>
|
<criteriaItems>
|
<field>DiscountProductApplication__c.ApplicationStatus__c</field>
|
<operation>equals</operation>
|
<value>草案中,驳回</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>DiscountProductApplication__c.RecordType</field>
|
<operation>equals</operation>
|
<value>产品折扣</value>
|
</criteriaItems>
|
</entryCriteria>
|
<finalApprovalActions>
|
<action>
|
<name>SpecialProductApproval</name>
|
<type>Alert</type>
|
</action>
|
<action>
|
<name>statusApprove</name>
|
<type>FieldUpdate</type>
|
</action>
|
</finalApprovalActions>
|
<finalApprovalRecordLock>false</finalApprovalRecordLock>
|
<finalRejectionActions>
|
<action>
|
<name>SpecialOfferRejected</name>
|
<type>Alert</type>
|
</action>
|
<action>
|
<name>StatusCancel</name>
|
<type>FieldUpdate</type>
|
</action>
|
</finalRejectionActions>
|
<finalRejectionRecordLock>false</finalRejectionRecordLock>
|
<initialSubmissionActions>
|
<action>
|
<name>SpecialOfferProductSubmission</name>
|
<type>Alert</type>
|
</action>
|
<action>
|
<name>statusApplication</name>
|
<type>FieldUpdate</type>
|
</action>
|
</initialSubmissionActions>
|
<label>特价产品申请状态批准</label>
|
<processOrder>2</processOrder>
|
<recallActions>
|
<action>
|
<name>Draft</name>
|
<type>FieldUpdate</type>
|
</action>
|
</recallActions>
|
<recordEditability>AdminOrCurrentApprover</recordEditability>
|
<showApprovalHistory>false</showApprovalHistory>
|
</ApprovalProcess>
|