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:
parent
eee5289de9
commit
29442efdc2
|
|
@ -263,62 +263,6 @@
|
|||
<label>No Email - Collect SMS Phone</label>
|
||||
</rules>
|
||||
</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><p>The selected recipient ({!Get_Recipient_Contact.Name}) does not have an email address on file. The envelope will be delivered via <strong>SMS text message</strong> instead.</p><p>Please enter the recipient&apos;s mobile phone number in E.164 format (e.g. <strong>+15551234567</strong>).</p></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>
|
||||
<interviewLabel>Docusign Envelope Templates V4 {!$Flow.CurrentDateTime}</interviewLabel>
|
||||
<label>Docusign Envelope Templates V4</label>
|
||||
|
|
@ -369,6 +313,30 @@
|
|||
</value>
|
||||
</processMetadataValues>
|
||||
<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>
|
||||
<name>DocuSign_Envelope_Templates</name>
|
||||
<label>DocuSign Envelope Templates</label>
|
||||
|
|
@ -426,6 +394,38 @@
|
|||
<queriedFields>Docusign_Recipient_1__c</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><p>The selected recipient ({!Get_Recipient_Contact.Name}) does not have an email address on file. The envelope will be delivered via <strong>SMS text message</strong> instead.</p><p>Please enter the recipient&apos;s mobile phone number in E.164 format (e.g. <strong>+15551234567</strong>).</p></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>
|
||||
<name>Envelope_template_records</name>
|
||||
<label>Envelope template records</label>
|
||||
|
|
|
|||
Loading…
Reference in New Issue