Hi Guys,
I have a case, where I want to add the Approval URL into an e-mail using the fn-replace function.
Background: Mail templates are stored in another list. There the approval url is referenced as
... Click <a href='"{TaskURL}"'>here</a> ...
so that the users receive nicely formatted links.
For some reason, the "{TaskURL}" gets replaced to a span element, making the link not clickable:
In the mail, replace is used as follows:
fn-Replace({TextStart}multi_MailBody{TextEnd},"{TaskURL}",Approval URL)
multi_MailBody is the variable and Approval URL is from the Common-Section when inserting References.
All other columns are inserted before using the regular expression action in the workflow which works fine. Unfortunately I can´t add the Task URL before the Task has been created.
I tried replacing only {TaskURL} (no quotes) but that resulted in no text being replaced at all.