Created
March 14, 2020 08:18
-
-
Save waliasandeep/cc33d67ac05b287275a10100af825e12 to your computer and use it in GitHub Desktop.
Contacts Table Flow XML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Flow xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<assignments> | |
<name>Create_Row_HTML</name> | |
<label>Create Row HTML</label> | |
<locationX>315</locationX> | |
<locationY>211</locationY> | |
<assignmentItems> | |
<assignToReference>RowHTML</assignToReference> | |
<operator>Add</operator> | |
<value> | |
<stringValue><tr><td> <div class="slds-truncate">{!Contact.Name}</div> </td> <td> <div class="slds-truncate">{!Contact.Email}</div> </td> <td> <div class="slds-truncate">{!Contact.Fax}</div> </td></tr></stringValue> | |
</value> | |
</assignmentItems> | |
<connector> | |
<targetReference>Loop_Contacts</targetReference> | |
</connector> | |
</assignments> | |
<interviewLabel>Contacts Table {!$Flow.CurrentDateTime}</interviewLabel> | |
<label>Contacts Table</label> | |
<loops> | |
<name>Loop_Contacts</name> | |
<label>Loop Contacts</label> | |
<locationX>308</locationX> | |
<locationY>50</locationY> | |
<assignNextValueToReference>Contact</assignNextValueToReference> | |
<collectionReference>Get_Contacts</collectionReference> | |
<iterationOrder>Asc</iterationOrder> | |
<nextValueConnector> | |
<targetReference>Create_Row_HTML</targetReference> | |
</nextValueConnector> | |
<noMoreValuesConnector> | |
<targetReference>Contacts_Table</targetReference> | |
</noMoreValuesConnector> | |
</loops> | |
<processMetadataValues> | |
<name>BuilderType</name> | |
<value> | |
<stringValue>LightningFlowBuilder</stringValue> | |
</value> | |
</processMetadataValues> | |
<processMetadataValues> | |
<name>OriginBuilderType</name> | |
<value> | |
<stringValue>LightningFlowBuilder</stringValue> | |
</value> | |
</processMetadataValues> | |
<processType>Flow</processType> | |
<recordLookups> | |
<name>Get_Contacts</name> | |
<label>Get Contacts</label> | |
<locationX>180</locationX> | |
<locationY>50</locationY> | |
<assignNullValuesIfNoRecordsFound>false</assignNullValuesIfNoRecordsFound> | |
<connector> | |
<targetReference>Loop_Contacts</targetReference> | |
</connector> | |
<filters> | |
<field>AccountId</field> | |
<operator>EqualTo</operator> | |
<value> | |
<elementReference>RecordId</elementReference> | |
</value> | |
</filters> | |
<getFirstRecordOnly>false</getFirstRecordOnly> | |
<object>Contact</object> | |
<storeOutputAutomatically>true</storeOutputAutomatically> | |
</recordLookups> | |
<screens> | |
<name>Contacts_Table</name> | |
<label>Contacts Table</label> | |
<locationX>527</locationX> | |
<locationY>54</locationY> | |
<allowBack>true</allowBack> | |
<allowFinish>true</allowFinish> | |
<allowPause>true</allowPause> | |
<fields> | |
<name>HTML_Text</name> | |
<fieldText><p>{!HTMLHeader}{!RowHTML}</p></fieldText> | |
<fieldType>DisplayText</fieldType> | |
</fields> | |
<showFooter>false</showFooter> | |
<showHeader>true</showHeader> | |
</screens> | |
<start> | |
<locationX>50</locationX> | |
<locationY>50</locationY> | |
<connector> | |
<targetReference>Get_Contacts</targetReference> | |
</connector> | |
</start> | |
<status>Draft</status> | |
<variables> | |
<name>Contact</name> | |
<dataType>SObject</dataType> | |
<isCollection>false</isCollection> | |
<isInput>false</isInput> | |
<isOutput>false</isOutput> | |
<objectType>Contact</objectType> | |
</variables> | |
<variables> | |
<name>HTMLHeader</name> | |
<dataType>String</dataType> | |
<isCollection>false</isCollection> | |
<isInput>false</isInput> | |
<isOutput>false</isOutput> | |
<value> | |
<stringValue><table class="slds-table slds-table_cell-buffer slds-table_bordered"> <thead> <tr class="slds-line-height_reset"> <th class="" scope="col"> <div class="slds-truncate" title="Name">Name</div> </th> <th class="" scope="col"> <div class="slds-truncate" title="Email">Email</div> </th> <th class="" scope="col"> <div class="slds-truncate" title="Phone">Phone</div> </th> </tr> </thead> <tbody> <tr class="slds-hint-parent"></stringValue> | |
</value> | |
</variables> | |
<variables> | |
<name>RecordId</name> | |
<dataType>String</dataType> | |
<isCollection>false</isCollection> | |
<isInput>true</isInput> | |
<isOutput>false</isOutput> | |
</variables> | |
<variables> | |
<name>RowHTML</name> | |
<dataType>String</dataType> | |
<isCollection>false</isCollection> | |
<isInput>false</isInput> | |
<isOutput>false</isOutput> | |
</variables> | |
</Flow> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment