Tarf
Design Canvas Artiste

fn-replace in E-Mail Body

Jump to solution

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:2020-02-28 14_36_59-Inbox.png

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.

0 Kudos
Reply
1 Reply
Tarf
Design Canvas Artiste

Re: fn-replace in E-Mail Body

Jump to solution

Once I recreated the task, the span tag was gone and now it is working as intended

View solution in original post

0 Kudos
Reply