fix(flow): move Is_Recipient_Email_Blank into contiguous decisions group in V4

Salesforce Flow XML requires all elements of the same type to be grouped
together. Is_Recipient_Email_Blank was in a separate <decisions> block after
<recordLookups>, causing 'Element decisions is duplicated' deploy error.
Moved it into the existing decisions group and removed the orphaned block.
This commit is contained in:
Paul Huliganga 2026-03-13 11:29:13 -04:00
parent 3f3fe8dd71
commit eee5289de9
1 changed files with 24 additions and 24 deletions

View File

@ -231,30 +231,6 @@
<label>Yes</label> <label>Yes</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>
<decisions> <decisions>
<name>Is_Recipient_Email_Blank</name> <name>Is_Recipient_Email_Blank</name>
<label>Is Recipient Email Blank?</label> <label>Is Recipient Email Blank?</label>
@ -287,6 +263,30 @@
<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> <screens>
<name>SMS_Phone_Screen</name> <name>SMS_Phone_Screen</name>
<label>Recipient Mobile Phone for SMS Delivery</label> <label>Recipient Mobile Phone for SMS Delivery</label>