<?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>How to configure Send E-mail Smart Service ?</title><link>https://community.appian.com/discussions/f/process/10998/how-to-configure-send-e-mail-smart-service</link><description>Hi, 
 I am using send e-mail smart service on my process model. Once user fills the form the record gets inserted into the Database after that i want to trigger an email. 
 I want the subject line to capture the ID of the record to mention in the subject</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to configure Send E-mail Smart Service ?</title><link>https://community.appian.com/thread/48161?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 08:50:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0396c704-e44e-4f70-9d12-44fd7fe6aaa4</guid><dc:creator>saksheer</dc:creator><description>&lt;a href="/members/prasoonp"&gt;prais1852&lt;/a&gt; Glad it worked :)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Send E-mail Smart Service ?</title><link>https://community.appian.com/thread/48141?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 15:39:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:71a6af9b-caf5-48d6-a82c-f68225107780</guid><dc:creator>prais1852</dc:creator><description>Thank you so much &lt;a href="/members/saksheer"&gt;saksheer&lt;/a&gt; . I used the approach you suggested and it is working now.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Send E-mail Smart Service ?</title><link>https://community.appian.com/thread/48138?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 15:22:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9865e88d-b9ba-42c6-8334-c50762c130d4</guid><dc:creator>saksheer</dc:creator><description>&lt;p&gt;prais1852 (prasoonp) A better way to do this is. In the write to data store entity tab - you have input/output tab. In the output tab, set a pv for stored values. And from this pv, derive ID.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/14/sample-_2D00_-Copy.jpg"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/sample-_2D00_-Copy.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Send E-mail Smart Service ?</title><link>https://community.appian.com/thread/48137?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 15:03:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5e9cff18-bc5f-4a25-a461-e0a0d007efda</guid><dc:creator>saksheer</dc:creator><description>&lt;a href="/members/prasoonp"&gt;prais1852&lt;/a&gt; If you want the Id from DB to be passed to the smart service, you will have to fetch the Id from DB first - using query rule object or query entity function. Put another node in your process model, and fetch the record id, then use this value to populate in the subject.&lt;br /&gt;
&lt;br /&gt;
However, since you are auto-generating the value, you can have the first value set in a constant. Then keep on auto incrementing this constant value by 1, every time you run the process model. That way the constant value will be in sync with the auto generated value.&lt;br /&gt;
I would not recommend using this, in case the values from DB are altered, there will be a discrepancy.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Send E-mail Smart Service ?</title><link>https://community.appian.com/thread/48135?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 14:52:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:31511363-b616-49db-8798-6a4b0ff14aba</guid><dc:creator>prais1852</dc:creator><description>Hi &lt;a href="/members/saksheer"&gt;saksheer&lt;/a&gt; , No -  I am generating the ID in backend i.e. in my SQL Server DB using an auto incremented field to generate the ID.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Send E-mail Smart Service ?</title><link>https://community.appian.com/thread/48134?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 14:50:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:05475c66-be07-4a0f-8928-9a9c454790d8</guid><dc:creator>saksheer</dc:creator><description>&lt;a href="/members/prasoonp"&gt;prais1852&lt;/a&gt;  Is the Id being entered by the user in start form?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Send E-mail Smart Service ?</title><link>https://community.appian.com/thread/48133?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 14:47:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:02c4065f-8b28-4951-8d67-783b24139423</guid><dc:creator>prais1852</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/saksheer"&gt;saksheer&lt;/a&gt;&amp;nbsp;My process model is very simple. It has a start form, Write to DB and then E-mail smart service. Attached is the screenshot.&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/14/2783.1.PNG"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/2783.1.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Send E-mail Smart Service ?</title><link>https://community.appian.com/thread/48132?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 14:44:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:92d196f4-33e2-427f-9264-60bb969c1129</guid><dc:creator>prais1852</dc:creator><description>Hi &lt;a href="/members/saksheer"&gt;saksheer&lt;/a&gt; , I used an if statement to check for the value of ID and i can see it null, that&amp;#39;s why it was also not coming in the subject line  earlier. What can i do now to resolve this issue ?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Send E-mail Smart Service ?</title><link>https://community.appian.com/thread/48130?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 14:34:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c29c288b-1963-4d2d-92f5-384665643daf</guid><dc:creator>saksheer</dc:creator><description>&lt;a href="/members/prasoonp"&gt;prais1852&lt;/a&gt;  I am assuming when you say ID - you mean the a ID which is used in the form. You are trying to map this pv in your smart service. When you run your process model, you say you are able to trigger the email - but id is not populating. Can you check in the instance, if the pv!id is getting populated once the form is filled? or is this pv!id null throughout the instance?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Send E-mail Smart Service ?</title><link>https://community.appian.com/thread/48124?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 13:47:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:79725b7d-b22f-49ab-b62b-70000d4109dc</guid><dc:creator>prais1852</dc:creator><description>Hi &lt;a href="/members/saksheer"&gt;saksheer&lt;/a&gt; , I am using expression editor to write subject line of the email and selecting pv!Id from the list of available process variable only.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure Send E-mail Smart Service ?</title><link>https://community.appian.com/thread/48123?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 13:44:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e67b2c5-af6f-4d7b-8e67-1d46dca5e44f</guid><dc:creator>saksheer</dc:creator><description>prais1852 (prasoonp)  Are you able to see the value for pv Id in the instance that is created?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>