diff --git a/force-app/main/default/flows/Unsubscribe_Link_Setup.flow-meta.xml b/force-app/main/default/flows/Unsubscribe_Link_Setup.flow-meta.xml
index 9f92119..4bb5f20 100644
--- a/force-app/main/default/flows/Unsubscribe_Link_Setup.flow-meta.xml
+++ b/force-app/main/default/flows/Unsubscribe_Link_Setup.flow-meta.xml
@@ -3,8 +3,8 @@
Contact_Batch
- 577
- 4010
+ 0
+ 0UUIDBatchInvocableapex
@@ -30,13 +30,12 @@
UUIDBatchInvocable
- 1LeadBatch
- 577
- 4118
+ 0
+ 0UUIDBatchInvocableapex
@@ -62,14 +61,13 @@
UUIDBatchInvocable
- 1
- 61.0
+ 64.0ass_final_value_of_sender_email
- 445
- 1238
+ 0
+ 0var_FinalRecord.Org_Wide_Email_Address__cAssign
@@ -91,8 +89,8 @@
ass_final_value_of_sender_email_0
- 709
- 1022
+ 0
+ 0var_FinalRecord.Org_Wide_Email_Address__cAssign
@@ -115,8 +113,8 @@
Assign selections made on previous screensAssign_Modified_Value
- 577
- 3494
+ 0
+ 0var_FinalRecord.Screen_1_Part_2__cAssign
@@ -188,8 +186,8 @@
Assign values to the default if this is their first time creating a record.Default_AssignValues
- 709
- 506
+ 0
+ 0var_FinalRecord.Screen_3__cAssign
@@ -289,8 +287,8 @@
Assign values to the final variable if this is their second or later time filling this out.EXISTINGAssignValues
- 445
- 398
+ 0
+ 0var_FinalRecord.Screen_3__cAssign
@@ -390,8 +388,8 @@
Assign values to the final variable based on answers to the initial screen.UpdateFinalValues
- 578
- 1373
+ 0
+ 0var_FinalRecord.Confirmation_Email_Text__cAssign
@@ -460,8 +458,8 @@
Confirmation_EmailSend
- 577
- 2978
+ 0
+ 0Get_Experience_Site
@@ -485,8 +483,8 @@
dec_Org_wide_confirmation_email_sender
- 577
- 914
+ 0
+ 0ass_final_value_of_sender_email_0
@@ -511,8 +509,8 @@
Does a setup record exist alreadyExistingRecordSameName_0
- 577
- 290
+ 0
+ 0CompanyName
@@ -537,8 +535,8 @@
Does a setup record exist alreadyExistingRecordSameName_0_0
- 577
- 3602
+ 0
+ 0Create_Record
@@ -562,8 +560,8 @@
Include_screen_1
- 577
- 2270
+ 0
+ 0Screen2PreviewScreen_0
@@ -587,8 +585,8 @@
IncludeScreen3Decision
- 577
- 2678
+ 0
+ 0Confirmation_EmailSend
@@ -609,7 +607,14 @@
- Included creating an org wide email address for confirmation email sender. And profile security.
+ Included creating an org wide email address for confirmation email sender. And profile security.
+
+July 2025 Updates:
+added progress bar (issue #113)--activated progress bar (was not active in version connected to pull request)
+added explanation of implications for company name (issue #93)
+resolved unhandled faults related to org-wide email address creation by preventing users to back track to previous screens and updated the record choice set to include non-verified email addresses (issue #114)
+updated final screen to clarify the flow is finished but can be run again if needed (issue #105)
+added explanation text to all preview screens (issue #144)Pick another org wide email to get an error message.ErrorEmailAddress
@@ -633,27 +638,13 @@
senderOrgWideEmailsString
- DisplayName
- 1 AND (2 OR 3)
-
- IsVerified
- EqualTo
-
- true
-
-
-
- Purpose
- EqualTo
-
- DefaultNoreply
-
-
+ Address
+ andPurpose
- EqualTo
+ NotEqualTo
- UserSelectionAndDefaultNoReply
+ UserSelection
@@ -693,7 +684,7 @@
CanvasMode
- FREE_FORM_CANVAS
+ AUTO_LAYOUT_CANVAS
@@ -707,8 +698,8 @@
Create the Org wide email address used by the confirmation email as the sender.Create_Org_Wide_Email_0
- 445
- 1022
+ 0
+ 0ass_final_value_of_sender_email
@@ -743,8 +734,8 @@
Create the UL record.Create_Record
- 709
- 3710
+ 0
+ 0Create_Public_Ids
@@ -754,8 +745,8 @@
Collect Experience Site informationsGet_Experience_Site
- 577
- 3278
+ 0
+ 0falseGet_My_Domain
@@ -768,8 +759,8 @@
Collect URL from Experience SiteGet_My_Domain
- 577
- 3386
+ 0
+ 0falseAssign_Modified_Value
@@ -789,8 +780,8 @@
getULSetup
- 577
- 182
+ 0
+ 0falseExistingRecordSameName_0
@@ -802,8 +793,8 @@
Update_existing_record
- 445
- 3710
+ 0
+ 0Create_Public_Ids
@@ -812,8 +803,8 @@
CompanyName
- 709
- 398
+ 0
+ 0falsetruefalse
@@ -821,43 +812,20 @@
Default_AssignValues
- CompanyName_Section1
- RegionContainer
-
- CompanyName_Section1_Column1
- Region
-
- FinalOrgName
- String
-
- $Organization.Name
-
- What is your organization or company name?
- InputField
- UseStoredValues
- false
-
-
- width
-
- 6
-
-
- false
-
-
- CompanyName_Section1_Column2
- Region
-
- width
-
- 6
-
-
- false
-
+ S01_T01_CompanyNameInstructions
+ <p><strong style="font-size: 16px;">Set Company Name</strong></p><p><br></p><p>When someone clicks the unsubscribe link they will see a confirmation page that includes your company's name.</p><p>We have pre-populated the text with the name listed in Setup under Company Info but you may customize it here, if desired.</p>
+ DisplayText
+
+
+ FinalOrgName
+ String
+
+ $Organization.Name
+
+ Company name as it will appear on the unsubscribe confirmation page:
+ InputField
+ UseStoredValuesfalse
- SectionWithoutHeaderNexttrue
@@ -866,25 +834,26 @@
completeScreen
- 577
- 4226
- true
+ 0
+ 0
+ falsetrue
- true
+ falseDonedisplayText
- <p><span style="font-size: 20px;">You are done!</span></p>
+ <p><span style="font-size: 20px;">You are done! </span></p><p><br></p><p><span style="font-size: 20px;">If you need to make any changes, click Run Again. </span><span style="font-size: 20px; background-color: rgb(255, 255, 255);">Otherwise, just close this window.</span></p>DisplayText
+ Run AgaintruefalseConfirmationEmailPreviewScreen
- 445
- 3086
- true
+ 0
+ 0
+ falsetruefalse
@@ -892,7 +861,7 @@
confirmationEmailDisplayText
- <p><strong style="font-size: 20px;">PREVIEW</strong></p><p><em>The email recipient receives an email. </em></p><p>{!horizontalLine1}</p><p><br></p><p><span style="font-size: 20px;">From: {!varT_OrgWideEmailDisplayName}</span></p><p><span style="font-size: 20px;">Email body: {!ConfirmEmailText}</span></p>
+ <p><strong style="font-size: 20px;">PREVIEW</strong></p><p><em>If you opted to send a confirmation email, the recipient receives a message that looks like this. </em></p><p>{!horizontalLine1}</p><p><br></p><p><span style="font-size: 20px;">From: {!varT_OrgWideEmailDisplayName}</span></p><p><span style="font-size: 20px;">Email body: {!ConfirmEmailText}</span></p>DisplayTexttrue
@@ -901,9 +870,9 @@
Create_Public_Ids
- 577
- 3902
- true
+ 0
+ 0
+ falsetruefalse
@@ -921,9 +890,9 @@
A preview of the email with the option to modify the text of the linkEmailModifyScreen
- 578
- 1565
- true
+ 0
+ 0
+ falsetruefalse
@@ -931,7 +900,7 @@
SampleEmailDisplayText_0
- <p><strong style="font-size: 22px;"><u></u>PREVIEW</strong></p><p><em>Your email recipient gets an email like this with an unsubscribe link at the bottom. </em></p><p>{!horizontalLine1}</p><p><br></p><p><span style="font-size: 20px;">Dear Friend,</span></p><p><br></p><p><span style="font-size: 20px;">It's Thursday! You love to order a pizza on Thursdays! If you order before 5, I'll also throw in some free drinks!</span></p><p><br></p><p><span style="font-size: 20px;">Your friend,</span></p><p><span style="font-size: 20px;">Bob</span></p><p><br></p><p><u style="color: rgb(2, 54, 244); font-size: 20px;">{!var_FinalRecord.Link_Text__c}</u></p>
+ <p><strong style="font-size: 22px;"><u></u>PREVIEW</strong></p><p><em>Your email recipient gets an email like this with an unsubscribe link at the bottom. </em></p><p>{!horizontalLine1}</p><p><br></p><p><span style="font-size: 20px;">Dear Friend,</span></p><p><br></p><p><span style="font-size: 20px;">It's Thursday! You love to order a pizza on Thursdays! If you order before 5, I'll also throw in some free drinks!</span></p><p><br></p><p><span style="font-size: 20px;">Your friend,</span></p><p><span style="font-size: 20px;">Bob</span></p><p><br></p><p><u style="font-size: 20px; color: rgb(2, 54, 244);">{!var_FinalRecord.Link_Text__c}</u></p>DisplayText
@@ -957,9 +926,9 @@
Give the option to have a confirmation screen before Opt Out, but this is not recommended.Screen1Preview
- 445
- 2378
- true
+ 0
+ 0
+ falsetruefalse
@@ -1105,9 +1074,9 @@
This screen will display the confirmation message you want the user to seeScreen2PreviewScreen_0
- 577
- 2570
- true
+ 0
+ 0
+ falsetruefalse
@@ -1115,7 +1084,7 @@
screen2previewDisplayText_0
- <p><strong style="font-size: 20px;">PREVIEW</strong><span style="font-size: 20px;"> </span></p><p>{!horizontalLine1}</p><p><br></p><p><span style="font-size: 20px; color: rgb(0, 0, 0);">{!var_FinalRecord.Screen_2_Part_1__c} {!frm_screen2part2}</span></p>
+ <p><strong style="font-size: 20px;">PREVIEW</strong><span style="font-size: 20px;"> </span></p><p><em style="background-color: rgb(255, 255, 255);">This is what the email recipient will see on the confirmation page after they have been unsubscribed. </em></p><p>{!horizontalLine1}</p><p><br></p><p><span style="color: rgb(0, 0, 0); font-size: 20px;">{!var_FinalRecord.Screen_2_Part_1__c} {!frm_screen2part2}</span></p>DisplayText
@@ -1192,11 +1161,11 @@
This is an optional screen to allow user to enter their email if not found in the database.Screen3PreviewScreen
- 445
- 2786
- true
+ 0
+ 0
+ falsetrue
- true
+ falseConfirmation_EmailSend
@@ -1269,9 +1238,9 @@
Select informations to set up the unsubscribe linkSet_Up_Unsubscribe_Link_0
- 577
- 698
- true
+ 0
+ 0
+ falsetruefalse
@@ -1515,14 +1484,42 @@
truefalse
+
+ Set the company name and unsubscribe configurations and then create the Unsubscribe Link Setup record.
+ STG01_InitialConfiguration
+ true
+
+ 1
+
+
+ Preview the text for the experience cloud flow pages and the confirmation email.
+ STG02_Previews
+ true
+
+ 2
+
+
+ Stage for creating the required public IDs for the contact and lead objects.
+ STG03_PublicIDs
+ true
+
+ 3
+
+
+ The final confirmation screen.
+ STG04_Done
+ true
+
+ 4
+
- 451
- 48
+ 0
+ 0getULSetup
- Draft
+ ActivehorizontalLine1true