<?xml version="1.0" encoding="UTF-8"?>
|
<Flow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<actionCalls>
|
<processMetadataValues>
|
<name>emailAlertSelection</name>
|
<value>
|
<stringValue>opp_alert_03</stringValue>
|
</value>
|
</processMetadataValues>
|
<name>myRule_1_A1</name>
|
<label>签约提醒</label>
|
<locationX>100</locationX>
|
<locationY>200</locationY>
|
<actionName>Opportunity.opp_alert_03</actionName>
|
<actionType>emailAlert</actionType>
|
<connector>
|
<targetReference>myRule_1_A2</targetReference>
|
</connector>
|
<inputParameters>
|
<name>SObjectRowId</name>
|
<value>
|
<elementReference>myVariable_current.Id</elementReference>
|
</value>
|
</inputParameters>
|
<nameSegment>Opportunity.opp_alert_03</nameSegment>
|
<versionSegment>1</versionSegment>
|
</actionCalls>
|
<actionCalls>
|
<processMetadataValues>
|
<name>emailAlertSelection</name>
|
<value>
|
<stringValue>opp_alert_04</stringValue>
|
</value>
|
</processMetadataValues>
|
<name>myRule_3_A1</name>
|
<label>签约提醒2</label>
|
<locationX>300</locationX>
|
<locationY>200</locationY>
|
<actionName>Opportunity.opp_alert_04</actionName>
|
<actionType>emailAlert</actionType>
|
<connector>
|
<targetReference>myRule_3_A2</targetReference>
|
</connector>
|
<inputParameters>
|
<name>SObjectRowId</name>
|
<value>
|
<elementReference>myVariable_current.Id</elementReference>
|
</value>
|
</inputParameters>
|
<nameSegment>Opportunity.opp_alert_04</nameSegment>
|
<versionSegment>1</versionSegment>
|
</actionCalls>
|
<actionCalls>
|
<processMetadataValues>
|
<name>emailAlertSelection</name>
|
<value>
|
<stringValue>opp_alert_02</stringValue>
|
</value>
|
</processMetadataValues>
|
<name>myRule_5_A1</name>
|
<label>招标结果提醒</label>
|
<locationX>500</locationX>
|
<locationY>200</locationY>
|
<actionName>Opportunity.opp_alert_02</actionName>
|
<actionType>emailAlert</actionType>
|
<connector>
|
<targetReference>myRule_5_A2</targetReference>
|
</connector>
|
<inputParameters>
|
<name>SObjectRowId</name>
|
<value>
|
<elementReference>myVariable_current.Id</elementReference>
|
</value>
|
</inputParameters>
|
<nameSegment>Opportunity.opp_alert_02</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>myDecision</targetReference>
|
</connector>
|
</assignments>
|
<decisions>
|
<processMetadataValues>
|
<name>index</name>
|
<value>
|
<numberValue>0.0</numberValue>
|
</value>
|
</processMetadataValues>
|
<name>myDecision</name>
|
<label>myDecision</label>
|
<locationX>50</locationX>
|
<locationY>0</locationY>
|
<defaultConnector>
|
<targetReference>myDecision2</targetReference>
|
</defaultConnector>
|
<defaultConnectorLabel>default</defaultConnectorLabel>
|
<rules>
|
<name>myRule_1</name>
|
<conditionLogic>and</conditionLogic>
|
<conditions>
|
<processMetadataValues>
|
<name>inputDataType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>leftHandSideType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>operatorDataType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>rightHandSideType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<leftValueReference>myVariable_current.SightSendEmail_flag__c</leftValueReference>
|
<operator>EqualTo</operator>
|
<rightValue>
|
<booleanValue>true</booleanValue>
|
</rightValue>
|
</conditions>
|
<connector>
|
<targetReference>myRule_1_A1</targetReference>
|
</connector>
|
<label>签约发送邮件标识为真</label>
|
</rules>
|
</decisions>
|
<decisions>
|
<processMetadataValues>
|
<name>index</name>
|
<value>
|
<numberValue>1.0</numberValue>
|
</value>
|
</processMetadataValues>
|
<name>myDecision2</name>
|
<label>myDecision2</label>
|
<locationX>50</locationX>
|
<locationY>0</locationY>
|
<defaultConnector>
|
<targetReference>myDecision4</targetReference>
|
</defaultConnector>
|
<defaultConnectorLabel>default</defaultConnectorLabel>
|
<rules>
|
<name>myRule_3</name>
|
<conditionLogic>and</conditionLogic>
|
<conditions>
|
<processMetadataValues>
|
<name>inputDataType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>leftHandSideType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>operatorDataType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>rightHandSideType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<leftValueReference>myVariable_current.Sight2SendEmail_flag__c</leftValueReference>
|
<operator>EqualTo</operator>
|
<rightValue>
|
<booleanValue>true</booleanValue>
|
</rightValue>
|
</conditions>
|
<connector>
|
<targetReference>myRule_3_A1</targetReference>
|
</connector>
|
<label>签约2发送邮件标识等于真</label>
|
</rules>
|
</decisions>
|
<decisions>
|
<processMetadataValues>
|
<name>index</name>
|
<value>
|
<numberValue>2.0</numberValue>
|
</value>
|
</processMetadataValues>
|
<name>myDecision4</name>
|
<label>myDecision4</label>
|
<locationX>50</locationX>
|
<locationY>0</locationY>
|
<defaultConnectorLabel>default</defaultConnectorLabel>
|
<rules>
|
<name>myRule_5</name>
|
<conditionLogic>and</conditionLogic>
|
<conditions>
|
<processMetadataValues>
|
<name>inputDataType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>leftHandSideType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>operatorDataType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>rightHandSideType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<leftValueReference>myVariable_current.InyiteSendEmail_flag__c</leftValueReference>
|
<operator>EqualTo</operator>
|
<rightValue>
|
<booleanValue>true</booleanValue>
|
</rightValue>
|
</conditions>
|
<connector>
|
<targetReference>myRule_5_A1</targetReference>
|
</connector>
|
<label>招标发送邮件标识等于真</label>
|
</rules>
|
</decisions>
|
<description>签约、招标邮件自动发送</description>
|
<interviewLabel>SightWarm-1_Opportunity</interviewLabel>
|
<label>签约提醒</label>
|
<processMetadataValues>
|
<name>ObjectType</name>
|
<value>
|
<stringValue>Opportunity</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>
|
<recordUpdates>
|
<processMetadataValues>
|
<name>evaluationType</name>
|
<value>
|
<stringValue>always</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>isChildRelationship</name>
|
<value>
|
<booleanValue>false</booleanValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>reference</name>
|
<value>
|
<stringValue>[Opportunity]</stringValue>
|
</value>
|
</processMetadataValues>
|
<name>myRule_1_A2</name>
|
<label>重置签约邮件发送标识</label>
|
<locationX>100</locationX>
|
<locationY>300</locationY>
|
<filterLogic>and</filterLogic>
|
<filters>
|
<processMetadataValues>
|
<name>implicit</name>
|
<value>
|
<booleanValue>true</booleanValue>
|
</value>
|
</processMetadataValues>
|
<field>Id</field>
|
<operator>EqualTo</operator>
|
<value>
|
<elementReference>myVariable_current.Id</elementReference>
|
</value>
|
</filters>
|
<inputAssignments>
|
<processMetadataValues>
|
<name>dataType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>isRequired</name>
|
<value>
|
<booleanValue>false</booleanValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>leftHandSideLabel</name>
|
<value>
|
<stringValue>签约发送邮件标识</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>rightHandSideType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<field>SightSendEmail_flag__c</field>
|
<value>
|
<booleanValue>false</booleanValue>
|
</value>
|
</inputAssignments>
|
<object>Opportunity</object>
|
</recordUpdates>
|
<recordUpdates>
|
<processMetadataValues>
|
<name>evaluationType</name>
|
<value>
|
<stringValue>always</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>isChildRelationship</name>
|
<value>
|
<booleanValue>false</booleanValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>reference</name>
|
<value>
|
<stringValue>[Opportunity]</stringValue>
|
</value>
|
</processMetadataValues>
|
<name>myRule_3_A2</name>
|
<label>重置签约2发送邮件标识</label>
|
<locationX>300</locationX>
|
<locationY>300</locationY>
|
<filterLogic>and</filterLogic>
|
<filters>
|
<processMetadataValues>
|
<name>implicit</name>
|
<value>
|
<booleanValue>true</booleanValue>
|
</value>
|
</processMetadataValues>
|
<field>Id</field>
|
<operator>EqualTo</operator>
|
<value>
|
<elementReference>myVariable_current.Id</elementReference>
|
</value>
|
</filters>
|
<inputAssignments>
|
<processMetadataValues>
|
<name>dataType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>isRequired</name>
|
<value>
|
<booleanValue>false</booleanValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>leftHandSideLabel</name>
|
<value>
|
<stringValue>签约2发送邮件标识</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>rightHandSideType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<field>Sight2SendEmail_flag__c</field>
|
<value>
|
<booleanValue>false</booleanValue>
|
</value>
|
</inputAssignments>
|
<object>Opportunity</object>
|
</recordUpdates>
|
<recordUpdates>
|
<processMetadataValues>
|
<name>evaluationType</name>
|
<value>
|
<stringValue>always</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>isChildRelationship</name>
|
<value>
|
<booleanValue>false</booleanValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>reference</name>
|
<value>
|
<stringValue>[Opportunity]</stringValue>
|
</value>
|
</processMetadataValues>
|
<name>myRule_5_A2</name>
|
<label>重置招标邮件标识</label>
|
<locationX>500</locationX>
|
<locationY>300</locationY>
|
<filterLogic>and</filterLogic>
|
<filters>
|
<processMetadataValues>
|
<name>implicit</name>
|
<value>
|
<booleanValue>true</booleanValue>
|
</value>
|
</processMetadataValues>
|
<field>Id</field>
|
<operator>EqualTo</operator>
|
<value>
|
<elementReference>myVariable_current.Id</elementReference>
|
</value>
|
</filters>
|
<inputAssignments>
|
<processMetadataValues>
|
<name>dataType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>isRequired</name>
|
<value>
|
<booleanValue>false</booleanValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>leftHandSideLabel</name>
|
<value>
|
<stringValue>招标发送邮件标识</stringValue>
|
</value>
|
</processMetadataValues>
|
<processMetadataValues>
|
<name>rightHandSideType</name>
|
<value>
|
<stringValue>Boolean</stringValue>
|
</value>
|
</processMetadataValues>
|
<field>InyiteSendEmail_flag__c</field>
|
<value>
|
<booleanValue>false</booleanValue>
|
</value>
|
</inputAssignments>
|
<object>Opportunity</object>
|
</recordUpdates>
|
<startElementReference>myVariable_waitStartTimeAssignment</startElementReference>
|
<status>Obsolete</status>
|
<variables>
|
<name>myVariable_current</name>
|
<dataType>SObject</dataType>
|
<isCollection>false</isCollection>
|
<isInput>true</isInput>
|
<isOutput>true</isOutput>
|
<objectType>Opportunity</objectType>
|
</variables>
|
<variables>
|
<name>myVariable_old</name>
|
<dataType>SObject</dataType>
|
<isCollection>false</isCollection>
|
<isInput>true</isInput>
|
<isOutput>false</isOutput>
|
<objectType>Opportunity</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>
|