<?xml version="1.0" encoding="UTF-8"?>
|
<Flow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<actionCalls>
|
<processMetadataValues>
|
<name>selectionType</name>
|
<value>
|
<stringValue>firstFound</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>submitterType</name>
|
<value>
|
<stringValue>currentUser</stringValue>
|
</value>
|
</processMetadataValues>
|
<name>myRule_1_A1</name>
|
<label>提交申请</label>
|
<locationX>100</locationX>
|
<locationY>200</locationY>
|
<actionName>submit</actionName>
|
<actionType>submit</actionType>
|
<inputParameters>
|
<name>objectId</name>
|
<value>
|
<elementReference>myVariable_current.Id</elementReference>
|
</value>
|
</inputParameters>
|
<inputParameters>
|
<name>comment</name>
|
</inputParameters>
|
<nameSegment>submit</nameSegment>
|
<versionSegment>1</versionSegment>
|
</actionCalls>
|
<apiVersion>49.0</apiVersion>
|
<assignments>
|
<name>myVariable_waitStartTimeAssignment</name>
|
<label>myVariable_waitStartTimeAssignment</label>
|
<locationX>0</locationX>
|
<locationY>0</locationY>
|
<assignmentItems>
|
<assignToReference>myVariable_waitStartTimeVariable</assignToReference>
|
<operator>Assign</operator>
|
<value>
|
<elementReference>$Flow.CurrentDateTime</elementReference>
|
</value>
|
</assignmentItems>
|
<connector>
|
<targetReference>isChangedDecision2_myRule_1_Repair_quotation_status_c</targetReference>
|
</connector>
|
</assignments>
|
<decisions>
|
<name>isChangedDecision2_myRule_1_Repair_quotation_status_c</name>
|
<label>isChangedDecision2_myRule_1_Repair_quotation_status_c</label>
|
<locationX>0</locationX>
|
<locationY>0</locationY>
|
<defaultConnector>
|
<targetReference>myDecision</targetReference>
|
</defaultConnector>
|
<defaultConnectorLabel>default</defaultConnectorLabel>
|
<rules>
|
<name>isChangedRule_2_myRule_1_Repair_quotation_status_c</name>
|
<conditionLogic>and</conditionLogic>
|
<conditions>
|
<leftValueReference>myVariable_old</leftValueReference>
|
<operator>IsNull</operator>
|
<rightValue>
|
<booleanValue>false</booleanValue>
|
</rightValue>
|
</conditions>
|
<conditions>
|
<leftValueReference>myVariable_old.Repair_quotation_status__c</leftValueReference>
|
<operator>NotEqualTo</operator>
|
<rightValue>
|
<elementReference>myVariable_current.Repair_quotation_status__c</elementReference>
|
</rightValue>
|
</conditions>
|
<connector>
|
<targetReference>myDecision</targetReference>
|
</connector>
|
<label>isChangedRule_2_myRule_1_Repair_quotation_status_c</label>
|
</rules>
|
</decisions>
|
<decisions>
|
<name>myDecision</name>
|
<label>Primary Decision</label>
|
<locationX>50</locationX>
|
<locationY>0</locationY>
|
<defaultConnectorLabel>default</defaultConnectorLabel>
|
<rules>
|
<name>myRule_1</name>
|
<conditionLogic>and</conditionLogic>
|
<conditions>
|
<processMetadataValues>
|
<name>inputDataType</name>
|
<value>
|
<stringValue>Picklist</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>leftHandSideType</name>
|
<value>
|
<stringValue>Picklist</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>operatorDataType</name>
|
<value>
|
<stringValue>String</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>rightHandSideType</name>
|
<value>
|
<stringValue>Picklist</stringValue>
|
</value>
|
</processMetadataValues>
|
<leftValueReference>myVariable_current.Repair_quotation_status__c</leftValueReference>
|
<operator>EqualTo</operator>
|
<rightValue>
|
<stringValue>减价申请填写完毕</stringValue>
|
</rightValue>
|
</conditions>
|
<conditions>
|
<processMetadataValues>
|
<name>inputDataType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>leftHandSideType</name>
|
<value>
|
<stringValue>Picklist</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>operatorDataType</name>
|
<value>
|
<stringValue>String</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>rightHandSideType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<leftValueReference>isChangedRule_2_myRule_1_Repair_quotation_status_c</leftValueReference>
|
<operator>EqualTo</operator>
|
<rightValue>
|
<booleanValue>true</booleanValue>
|
</rightValue>
|
</conditions>
|
<connector>
|
<targetReference>myRule_1_A1</targetReference>
|
</connector>
|
<label>满足减价申请条件</label>
|
</rules>
|
</decisions>
|
<description>减价申请</description>
|
<interviewLabel>Repair_Discount_Apply-3_Repair_Quotation__c</interviewLabel>
|
<label>减价申请</label>
|
<processMetadataValues>
|
<name>ObjectType</name>
|
<value>
|
<stringValue>Repair_Quotation__c</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>ObjectVariable</name>
|
<value>
|
<elementReference>myVariable_current</elementReference>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>OldObjectVariable</name>
|
<value>
|
<elementReference>myVariable_old</elementReference>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>TriggerType</name>
|
<value>
|
<stringValue>onAllChanges</stringValue>
|
</value>
|
</processMetadataValues>
|
<processType>Workflow</processType>
|
<startElementReference>myVariable_waitStartTimeAssignment</startElementReference>
|
<status>Draft</status>
|
<variables>
|
<name>myVariable_current</name>
|
<dataType>SObject</dataType>
|
<isCollection>false</isCollection>
|
<isInput>true</isInput>
|
<isOutput>true</isOutput>
|
<objectType>Repair_Quotation__c</objectType>
|
</variables>
|
<variables>
|
<name>myVariable_old</name>
|
<dataType>SObject</dataType>
|
<isCollection>false</isCollection>
|
<isInput>true</isInput>
|
<isOutput>false</isOutput>
|
<objectType>Repair_Quotation__c</objectType>
|
</variables>
|
<variables>
|
<name>myVariable_waitStartTimeVariable</name>
|
<dataType>DateTime</dataType>
|
<isCollection>false</isCollection>
|
<isInput>false</isInput>
|
<isOutput>false</isOutput>
|
<value>
|
<elementReference>$Flow.CurrentDateTime</elementReference>
|
</value>
|
</variables>
|
</Flow>
|