Question

I need to bounce the user back to the list after they've approved a Workflow task. I've got to add the url to the HTML of the flexi task task description to redirect but can't see where I'd add it? Can anyone help?

<font face="Arial"><span id="NWRTEReference1">item doc number Infrustucture     
 Specfication form for item doc number <span id="NWRTEReference3"><a class="ms-rtestate-write" contenteditable="false" onclick="selectThis(this);" href="javascript:void(0);" reftext="%7BItemProperty%3ADocument_Nimber%7D" link="false" style="text-decoration: underline; color: red">Document Number</a></span>&#160;for the Server <span id="NWRTEReference4">
<a class="ms-rtestate-write" contenteditable="false" onclick="selectThis(this);" href="javascript:void(0);" reftext="%7BItemProperty%3Aserver_name%7D" link="false" style="text-decoration: underline; color: red">Server Name</a>&#160;has been sumbitted for your approval <br/>
Was it helpful?

Solution

just update this part href="javascript:void(0);" to href="www.google.com"

full code, had to update it as you were missing some html:

<font face="Arial">
    <span id="NWRTEReference1">item doc number Infrustucture Specfication form for item doc number </span>

    <span id="NWRTEReference3">
        <a class="ms-rtestate-write" contenteditable="false" onclick="selectThis(this);" href="www.google.com" data-rel="back" reftext="%7BItemProperty%3ADocument_Nimber%7D" link="false" style="text-decoration: underline; color: red">Document Number</a>
    </span>

    &#160;for the Server 
    <span id="NWRTEReference4">
        <a class="ms-rtestate-write" contenteditable="false" onclick="selectThis(this);" href="www.google.com" data-rel="back" reftext="%7BItemProperty%3Aserver_name%7D" link="false" style="text-decoration: underline; color: red">Server Name</a>
        &#160;has been sumbitted for your approval <br/>
    </span>

</font>

code above redirects to google. You could try data-rel="back" which should take you back once when the a link is clicked and if no back info is available then it uses the href instead.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top