<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Table in Email Body</title><link>https://community.appian.com/discussions/f/process/29649/table-in-email-body</link><description>Hi All, 
 
 I have a list of strings saved as one of my process variables, I&amp;#39;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?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Table in Email Body</title><link>https://community.appian.com/thread/117686?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 19:48:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4a1e8498-bbb7-4534-84ba-6d1b06b3c704</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;So, when you have a list of values and just print them, you see exactly what you got.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Table in Email Body</title><link>https://community.appian.com/thread/117685?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 19:30:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:361a0f56-a91e-48dd-9581-08037c9a0aae</guid><dc:creator>Maria</dc:creator><description>&lt;p&gt;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Table in Email Body</title><link>https://community.appian.com/thread/117684?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 19:28:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cf05fd46-8a7f-4eb5-b7ea-72c8cfd1722e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Yeah ... so you are not following the recommendations and documentation I posted.&lt;/p&gt;
&lt;p&gt;To get any reasonable formatting in your email, you need to create HTML.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Table in Email Body</title><link>https://community.appian.com/thread/117683?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 19:15:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6c2dc914-7a20-4bc1-9175-b5cfff1a39a9</guid><dc:creator>Maria</dc:creator><description>&lt;p&gt;I&amp;#39;m using the send-email smart service , in the setup tab I&amp;#39;m using the expression editor to show my list of names just;&lt;/p&gt;
&lt;p&gt;pv!names ,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;it sends the email but the format is what I need to change.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;instead of having an email showing:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;karen; kelly; amyl; amelia;camila&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I want it to be shown&amp;nbsp; vertically to recipient of the email:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. Karen&lt;/p&gt;
&lt;p&gt;2. Kelly&lt;/p&gt;
&lt;p&gt;3. Amyl and so on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Table in Email Body</title><link>https://community.appian.com/thread/117681?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 19:07:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7f4580c9-0e72-418f-ae08-d81a6e65e056</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;That&amp;#39;s not a lot of details. More please!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Table in Email Body</title><link>https://community.appian.com/thread/117678?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 18:53:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5e353cc6-e4fc-4dcc-87f6-1f8968070ca4</guid><dc:creator>Maria</dc:creator><description>&lt;p&gt;sure. I&amp;#39;m trying to send an email with a list of names, right now when I send it shows as:&lt;/p&gt;
&lt;p&gt;karen; kelly; amyl; amelia;camila&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;but I want it to be shown in the email body like a vertical aligned list:&lt;/p&gt;
&lt;p&gt;1. Karen&lt;/p&gt;
&lt;p&gt;2. Kelly&lt;/p&gt;
&lt;p&gt;3. Amyl and so on.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;my process variable contains this list as a list of strings.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Table in Email Body</title><link>https://community.appian.com/thread/117674?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 18:21:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e28a25aa-e1ce-4215-8dba-5d64ffc118f6</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;If you want me to support you, I need you to share what you are trying to achieve, what you did and the outcome.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Table in Email Body</title><link>https://community.appian.com/thread/117673?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 18:18:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3cf1e3df-aaed-49d1-85cc-50663863c4ef</guid><dc:creator>Maria</dc:creator><description>&lt;p&gt;Thanks! but I tried a template but every time I create the table all the list just stays in one row.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Table in Email Body</title><link>https://community.appian.com/thread/117672?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 18:14:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4001da49-614e-4372-8ce0-15c51a47f410</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Sure. You define the email content using simple HTML. I suggest to create a HTML template file adding some placeholders. Find some info here.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/Send_Email_Smart_Service.html#setup-tab"&gt;https://docs.appian.com/suite/help/23.2/Send_Email_Smart_Service.html#setup-tab&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>