Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions force-app/main/default/flows/smoke-01-add_node.flow-meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@
<Flow xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>66.0</apiVersion>
<areMetricsLoggedToDataCloud>false</areMetricsLoggedToDataCloud>
<decisions>
<name>Includes_Jawn</name>
<label>Includes Jawn</label>
<locationX>0</locationX>
<locationY>0</locationY>
<defaultConnectorLabel>Default Outcome</defaultConnectorLabel>
<rules>
<name>Yes</name>
<conditionLogic>and</conditionLogic>
<conditions>
<leftValueReference>$Record.Name</leftValueReference>
<operator>Contains</operator>
<rightValue>
<stringValue>&quot;Jawn&quot;</stringValue>
</rightValue>
</conditions>
<label>Yes</label>
</rules>
</decisions>
<environments>Default</environments>
<formulas>
<name>AddJawnToName</name>
Expand Down Expand Up @@ -34,6 +53,9 @@
<label>Jawnify</label>
<locationX>0</locationX>
<locationY>0</locationY>
<connector>
<targetReference>Includes_Jawn</targetReference>
</connector>
<inputAssignments>
<field>Name</field>
<value>
Expand Down
88 changes: 86 additions & 2 deletions force-app/main/default/flows/smoke-02-add_screen.flow-meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,95 @@
</value>
</processMetadataValues>
<processType>Flow</processType>
<screens>
<name>Configure_Options</name>
<label>Configure Options</label>
<locationX>176</locationX>
<locationY>287</locationY>
<allowBack>true</allowBack>
<allowFinish>false</allowFinish>
<allowPause>true</allowPause>
<connector>
<targetReference>Welcome</targetReference>
</connector>
<fields>
<name>Intro</name>
<fieldText>&lt;p&gt;Choose how the records should be transferred. &lt;a href=&quot;https://example.com&quot; target=&quot;_blank&quot;&gt;Learn more.&lt;/a&gt;&lt;/p&gt;</fieldText>
<fieldType>DisplayText</fieldType>
</fields>
<fields>
<name>Single_Column_Section</name>
<fieldText>Account options</fieldText>
<fieldType>RegionContainer</fieldType>
<fields>
<name>Single_Column_Section_Column1</name>
<fieldType>Region</fieldType>
<fields>
<name>Transfer_Notes</name>
<dataType>Boolean</dataType>
<fieldText>Also transfer Notes and Attachments</fieldText>
<fieldType>InputField</fieldType>
<isRequired>true</isRequired>
</fields>
<inputParameters>
<name>width</name>
<value>
<stringValue>12</stringValue>
</value>
</inputParameters>
<isRequired>false</isRequired>
</fields>
<isRequired>false</isRequired>
<regionContainerType>SectionWithHeader</regionContainerType>
</fields>
<fields>
<name>Two_Column_Section</name>
<fieldType>RegionContainer</fieldType>
<fields>
<name>Two_Column_Section_Column1</name>
<fieldType>Region</fieldType>
<fields>
<name>Keep_Team</name>
<dataType>Boolean</dataType>
<fieldText>Keep the Account Team</fieldText>
<fieldType>InputField</fieldType>
<isRequired>true</isRequired>
</fields>
<inputParameters>
<name>width</name>
<value>
<stringValue>6</stringValue>
</value>
</inputParameters>
<isRequired>false</isRequired>
</fields>
<fields>
<name>Two_Column_Section_Column2</name>
<fieldType>Region</fieldType>
<fields>
<name>Help_Text</name>
<fieldText>&lt;p&gt;If unchecked, the Account Team is removed.&lt;/p&gt;</fieldText>
<fieldType>DisplayText</fieldType>
</fields>
<inputParameters>
<name>width</name>
<value>
<stringValue>6</stringValue>
</value>
</inputParameters>
<isRequired>false</isRequired>
</fields>
<isRequired>false</isRequired>
<regionContainerType>SectionWithoutHeader</regionContainerType>
</fields>
<showFooter>true</showFooter>
<showHeader>true</showHeader>
</screens>
<screens>
<name>Welcome</name>
<label>Welcome</label>
<locationX>176</locationX>
<locationY>287</locationY>
<locationY>431</locationY>
<allowBack>true</allowBack>
<allowFinish>true</allowFinish>
<allowPause>true</allowPause>
Expand All @@ -37,7 +121,7 @@
<locationX>176</locationX>
<locationY>0</locationY>
<connector>
<targetReference>Welcome</targetReference>
<targetReference>Configure_Options</targetReference>
</connector>
</start>
<status>Active</status>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
<nameSegment>TriggerActionFlowAddError</nameSegment>
<versionSegment>1</versionSegment>
</actionCalls>
<apiVersion>59.0</apiVersion>
<apiVersion>60.0</apiVersion>
<runInMode>SystemModeWithoutSharing</runInMode>
<assignments>
<name>Populate_Tag</name>
<label>Populate Tag</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
<targetReference>Get_Aurora_Tag_Definition</targetReference>
</connector>
</start>
<status>Active</status>
<status>Draft</status>
<variables>
<name>record</name>
<dataType>SObject</dataType>
Expand Down
25 changes: 2 additions & 23 deletions force-app/main/default/flows/smoke-05-delete_node.flow-meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,11 @@
</value>
</processMetadataValues>
<processType>Flow</processType>
<recordLookups>
<name>Get_Accounts</name>
<label>Get Accounts</label>
<locationX>176</locationX>
<locationY>134</locationY>
<assignNullValuesIfNoRecordsFound>false</assignNullValuesIfNoRecordsFound>
<connector>
<targetReference>Show_Result</targetReference>
</connector>
<filterLogic>and</filterLogic>
<filters>
<field>Name</field>
<operator>NotEqualTo</operator>
<value>
<stringValue>Test Account</stringValue>
</value>
</filters>
<getFirstRecordOnly>true</getFirstRecordOnly>
<object>Account</object>
<storeOutputAutomatically>true</storeOutputAutomatically>
</recordLookups>
<screens>
<name>Show_Result</name>
<label>Show Result</label>
<locationX>176</locationX>
<locationY>287</locationY>
<locationY>134</locationY>
<allowBack>true</allowBack>
<allowFinish>true</allowFinish>
<allowPause>true</allowPause>
Expand All @@ -58,7 +37,7 @@
<locationX>176</locationX>
<locationY>0</locationY>
<connector>
<targetReference>Get_Accounts</targetReference>
<targetReference>Show_Result</targetReference>
</connector>
</start>
<status>Active</status>
Expand Down
25 changes: 25 additions & 0 deletions force-app/main/default/flows/smoke-06-fault_path.flow-meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@
</value>
</assignmentItems>
</assignments>
<customErrors>
<name>Error_on_Get_Children</name>
<label>Error on Get Children</label>
<locationX>0</locationX>
<locationY>0</locationY>
<customErrorMessages>
<errorMessage>{!ErrorMessage}</errorMessage>
<isFieldError>false</isFieldError>
</customErrorMessages>
</customErrors>
<decisions>
<name>Includes_Jawn</name>
<label>Includes Jawn</label>
Expand All @@ -41,6 +51,13 @@
<stringValue>&quot;Jawn&quot;</stringValue>
</rightValue>
</conditions>
<conditions>
<leftValueReference>$Record.CreatedById</leftValueReference>
<operator>IsNull</operator>
<rightValue>
<booleanValue>false</booleanValue>
</rightValue>
</conditions>
<label>Yes</label>
</rules>
</decisions>
Expand Down Expand Up @@ -80,6 +97,9 @@
<connector>
<targetReference>Jawnify</targetReference>
</connector>
<faultConnector>
<targetReference>Error_on_Get_Children</targetReference>
</faultConnector>
<filterLogic>and</filterLogic>
<filters>
<field>AccountId</field>
Expand Down Expand Up @@ -119,4 +139,9 @@
<triggerType>RecordBeforeSave</triggerType>
</start>
<status>Draft</status>
<textTemplates>
<name>ErrorMessage</name>
<isViewedAsPlainText>false</isViewedAsPlainText>
<text>&lt;p&gt;ERROR! ERROR! ERROR!&lt;/p&gt;</text>
</textTemplates>
</Flow>
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
<elementReference>AddJawnToName</elementReference>
</value>
</assignmentItems>
<assignmentItems>
<assignToReference>$Record.Description</assignToReference>
<operator>Add</operator>
<value>
<elementReference>AddJawnToName</elementReference>
</value>
</assignmentItems>
</assignments>
<decisions>
<name>Includes_Jawn</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@
<stringValue>&quot;Jawn&quot;</stringValue>
</rightValue>
</conditions>
<conditions>
<leftValueReference>$Record.CreatedById</leftValueReference>
<operator>IsNull</operator>
<rightValue>
<booleanValue>false</booleanValue>
</rightValue>
</conditions>
<label>Yes</label>
</rules>
</decisions>
Expand Down
8 changes: 4 additions & 4 deletions force-app/main/default/flows/smoke-09-noop_save.flow-meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<recordUpdates>
<name>Jawnify</name>
<label>Jawnify</label>
<locationX>0</locationX>
<locationY>0</locationY>
<locationX>170</locationX>
<locationY>642</locationY>
<inputAssignments>
<field>Name</field>
<value>
Expand All @@ -43,8 +43,8 @@
<inputReference>$Record</inputReference>
</recordUpdates>
<start>
<locationX>0</locationX>
<locationY>0</locationY>
<locationX>330</locationX>
<locationY>48</locationY>
<connector>
<targetReference>Jawnify</targetReference>
</connector>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<locationX>0</locationX>
<locationY>0</locationY>
<defaultConnector>
<targetReference>Get_Children</targetReference>
<targetReference>Jawn_that_Jawn</targetReference>
</defaultConnector>
<defaultConnectorLabel>No</defaultConnectorLabel>
<rules>
Expand Down Expand Up @@ -78,7 +78,7 @@
<locationY>0</locationY>
<assignNullValuesIfNoRecordsFound>false</assignNullValuesIfNoRecordsFound>
<connector>
<targetReference>Jawn_that_Jawn</targetReference>
<targetReference>Jawnify</targetReference>
</connector>
<filterLogic>and</filterLogic>
<filters>
Expand Down Expand Up @@ -112,7 +112,7 @@
<locationX>0</locationX>
<locationY>0</locationY>
<connector>
<targetReference>Jawnify</targetReference>
<targetReference>Get_Children</targetReference>
</connector>
<object>Account</object>
<recordTriggerType>CreateAndUpdate</recordTriggerType>
Expand Down
Loading