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:
parent
3f3fe8dd71
commit
eee5289de9
|
|
@ -231,30 +231,6 @@
|
|||
<label>Yes</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>
|
||||
<decisions>
|
||||
<name>Is_Recipient_Email_Blank</name>
|
||||
<label>Is Recipient Email Blank?</label>
|
||||
|
|
@ -287,6 +263,30 @@
|
|||
<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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue