Nintex Connect

The Official Community Site for Nintex Software Products, including Nintex Workflow 2007, 2010 and 2013; Nintex Workflow for Project Server 2010; Nintex Reporting 2008 and Nintex Analytics 2010; Nintex Forms 2010; Nintex Live and Nintex SmartLibrary.
Welcome to Nintex Connect Sign in | Join | Help
in Search

Redirect at the end of a Workflow

Last post 05-09-2012, 12:04 AM by dworrad. 3 replies.
Sort Posts: Previous Next
  •  07-22-2011, 10:20 AM 18326

    Redirect at the end of a Workflow

    Hi all,

    I have a workflow with a flexi task (approve/reject), how can I do to redirect the user, after his approval task, to another web page? I don't want that he remains on the site where he has approved the task.

    Thank you all,

    Matteo

  •  07-22-2011, 11:03 AM 18330 in reply to 18326

    Re: Redirect at the end of a Workflow

    Hi Matteo,

    You can change the redirect page by adding a 'source' query string parameter to the approval link. So, instead of just using the ApprovalUrl token to construct the link, add &Source=http://destinationlocation to the end of it.

    This will only take affect when using the link in the email notification. When accessing the task from links inside SharePoint, SharePoint adds its own source= parameter for redirects.
     

  •  08-19-2011, 10:00 AM 18880 in reply to 18330

    Re: Redirect at the end of a Workflow

    Thank you Vadim, but, sorry, perhaps I have not understand exactly where I have to add "&Source=http://.." in the html code? Perhaps here?:

     (where I have add the XXXXXX)

    <p class="ntx-rteFontSize-3"><strong>Please click </strong><span id="NWRTEReference_A"><a class="ms-rtestate-write" contenteditable="false" onclick="selectThis(this);" href="BLOCKED SCRIPTvoid(0);" reftext="here" link="true" reflink="{Common:ApprovalUrl}" XXXXXXXX style='color: blue; text-decoration: underline'><strong>here</strong></a></span><strong> to respond to the task.</strong></p>

    Thank you very much,

     

    matteo

  •  05-09-2012, 12:04 AM 22909 in reply to 18880

    Re: Redirect at the end of a Workflow

     The &Source=/MySitesUrl needs to go at the end of the reflink as below... and the "Source" url needs to be a url in the same site collection (e.g You can't redirect to google etc)

    <p class="ntx-rteFontSize-3"><strong>Please click </strong><span id="NWRTEReference_A"><a class="ms-rtestate-write" contenteditable="false" onclick="selectThis(this);" href="void(0);" reftext="here" link="true" reflink="{Common:ApprovalUrl}&Source=/" style='color: blue; text-decoration: underline'><strong>here</strong></a></span><strong> to respond to the task.</strong></p>

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems