<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fieldUpdates>
|
<fullName>Approve</fullName>
|
<field>Status__c</field>
|
<literalValue>已批准</literalValue>
|
<name>字段更新-已批准</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>ApproveIndex</fullName>
|
<field>ApproveIndex__c</field>
|
<literalValue>1</literalValue>
|
<name>字段更新-审批标识</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Draft</fullName>
|
<field>Status__c</field>
|
<literalValue>草案中</literalValue>
|
<name>字段更新-草案中</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Reject</fullName>
|
<field>Status__c</field>
|
<literalValue>驳回</literalValue>
|
<name>字段更新-驳回</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>RequestIndex</fullName>
|
<field>RequestIndex__c</field>
|
<literalValue>1</literalValue>
|
<name>字段更新-申请中标识</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>RollBackRequestIndex</fullName>
|
<field>RequestIndex__c</field>
|
<literalValue>0</literalValue>
|
<name>字段恢复-申请中标识</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SetApproveTime</fullName>
|
<field>ApproveTime__c</field>
|
<formula>NOW()</formula>
|
<name>设置批准时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Submit</fullName>
|
<field>Status__c</field>
|
<literalValue>已提交</literalValue>
|
<name>字段更新-已提交</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
</fieldUpdates>
|
</Workflow>
|