<?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>
|
<field>Name2__c</field>
|
<field>Lesson_Type__c</field>
|
<field>CancleReason__c</field>
|
</approvalPageFields>
|
<approvalStep>
|
<allowDelegate>false</allowDelegate>
|
<assignedApprover>
|
<approver>
|
<name>ServiceDesignDep__c</name>
|
<type>relatedUserField</type>
|
</approver>
|
<whenMultipleApprovers>FirstResponse</whenMultipleApprovers>
|
</assignedApprover>
|
<description>记得修改自定义标签为宫天晓</description>
|
<label>医疗服务本部审批_取消</label>
|
<name>ServiceDepApprovalProcessInCancel</name>
|
</approvalStep>
|
<approvalStep>
|
<allowDelegate>false</allowDelegate>
|
<assignedApprover>
|
<approver>
|
<name>JingliApprovalManager__c</name>
|
<type>relatedUserField</type>
|
</approver>
|
<whenMultipleApprovers>FirstResponse</whenMultipleApprovers>
|
</assignedApprover>
|
<entryCriteria>
|
<criteriaItems>
|
<field>Campaign.Is_JingliEqualBuzhang__c</field>
|
<operation>equals</operation>
|
<value>False</value>
|
</criteriaItems>
|
</entryCriteria>
|
<ifCriteriaNotMet>GotoNextStep</ifCriteriaNotMet>
|
<label>CL6 经理级审批_取消</label>
|
<name>ManagerApprovalProcessInCancel</name>
|
<rejectBehavior>
|
<type>RejectRequest</type>
|
</rejectBehavior>
|
</approvalStep>
|
<approvalStep>
|
<allowDelegate>false</allowDelegate>
|
<assignedApprover>
|
<approver>
|
<name>BuchangApprovalManager__c</name>
|
<type>relatedUserField</type>
|
</approver>
|
<whenMultipleApprovers>FirstResponse</whenMultipleApprovers>
|
</assignedApprover>
|
<label>CL6 经理级审批_取消</label>
|
<name>DepManagerApprovalProcessInCancel</name>
|
<rejectBehavior>
|
<type>RejectRequest</type>
|
</rejectBehavior>
|
</approvalStep>
|
<emailTemplate>CampainFolder/CancleShenpiEmailService</emailTemplate>
|
<enableMobileDeviceAccess>false</enableMobileDeviceAccess>
|
<entryCriteria>
|
<criteriaItems>
|
<field>Campaign.RecordType</field>
|
<operation>equals</operation>
|
<value>4.服务培训/技师培养</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Campaign.Status</field>
|
<operation>equals</operation>
|
<value>取消申请中</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Campaign.IsCancelFromOpen__c</field>
|
<operation>equals</operation>
|
<value>True</value>
|
</criteriaItems>
|
</entryCriteria>
|
<finalApprovalActions>
|
<action>
|
<name>ActionServiceCancelUpdate</name>
|
<type>FieldUpdate</type>
|
</action>
|
<action>
|
<name>CancelApprovelEmailService</name>
|
<type>Alert</type>
|
</action>
|
<action>
|
<name>Set_status_as_cancle</name>
|
<type>FieldUpdate</type>
|
</action>
|
</finalApprovalActions>
|
<finalApprovalRecordLock>true</finalApprovalRecordLock>
|
<finalRejectionActions>
|
<action>
|
<name>ActionEmailServiceNotAproval</name>
|
<type>Alert</type>
|
</action>
|
<action>
|
<name>Set_status_as_prepare</name>
|
<type>FieldUpdate</type>
|
</action>
|
<action>
|
<name>SetCancleReasonNull</name>
|
<type>FieldUpdate</type>
|
</action>
|
<action>
|
<name>UpdateCancelDate2NullInCampaign</name>
|
<type>FieldUpdate</type>
|
</action>
|
</finalRejectionActions>
|
<finalRejectionRecordLock>false</finalRejectionRecordLock>
|
<initialSubmissionActions>
|
<action>
|
<name>UpdateCancelDateInCampaign</name>
|
<type>FieldUpdate</type>
|
</action>
|
</initialSubmissionActions>
|
<label>服务技师会议计划从公开中取消审批</label>
|
<processOrder>6</processOrder>
|
<recallActions>
|
<action>
|
<name>Set_status_as_prepare</name>
|
<type>FieldUpdate</type>
|
</action>
|
<action>
|
<name>SetCancleReasonNull</name>
|
<type>FieldUpdate</type>
|
</action>
|
<action>
|
<name>UpdateCancelDate2NullInCampaign</name>
|
<type>FieldUpdate</type>
|
</action>
|
</recallActions>
|
<recordEditability>AdminOnly</recordEditability>
|
<showApprovalHistory>false</showApprovalHistory>
|
</ApprovalProcess>
|