johns
Scholar

Update Approval URL in Workflow Task

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? 

0 Kudos
Reply
2 Replies
kchaluvadi
Scout

Re: Update Approval URL in Workflow Task

Hi,

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

0 Kudos
Reply
johns
Scholar

Re: Update Approval URL in Workflow Task

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.
0 Kudos
Reply