hclleapforum

Open full view…

Change Action Completion Redirect URL programmatically ?

josat
Thu, 30 May 2019 01:00:18 GMT

Hi In the Stage configuration, there is an option to specify the 'Action Completion Redirect URL'. I have a use-case, in which the redirect URL differs based on the current user. Is there a way to access and modify the 'Action Completion URL' through javascript API? Thank you Joe

Rob Lintern (HCL)
Thu, 30 May 2019 18:06:41 GMT

This is not currently possible, but seems like it might be a good candidate for a new JavaScript API method. Can you provide a little more detail on the use case?

josat
Fri, 31 May 2019 05:19:22 GMT

USE-CASE - The business users starts with a non-FEB page that has a link to invoke the FEB form. These users are from different business organizations but all have the same business role of 'Applicant' to us. The non-FEB page URL has a query part that differs by user organization. When the user finishes with FEB submission, they need to go back to their own referrer page. The action completion URL provides a nice launching pad to go back but there is no easy way to change it based on context.

Rob Lintern (HCL)
Fri, 31 May 2019 19:34:41 GMT

ok, thanks for the additional information. I have added this to the feature backlog. This is potentially a good candidate for an additional URL parameter on the form too, to tell the form where to redirect to after it is complete.

josat
Sat, 01 Jun 2019 00:00:15 GMT

Thank you for looking at this Rob

jonathanmorseusb
Fri, 19 Jul 2019 00:00:59 GMT

Could you have the form by a fake User interface and use a service to take value from the ui to create an actual record? You could use url string paramaters to tell the form which url to redirect to, then use a form button to call the real submit and redirect the user back to their correct landing page. It is a bit of extra work, but I have several apps that do this.