<?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>Using 2 Smart Services in one Button Click</title><link>https://community.appian.com/discussions/f/user-interface/14383/using-2-smart-services-in-one-button-click</link><description>Hi, 
 I have a UI which shows list of Data showing in Grid format. In this I have a requirement that, user can select records and delete, and at the same time time they will receive mail regarding this. But when I&amp;#39;m writing 2 smart services (deletefromdatastoreentity</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Using 2 Smart Services in one Button Click</title><link>https://community.appian.com/thread/64741?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 07:47:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:495adcc9-d0c6-4488-a1dc-9e7cef54016c</guid><dc:creator>sudip.das005</dc:creator><description>Thank you all. It worked for me!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using 2 Smart Services in one Button Click</title><link>https://community.appian.com/thread/64730?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 00:02:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6c2b237d-0b14-4081-9010-b922afba1271</guid><dc:creator>aloks0189</dc:creator><description>Hi  Appian doesn&amp;#39;t allow executing more than one smart service function on saveInto, and hence to achieve your requirement, you will need to build one wrapper process, which will contain the nodes to perform Deletion and Sending an email to the user, and you will need to consume this using a!startProcess() under saveInto of your Interface.&lt;br /&gt;
&lt;br /&gt;
You just need to pass the required data via parameters to this Wrapper process, using the input parameter of a!startprocess() function under saveInto.&lt;br /&gt;
&lt;br /&gt;
Also as per my understanding, Deleting Business critical data via process is always recommended, in this way you will have the track of the data being deleted, in case if something goes wrong, you will have the opportunity to monitor the instances, whereas if you are deleting a business critical data using smart service function, you will loose the Audit Track.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using 2 Smart Services in one Button Click</title><link>https://community.appian.com/thread/64715?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 11:32:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:64d1acaf-757f-4461-8b99-98b298f05978</guid><dc:creator>paulc919</dc:creator><description>Would a wrapper process model work here ? Invoke the process model via the startProcess function and in process have the delete activity and send email nodes activity chained ?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using 2 Smart Services in one Button Click</title><link>https://community.appian.com/thread/64714?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 11:25:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f1f0e093-338a-445a-aca4-c4fa6d1f9761</guid><dc:creator>Jim Schweitzer</dc:creator><description>&lt;p&gt;If you just call the a!startProcess, you can enable Activity Chaining through the delete node. The OnSuccess block of the sail function won&amp;rsquo;t be triggered until all chained nodes are complete and you can access any necessary pvs through fv!processInfo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>