When using an InfoPath task Form you need to add a re-direct url.
All SharePoint On-Premise.
There are a couple of ways this can be achieved:
1. You can add code in the form and use the OnClose event to do the redirection. More information can be found at http://msdn.microsoft.com/en-us/libr...ffice.12).aspx. If you use code behind in the form, it will mean that you need to generate a project for it that deploys an assembly and the form must be administrator approved. This will complicate any deployment/upgrade process significantly.
2. A better approach might be to implement the below: http://blogs.microsoft.co.il/blogs/i...m-closing.aspx You can change/add the "Source" query string parameter of the URL used by the users to access the form and this should redirect them to a different destination than the default one - its location.