Skip to content

Commit

Permalink
Standardize capitalization, labels, and apinames in our example flow.…
Browse files Browse the repository at this point in the history
… And remove unused components
  • Loading branch information
pickettd committed Feb 7, 2024
1 parent db9f9ee commit 77565b3
Showing 1 changed file with 63 additions and 90 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,54 +2,63 @@
<Flow xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>59.0</apiVersion>
<assignments>
<name>setFieldNames</name>
<label>setTableFieldNames</label>
<name>Set_Input_Table_Field_Names</name>
<label>Set Input Table Field Names</label>
<locationX>176</locationX>
<locationY>134</locationY>
<assignmentItems>
<assignToReference>inputTableFieldNames</assignToReference>
<assignToReference>Input_Table_Field_Names</assignToReference>
<operator>Add</operator>
<value>
<stringValue>Name</stringValue>
</value>
</assignmentItems>
<assignmentItems>
<assignToReference>inputTableFieldNames</assignToReference>
<assignToReference>Input_Table_Field_Names</assignToReference>
<operator>Add</operator>
<value>
<stringValue>Phone</stringValue>
</value>
</assignmentItems>
<assignmentItems>
<assignToReference>inputTableFieldNames</assignToReference>
<assignToReference>Input_Table_Field_Names</assignToReference>
<operator>Add</operator>
<value>
<stringValue>NumberOfEmployees</stringValue>
</value>
</assignmentItems>
<assignmentItems>
<assignToReference>inputTableFieldNames</assignToReference>
<assignToReference>Input_Table_Field_Names</assignToReference>
<operator>Add</operator>
<value>
<stringValue>Website</stringValue>
</value>
</assignmentItems>
<assignmentItems>
<assignToReference>inputTableFieldNames</assignToReference>
<assignToReference>Input_Table_Field_Names</assignToReference>
<operator>Add</operator>
<value>
<stringValue>Description</stringValue>
</value>
</assignmentItems>
<connector>
<targetReference>Set_Selected_Table_Field_Names</targetReference>
</connector>
</assignments>
<assignments>
<name>Set_Selected_Table_Field_Names</name>
<label>Set Selected Table Field Names</label>
<locationX>176</locationX>
<locationY>242</locationY>
<assignmentItems>
<assignToReference>selectedTableFieldNames</assignToReference>
<assignToReference>Selected_Table_Field_Names</assignToReference>
<operator>Add</operator>
<value>
<stringValue>Name</stringValue>
</value>
</assignmentItems>
<assignmentItems>
<assignToReference>selectedTableFieldNames</assignToReference>
<assignToReference>Selected_Table_Field_Names</assignToReference>
<operator>Add</operator>
<value>
<stringValue>NumberOfEmployees</stringValue>
Expand Down Expand Up @@ -88,7 +97,7 @@
<name>Get_Accounts</name>
<label>Get Accounts</label>
<locationX>176</locationX>
<locationY>242</locationY>
<locationY>350</locationY>
<assignNullValuesIfNoRecordsFound
>false</assignNullValuesIfNoRecordsFound>
<connector>
Expand All @@ -103,150 +112,143 @@
</value>
</filters>
<object>Account</object>
<outputReference>InputAccountList</outputReference>
<outputReference>Input_Account_List</outputReference>
<queriedFields>Id</queriedFields>
<queriedFields>Name</queriedFields>
<queriedFields>Phone</queriedFields>
<queriedFields>NumberOfEmployees</queriedFields>
<queriedFields>Website</queriedFields>
<queriedFields>Description</queriedFields>
</recordLookups>
<screens>
<name>Example_Screen_Element_With_Another_Action</name>
<label>Example Screen Element With Another Action</label>
<locationX>176</locationX>
<locationY>566</locationY>
<allowBack>true</allowBack>
<allowFinish>true</allowFinish>
<allowPause>true</allowPause>
<connector>
<isGoTo>true</isGoTo>
<targetReference>LWC_Screen_Element</targetReference>
</connector>
<fields>
<name>Display_Static_Text</name>
<fieldText
>&lt;p&gt;We wait and do things now...&lt;/p&gt;</fieldText>
<fieldType>DisplayText</fieldType>
</fields>
<showFooter>true</showFooter>
<showHeader>true</showHeader>
</screens>
<screens>
<name>LWC_Screen_Element</name>
<label>LWC Screen Element</label>
<locationX>176</locationX>
<locationY>350</locationY>
<locationY>458</locationY>
<allowBack>true</allowBack>
<allowFinish>true</allowFinish>
<allowPause>true</allowPause>
<connector>
<targetReference>Selected_IDs_Screen_Element</targetReference>
<targetReference
>Example_Screen_Element_With_Another_Action</targetReference>
</connector>
<fields>
<name>grid</name>
<name>Display_Sticky_Selectron</name>
<dataTypeMappings>
<typeName>T</typeName>
<typeValue>Account</typeValue>
</dataTypeMappings>
<!--<extensionName>slctrn:stickySelectronMain</extensionName>-->
<extensionName
>%%%NAMESPACE_OR_C%%%:stickySelectronMain</extensionName>
<fieldType>ComponentInstance</fieldType>
<inputParameters>
<name>inputTableFieldNames</name>
<value>
<elementReference>inputTableFieldNames</elementReference>
<elementReference>Input_Table_Field_Names</elementReference>
</value>
</inputParameters>
<inputParameters>
<name>inputSObjectsList</name>
<value>
<elementReference>InputAccountList</elementReference>
<elementReference>Input_Account_List</elementReference>
</value>
</inputParameters>
<inputParameters>
<name>selectedTableFieldNames</name>
<value>
<elementReference>selectedTableFieldNames</elementReference>
<elementReference
>Selected_Table_Field_Names</elementReference>
</value>
</inputParameters>
<inputParameters>
<name>selectedSObjectsList</name>
<value>
<elementReference>SelectedAccountList</elementReference>
<elementReference>Selected_Account_List</elementReference>
</value>
</inputParameters>
<inputParameters>
<name>listCount</name>
<value>
<elementReference>ListCount</elementReference>
<elementReference>List_Count</elementReference>
</value>
</inputParameters>
<inputParameters>
<name>selectedListCount</name>
<value>
<elementReference>SelectedListCount</elementReference>
<elementReference>Selected_List_Count</elementReference>
</value>
</inputParameters>
<inputParameters>
<name>tableHeader</name>
<value>
<stringValue>Records</stringValue>
<stringValue>Accounts</stringValue>
</value>
</inputParameters>
<inputsOnNextNavToAssocScrn
>UseStoredValues</inputsOnNextNavToAssocScrn>
<isRequired>true</isRequired>
<outputParameters>
<assignToReference>ListCount</assignToReference>
<assignToReference>List_Count</assignToReference>
<name>listCount</name>
</outputParameters>
<outputParameters>
<assignToReference>SelectedListCount</assignToReference>
<assignToReference>Selected_List_Count</assignToReference>
<name>selectedListCount</name>
</outputParameters>
<outputParameters>
<assignToReference>SelectedAccountList</assignToReference>
<assignToReference>Selected_Account_List</assignToReference>
<name>selectedSObjectsList</name>
</outputParameters>
</fields>
<showFooter>true</showFooter>
<showHeader>true</showHeader>
</screens>
<screens>
<name>Selected_IDs_Screen_Element</name>
<label>Selected IDs Screen Element</label>
<locationX>176</locationX>
<locationY>458</locationY>
<allowBack>true</allowBack>
<allowFinish>true</allowFinish>
<allowPause>true</allowPause>
<connector>
<isGoTo>true</isGoTo>
<targetReference>LWC_Screen_Element</targetReference>
</connector>
<fields>
<name>displayContactIds</name>
<fieldText
>&lt;p&gt;We wait and do things now...&lt;/p&gt;</fieldText>
<fieldType>DisplayText</fieldType>
</fields>
<showFooter>true</showFooter>
<showHeader>true</showHeader>
</screens>
<start>
<locationX>50</locationX>
<locationY>0</locationY>
<connector>
<targetReference>setFieldNames</targetReference>
<targetReference>Set_Input_Table_Field_Names</targetReference>
</connector>
</start>
<status>Draft</status>
<variables>
<name>ContactList</name>
<dataType>SObject</dataType>
<isCollection>true</isCollection>
<isInput>true</isInput>
<isOutput>true</isOutput>
<objectType>Contact</objectType>
</variables>
<variables>
<name>InputAccountList</name>
<name>Input_Account_List</name>
<dataType>SObject</dataType>
<isCollection>true</isCollection>
<isInput>true</isInput>
<isOutput>true</isOutput>
<objectType>Account</objectType>
</variables>
<variables>
<name>inputTableFieldNames</name>
<name>Input_Table_Field_Names</name>
<dataType>String</dataType>
<isCollection>true</isCollection>
<isInput>false</isInput>
<isOutput>false</isOutput>
</variables>
<variables>
<name>ListCount</name>
<name>List_Count</name>
<dataType>Number</dataType>
<isCollection>false</isCollection>
<isInput>false</isInput>
Expand All @@ -257,24 +259,15 @@
</value>
</variables>
<variables>
<name>SelectedAccountList</name>
<name>Selected_Account_List</name>
<dataType>SObject</dataType>
<isCollection>true</isCollection>
<isInput>true</isInput>
<isOutput>true</isOutput>
<objectType>Account</objectType>
</variables>
<variables>
<description>Selected Contacts List</description>
<name>SelectedContactList</name>
<dataType>SObject</dataType>
<isCollection>true</isCollection>
<isInput>true</isInput>
<isOutput>true</isOutput>
<objectType>Contact</objectType>
</variables>
<variables>
<name>SelectedListCount</name>
<name>Selected_List_Count</name>
<dataType>Number</dataType>
<isCollection>false</isCollection>
<isInput>false</isInput>
Expand All @@ -285,30 +278,10 @@
</value>
</variables>
<variables>
<name>selectedTableFieldNames</name>
<name>Selected_Table_Field_Names</name>
<dataType>String</dataType>
<isCollection>true</isCollection>
<isInput>false</isInput>
<isOutput>false</isOutput>
</variables>
<variables>
<name>sObjectApiName</name>
<dataType>String</dataType>
<isCollection>false</isCollection>
<isInput>false</isInput>
<isOutput>false</isOutput>
<value>
<stringValue>Account</stringValue>
</value>
</variables>
<variables>
<name>TableHeader</name>
<dataType>String</dataType>
<isCollection>false</isCollection>
<isInput>false</isInput>
<isOutput>false</isOutput>
<value>
<stringValue>Participants</stringValue>
</value>
</variables>
</Flow>

0 comments on commit 77565b3

Please sign in to comment.