Hi all,
I'm facing an issue with the challenge of the following unit Run an Autolaunched Flow from a Custom Button
I'm getting the error:
"Challenge not yet complete in Flow Implementation I
On the 'Child Campaign' custom button, we can’t find the expected value for the 'retURL' parameter. Be sure to use merge field notation."
These are relevant challenge's requirements:
- Enter a relative URL using the Create Child Campaign flow’s URL and these parameters in this order:
- Set campID to the Campaign ID merge field
- Set campName to the Campaign Name merge field
- Set campOwner to the Owner ID merge field
- Set campStartDate to the Start Date merge field (set the variable to be equal to
- {!TEXT(Campaign.StartDate)} to format the date correctly)
- Set retURL to the Campaign ID merge field
Here is the URL of relevant Button, which I'm using:
/flow/Create_Child_Campaign?campID={!Campaign.Id}
&campName={!Campaign.Name}
&campOwner={!Campaign.OwnerId}
&campStartDate={!TEXT(Campaign.StartDate)}
&retURL={!Campaign.Id}
When I use the button on Campaign's record page, it works as expected - a new child record is created and I'm redirected back to parent Campaign record.
I don't see a reason for the error I'm receiving!?
Will appreciate your help!
Thank you in advance!
try adding a backslash
&retURL=/{!Campaign.Id}https://trailhead.salesforce.com/trailblazer-community/feed/0D54V0000798GmDSAU