Hi All,
I have a list of strings saved as one of my process variables, I'm just trying to display this list in a table for an email . Each item creating a new row in the table. Any Idea how can achieve this?
Discussion posts and replies are publicly visible
Sure. You define the email content using simple HTML. I suggest to create a HTML template file adding some placeholders. Find some info here.
https://docs.appian.com/suite/help/23.2/Send_Email_Smart_Service.html#setup-tab
Thanks! but I tried a template but every time I create the table all the list just stays in one row.
If you want me to support you, I need you to share what you are trying to achieve, what you did and the outcome.
sure. I'm trying to send an email with a list of names, right now when I send it shows as:
karen; kelly; amyl; amelia;camila
but I want it to be shown in the email body like a vertical aligned list:
1. Karen
2. Kelly
3. Amyl and so on.
my process variable contains this list as a list of strings.
That's not a lot of details. More please!
I'm using the send-email smart service , in the setup tab I'm using the expression editor to show my list of names just;
pv!names ,
it sends the email but the format is what I need to change.
instead of having an email showing:
I want it to be shown vertically to recipient of the email:
Yeah ... so you are not following the recommendations and documentation I posted.
To get any reasonable formatting in your email, you need to create HTML.
Like I mentioned I already tried that , I was wondering if there was a different way of doing it without a template , just so I could try a different way.
So, when you have a list of values and just print them, you see exactly what you got.
To turn that into something fancy, you need to turn it into HTML. That template needs a placeholder. Then you create an expression which creates the HTML output for a given list of values. Then call this expression to replace the placeholder.