I have a button which performs a run Apex action (custom invocable method). The method runs successfully and returns a URL as an output parameter. I can access this parameter as {{$PreviousAction.result.url}}. I can display this result in a modal as the next action on my button.
However, when I try to use this as the target for a Go To URL, the page refreshes but does not redirect me. When I hard-code the URL (for debugging), it successfully redirects, so I don’t think it’s a security issue.
I can’t find any errors in the console or debug logs and am stymied as to why it won’t redirect to the URL from the parameter.
Any ideas?