<?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>Expression in e-mail</title><link>https://community.appian.com/discussions/f/new-to-appian/25637/expression-in-e-mail</link><description>Hi! 
 I&amp;#39;m working on a training project and my aim for now is to send an e-mail when a form is rejected. 
 I managed to send the e-mail, but I also wanted to mention in the e-mail the ID of the rejected data. However, when I use the following expression</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Expression in e-mail</title><link>https://community.appian.com/thread/100242?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 15:54:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a96e7c20-9040-4ebb-9b24-0052cf10687b</guid><dc:creator>Vladislav Morozov</dc:creator><description>&lt;p&gt;Oh! Now I got it, I thought that the id (which is an auto-generated primary key) was created after I was filling the form, but it seems that it will be created later, when inserted in the DB. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Expression in e-mail</title><link>https://community.appian.com/thread/100241?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 15:50:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:77c7c0ec-c9f3-4679-8c39-bcacc4770621</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;That&amp;#39;s the correct way - can you clarify what went wrong?&lt;/p&gt;
&lt;p&gt;Are you just saying it&amp;#39;s blank in the resulting email?&amp;nbsp; If so: Did you check your process insstance to verify that &amp;quot;pv!customerDetails.customerID&amp;quot; actually had a value at the time the Send Email node was executed, for instance?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Expression in e-mail</title><link>https://community.appian.com/thread/100240?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 15:48:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5a127d7b-d439-4489-893d-8c287dbe1c72</guid><dc:creator>Vladislav Morozov</dc:creator><description>&lt;p&gt;That&amp;#39;s exactly what I did. The expression =pv!customerDetails.customerID was in the expressionable box&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Expression in e-mail</title><link>https://community.appian.com/thread/100239?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 15:46:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9c3cca5c-a555-4447-a06e-66de3e6ec1bd</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;If you&amp;#39;re using the default email body text creation system (i.e. the rich text editor) directly in the Send Email node, you&amp;#39;ll need to click the control to add an &amp;quot;expressionable box&amp;quot; into your body text - then you can click the expression box icon it adds, and bring up an expression editor, and type anything you want in there (including HTML code, iirc).&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1661528816853v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>