Hi all,
I currently have a process model that uses a HTML template to send a list of users, but since my list is saved in a process variable it eliminates any breaks between the names of the users. Write now when I sent the email the list looks like this:
name1; name 2; name3; name 4; name5; and so on.
But I would like to display the list in a vertical format so is easier to read for the person who is receiving the email. I have tried an expression, scripthml, but nothing seems to work. Does anyone know how can I over come this? maybe editing the template? but I dont think appian lets you iterate over a HTML template.
Discussion posts and replies are publicly visible
You can create an expression to generate a HTML bullet list from a list of text:
concat( "<ul>", a!forEach( items: ri!items, expression: concat( "<li>", fv!item, "</li>" ) ), "</ul>" )
Reference: www.w3schools.com/.../html_lists_unordered.asp
Thank you so much! It worked, I had tried something similar but was forgetting the concat.