I want to use text and variable at the same time

Dear all,

I want to use variables and normal text at the same time in using the activity of “Send Outlook Desktop Mail Message”. How should I type it?

More specifically speaking, I would like to send daily message like below;

“Hi”+ToWhomISend(a variable)
“The task to do today is”+ExcelData(another variable)

I hope you could give me some clue.

@kjy031710

in the body field click on plus and select Opena dvanced editor and you can specify the text plus the variable as well.. if you want html format use isbodyhtml flag in properties and include your html as well in text

eg:

"Hi" + Variablename + "<br>The task to to do today is" + Variable2

here <br> is used for break if bodyishtml is true it would go to newlien..

also if you want to add datatable then use html editor and add the table as datatable cannot be directly added…or there is separate activity html content can use it …all spatic data, variables,datatables etc can be added and output can be sent to send outlook mail activity

cheers

Hello, Thanks for help, but sad news is it didn’t work.

If I type it that way it is shown like below

Hi(Variablename)
The task to do today isVariable2

@kjy031710

can you show a screenshot please

looks like you would have done in text value or included variable in doublequotes

you need to open advanced editor and give the expression

cheers


Very messy and very foreign, though this is a screenshot.

Ponit is I have both used
and system.environment.newline but none of them actually worked

@kjy031710

the <br> should be inside the double quotes

if isbody html proeprty is true then <br> works else environment.Newline works

just to make sure on UI every string will be highlighted in red as you see the first part

cheers