Skip to main content
Nintex Community Menu Bar

Why are my HTML alterations being overwritten in my Workflow?

  • Sep 11, 2017 1:14 PM UTC
  • 11 replies
  • 27 views
  • Translate All

Forum|alt.badge.img+10

0 down vote favorite I asked a question here and the answer worked at first. I go into my Nintex Workflow Assign Flexi task and edit the HTML the body email (as suggested in the answer) of the Task description but now after I publish the Workflow it reverts to ' href="javascript:void(0);"' any ideas?

11 replies

Forum|alt.badge.img+14
  • Scholar
  • Sep 11, 2017 7:55 PM UTC

but does the link from notification work or not?

this is by design for reference variables.

Translate

Forum|alt.badge.img+10

Yes it works, after the user approves they are taken to the site homepage. When I try and put a link into the URL to redirect it reverts to what was there originally.

Translate

Forum|alt.badge.img+14
  • Scholar
  • Sep 12, 2017 8:49 PM UTC

do you use nintex task form? if so you should be able to configure redirect URL in task form settings

Translate

Forum|alt.badge.img+10

No, I use InfoPath

Translate

Forum|alt.badge.img+14
  • Scholar
  • Sep 13, 2017 7:47 AM UTC

ok.

can you post an example what exactly are you trying to do?

Translate

Forum|alt.badge.img+10

No problem.

I'm trying to get the user to go back to the List after they approve the task not to the site home page. So I'm trying to change the code below. The code in bold I'm trying to change but it keeps reverting back:

<font face="Arial"><span id="NWRTEReference1"><span style="color: #00395e"><strong><font face="Arial">Infrustructure Manager </font></strong></span><br/><br/>item doc number Infrustucture Specfication form for item doc number tem 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/><br/>** STAGE 1 - APPROVAL TASK TO INFRUSTRUCTURE MANAGER **<br/><br/></span></span></font>

Translate

Forum|alt.badge.img+14
  • Scholar
  • Sep 13, 2017 8:22 AM UTC

but then you should customize reflink attribute.

href is always set this way.

this is how it works for me

207542_pastedImage_1.png

but I wonder why you miss there reflink attribute and why you have set link="false"...

have you really added it as a link from ribbon? can you try to configure it once again from scratch?

Translate

Forum|alt.badge.img+10

Hi Did as you suggested and it still defaulted and bounced the user back to the website homepage. This is where I got the original answer to overwrite the javascript link. The set link was already set to "false".

Translate

Forum|alt.badge.img+14
  • Scholar
  • Sep 13, 2017 2:22 PM UTC

I'm not sure whether InfoPath can influence this.

could you try to remove InfoPath form and test with OOTB sharepoint's task form?

Translate

Forum|alt.badge.img+10

I don't think I'd be able to do that, but related question. Would I change the HTML in the Flexi Task Task Description or in the Task Notification?

Translate

Forum|alt.badge.img+14
  • Scholar
  • Sep 13, 2017 3:18 PM UTC

I assume you click on approval link in mail notification, so you should customize task notification body.

or do you approach it differently?

Translate