Flow Designer Email format

Mart Sinimaa
Tera Guru

Hi,

I need to send email form flow and that email need to take variables from catalog variables. Now we have discovered that if variable(multi line text) contain line brakes (enters) then on email we don't see line brakes
multiline text example is:
test text 1
test text 2
test text 3

on email body I use 

"field name: "  + fd_data._1__get_catalog_variables.variableName;

on email body i see:

filed name: test text 1test text 2test text 3

any suggestion how to fix that?

1 ACCEPTED SOLUTION

Mart Sinimaa
Tera Guru

if someone had the same issue that I had then only suggested result form support is(add at the end red text):

var values = fd_data._1__get_catalog_variables.variableName.replace(/(?:\r\n|\r|\n)/g, '</br>'
 
good luck

View solution in original post

13 REPLIES 13

Mart Sinimaa
Tera Guru

if someone had the same issue that I had then only suggested result form support is(add at the end red text):

var values = fd_data._1__get_catalog_variables.variableName.replace(/(?:\r\n|\r|\n)/g, '</br>'
 
good luck

How exactly is this supposed to be used?  I'm using a data pill 

 

clikck on scripting button </> and then add your variable value there

example: find_real_file.png

Thank you for your swift response 🙂

Here's more detail about what I'm trying to acheive

 

Hoping to get some clarity around this too.... 

Sending Additional Details to external application "Wrike" via an API. 

I've tried changing the field to HTML but still didn't work. 

 

Desired result

    

 

Actual Result

how this additional details is generated?
on flow level?