<?xml version="1.0" encoding="UTF-8"?>
|
<ApprovalProcess xmlns="http://soap.sforce.com/2006/04/metadata">
|
<active>true</active>
|
<allowRecall>true</allowRecall>
|
<allowedSubmitters>
|
<type>allInternalUsers</type>
|
</allowedSubmitters>
|
<approvalPageFields>
|
<field>Name</field>
|
<field>Owner</field>
|
</approvalPageFields>
|
<approvalStep>
|
<allowDelegate>true</allowDelegate>
|
<assignedApprover>
|
<approver>
|
<name>NDT_loaner_manager</name>
|
<type>queue</type>
|
</approver>
|
<whenMultipleApprovers>FirstResponse</whenMultipleApprovers>
|
</assignedApprover>
|
<label>续借-样机管理者</label>
|
<name>X0</name>
|
</approvalStep>
|
<enableMobileDeviceAccess>false</enableMobileDeviceAccess>
|
<entryCriteria>
|
<criteriaItems>
|
<field>loaner_application__c.Loaner_Renewal__c</field>
|
<operation>equals</operation>
|
<value>申请中</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>loaner_application__c.CreatorUserType__c</field>
|
<operation>equals</operation>
|
<value>Standard</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>loaner_application__c.Equipment_Type__c</field>
|
<operation>equals</operation>
|
<value>NDT</value>
|
</criteriaItems>
|
</entryCriteria>
|
<finalApprovalActions>
|
<action>
|
<name>renew_add</name>
|
<type>FieldUpdate</type>
|
</action>
|
<action>
|
<name>Update_Status_Pass</name>
|
<type>FieldUpdate</type>
|
</action>
|
</finalApprovalActions>
|
<finalApprovalRecordLock>false</finalApprovalRecordLock>
|
<finalRejectionActions>
|
<action>
|
<name>Apply_Datenull</name>
|
<type>FieldUpdate</type>
|
</action>
|
<action>
|
<name>Update_status_Reject</name>
|
<type>FieldUpdate</type>
|
</action>
|
</finalRejectionActions>
|
<finalRejectionRecordLock>false</finalRejectionRecordLock>
|
<initialSubmissionActions>
|
<action>
|
<name>Apply_Date</name>
|
<type>FieldUpdate</type>
|
</action>
|
<action>
|
<name>Update_Status_Apply</name>
|
<type>FieldUpdate</type>
|
</action>
|
</initialSubmissionActions>
|
<label>内部人员(NDT)_续借</label>
|
<recallActions>
|
<action>
|
<name>Apply_Datenull</name>
|
<type>FieldUpdate</type>
|
</action>
|
<action>
|
<name>Update_Status_Null</name>
|
<type>FieldUpdate</type>
|
</action>
|
</recallActions>
|
<recordEditability>AdminOrCurrentApprover</recordEditability>
|
<showApprovalHistory>true</showApprovalHistory>
|
</ApprovalProcess>
|