Update Approval URL in Workflow Task

  • 10 June 2021
  • 2 replies
  • 71 views

Badge +2

Hi all, 

 

I have a quick query - I want to update the ApprovalURL item property so that it includes an &Source=mysite.com after the OOTB URL, so the page will redirect the user to mysite.com after they approve the task. 

So as is the auto-generated URL is: 

https://site.com/site/SiteName/Site/WorkflowTasks/EditForm.aspx?ID=2959

and what I want is

https://site.com/site/SiteName/Site/WorkflowTasks/EditForm.aspx?ID=2959&Source=https://mysite.com 

 

Does anybody know is this possible? 


2 replies

Userlevel 3
Badge +12

Hi,


If you are using a custom task form, you can set the "Redirect URL" in "OK/Save" button's advanced settings.

Badge +2
Hi,
I tried that but when I set the custom task form, it completely messed up the approval task - it created some completely random task form. I don't know how or why - it looked correct from the preview anyway.
So what I was hoping to do was set it in the URL itself or somewhere within the OOTB functionality.

Reply