Hi - I've got a HTML template which I'm storing in a Muilt-Line Text variable (1email). I am then attempting to reference the variable in a task notification using the following syntax:
(Where "Approval URL" is the approval URL reference)
The section of HTML I'm trying to replace looks like:
When the email comes through, the URL has been replaced but it is no longer in the correct spot. This is what the final HTML looks like:
<a href="<span id=" NWRTEReference2?="">http://portal/WorkflowTasks/EditForm.aspx?ID=9394</span>">
What I am expecting is something like:
Any ideas where I'm going wrong here? I don't understand why it's adding the extra bits of code and putting the approval URL in the wrong spot.
Solved! Go to Solution.
What happens when you output just the approval URL? Does it just contain a URL, or are there additional attributes included?
I believe I have found a solution in my lab environment (where I could replicate the problem). I edited the HTML of the notification for the task (not my HTML template stored in a variable) and removed the span tags. After this, it worked exactly as I expected.
I'm not at the client's site until next week, so I will confirm once I have tested in their environment.
Update: I'm back on site, and editing the HTML source for the notification within the Flexi-task to remove the span tags has fixed it. Very obscure, I'm almost out of hair!