fix(flow): consolidate all recordLookups and screens into single groups in V4

Get_Recipient_Contact was in a separate <recordLookups> block before <environments>
and SMS_Phone_Screen was in a separate <screens> block before <environments>,
both causing 'Element ... is duplicated' deploy errors. Moved both into their
respective contiguous element groups alongside the existing V3 elements.
This commit is contained in:
Paul Huliganga 2026-03-13 11:34:07 -04:00
parent eee5289de9
commit 29442efdc2
1 changed files with 56 additions and 56 deletions

View File

@ -263,62 +263,6 @@
<label>No Email - Collect SMS Phone</label> <label>No Email - Collect SMS Phone</label>
</rules> </rules>
</decisions> </decisions>
<recordLookups>
<name>Get_Recipient_Contact</name>
<label>Get Recipient Contact</label>
<locationX>611</locationX>
<locationY>242</locationY>
<assignNullValuesIfNoRecordsFound>true</assignNullValuesIfNoRecordsFound>
<connector>
<targetReference>Is_Recipient_Email_Blank</targetReference>
</connector>
<filterLogic>and</filterLogic>
<filters>
<field>Id</field>
<operator>EqualTo</operator>
<value>
<elementReference>Get_Records.Docusign_Recipient_1__c</elementReference>
</value>
</filters>
<getFirstRecordOnly>true</getFirstRecordOnly>
<object>Contact</object>
<queriedFields>Id</queriedFields>
<queriedFields>Email</queriedFields>
<queriedFields>Name</queriedFields>
<storeOutputAutomatically>true</storeOutputAutomatically>
</recordLookups>
<screens>
<name>SMS_Phone_Screen</name>
<label>Recipient Mobile Phone for SMS Delivery</label>
<locationX>842</locationX>
<locationY>458</locationY>
<allowBack>false</allowBack>
<allowFinish>true</allowFinish>
<allowPause>false</allowPause>
<connector>
<targetReference>Is_Language_Selected</targetReference>
</connector>
<fields>
<name>SMS_Instructions_Text</name>
<fieldText>&lt;p&gt;The selected recipient ({!Get_Recipient_Contact.Name}) does not have an email address on file. The envelope will be delivered via &lt;strong&gt;SMS text message&lt;/strong&gt; instead.&lt;/p&gt;&lt;p&gt;Please enter the recipient&amp;apos;s mobile phone number in E.164 format (e.g. &lt;strong&gt;+15551234567&lt;/strong&gt;).&lt;/p&gt;</fieldText>
<fieldType>DisplayText</fieldType>
</fields>
<fields>
<name>recipientSmsPhone_Input</name>
<dataType>String</dataType>
<fieldText>Recipient Mobile Phone Number</fieldText>
<fieldType>InputField</fieldType>
<isRequired>true</isRequired>
<outputParameters>
<assignToReference>recipientSmsPhone</assignToReference>
<name>value</name>
</outputParameters>
<scale>0</scale>
</fields>
<nextOrFinishButtonLabel>Next</nextOrFinishButtonLabel>
<showFooter>true</showFooter>
<showHeader>true</showHeader>
</screens>
<environments>Default</environments> <environments>Default</environments>
<interviewLabel>Docusign Envelope Templates V4 {!$Flow.CurrentDateTime}</interviewLabel> <interviewLabel>Docusign Envelope Templates V4 {!$Flow.CurrentDateTime}</interviewLabel>
<label>Docusign Envelope Templates V4</label> <label>Docusign Envelope Templates V4</label>
@ -369,6 +313,30 @@
</value> </value>
</processMetadataValues> </processMetadataValues>
<processType>Flow</processType> <processType>Flow</processType>
<recordLookups>
<name>Get_Recipient_Contact</name>
<label>Get Recipient Contact</label>
<locationX>611</locationX>
<locationY>242</locationY>
<assignNullValuesIfNoRecordsFound>true</assignNullValuesIfNoRecordsFound>
<connector>
<targetReference>Is_Recipient_Email_Blank</targetReference>
</connector>
<filterLogic>and</filterLogic>
<filters>
<field>Id</field>
<operator>EqualTo</operator>
<value>
<elementReference>Get_Records.Docusign_Recipient_1__c</elementReference>
</value>
</filters>
<getFirstRecordOnly>true</getFirstRecordOnly>
<object>Contact</object>
<queriedFields>Id</queriedFields>
<queriedFields>Email</queriedFields>
<queriedFields>Name</queriedFields>
<storeOutputAutomatically>true</storeOutputAutomatically>
</recordLookups>
<recordLookups> <recordLookups>
<name>DocuSign_Envelope_Templates</name> <name>DocuSign_Envelope_Templates</name>
<label>DocuSign Envelope Templates</label> <label>DocuSign Envelope Templates</label>
@ -426,6 +394,38 @@
<queriedFields>Docusign_Recipient_1__c</queriedFields> <queriedFields>Docusign_Recipient_1__c</queriedFields>
<storeOutputAutomatically>true</storeOutputAutomatically> <storeOutputAutomatically>true</storeOutputAutomatically>
</recordLookups> </recordLookups>
<screens>
<name>SMS_Phone_Screen</name>
<label>Recipient Mobile Phone for SMS Delivery</label>
<locationX>842</locationX>
<locationY>458</locationY>
<allowBack>false</allowBack>
<allowFinish>true</allowFinish>
<allowPause>false</allowPause>
<connector>
<targetReference>Is_Language_Selected</targetReference>
</connector>
<fields>
<name>SMS_Instructions_Text</name>
<fieldText>&lt;p&gt;The selected recipient ({!Get_Recipient_Contact.Name}) does not have an email address on file. The envelope will be delivered via &lt;strong&gt;SMS text message&lt;/strong&gt; instead.&lt;/p&gt;&lt;p&gt;Please enter the recipient&amp;apos;s mobile phone number in E.164 format (e.g. &lt;strong&gt;+15551234567&lt;/strong&gt;).&lt;/p&gt;</fieldText>
<fieldType>DisplayText</fieldType>
</fields>
<fields>
<name>recipientSmsPhone_Input</name>
<dataType>String</dataType>
<fieldText>Recipient Mobile Phone Number</fieldText>
<fieldType>InputField</fieldType>
<isRequired>true</isRequired>
<outputParameters>
<assignToReference>recipientSmsPhone</assignToReference>
<name>value</name>
</outputParameters>
<scale>0</scale>
</fields>
<nextOrFinishButtonLabel>Next</nextOrFinishButtonLabel>
<showFooter>true</showFooter>
<showHeader>true</showHeader>
</screens>
<screens> <screens>
<name>Envelope_template_records</name> <name>Envelope_template_records</name>
<label>Envelope template records</label> <label>Envelope template records</label>