<?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 simulate calling two smart services in Appian ?</title><link>https://community.appian.com/discussions/f/new-to-appian/25811/how-to-simulate-calling-two-smart-services-in-appian</link><description>Hi Team, 
 I have a use case where if some user clicks on a link, then first, some data needs to be deleted and then second, an api integration needs to be triggered with a query parameter whose value basically is the value of the link clicked.(local</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100994?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 13:29:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69d0135e-b79f-44c0-82cc-5b6315322f21</guid><dc:creator>Malleswari Talakola</dc:creator><description>&lt;p&gt;yup totally agreed!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100921?ContentTypeID=1</link><pubDate>Sat, 10 Sep 2022 14:25:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6baee404-b13e-419d-8499-5c543ba5fcd6</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;In your code snippet, you try to call two smart service functions. This will not work as explained in your other thread.&lt;/p&gt;
&lt;p&gt;Second, your process variable needs to configured as a parameter to be able to accept values when started.&lt;/p&gt;
&lt;p&gt;Next, processParameters is a dictionary. In your case it should look like this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
  selectedSuiteName: local!selectedSuiteName
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Most of this already has been explained in your other thread.&lt;/p&gt;
&lt;p&gt;And, all of this is covered in the Appian Academy trainings and tutorials.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100911?ContentTypeID=1</link><pubDate>Sat, 10 Sep 2022 09:15:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:adcf281c-6174-409b-a56c-e6f8b15c8660</guid><dc:creator>only4u</dc:creator><description>&lt;p&gt;Hey, thanks for this detailed answer,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you pls help in verifying the way by which I am passing the parameters in the process.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1662801111580v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am trying to pass the parameters in the following integration&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1662801211321v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;I have created a process variable for the above process which can be seen below-&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1662801383500v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Let me know if I am doing things correctly or not ?&lt;/p&gt;
&lt;p&gt;Thanks in Advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100889?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 17:31:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a0f76761-5188-48b2-ba5c-778d7571f265</guid><dc:creator>Malleswari Talakola</dc:creator><description>&lt;p&gt;1. First thing is to define your integration with selectedSuiteName parameter as below--&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/2022_2D00_09_2D00_09_5F00_13_2D00_17_2D00_19.png" /&gt;&lt;/p&gt;
&lt;p&gt;2. Create a process variable and set it as required parameter in your processmodel as below&amp;nbsp;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1662744114108v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;3. Call your integration from setup tab&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1662744323217v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;4. Go to data tab and you will your integration variable retrieves/auto-populated, update the value with pv!selectedSuiteName variable.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1662744433562v6.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1662744459127v7.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;5. Under outputs view, set your variables --&amp;gt;Enable activity- chaining&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1662744672146v8.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;6. Pass this as processparameter onto you interface a!startprocess link as others mentioned.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please let know if need more help further!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100888?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 16:18:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3cc82c18-8750-443f-b0ec-52b143ab55e4</guid><dc:creator>only4u</dc:creator><description>&lt;p&gt;I mean the expression for mapping the same ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100887?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 16:17:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:80a8138b-f993-49e9-87b0-d5b27243abd4</guid><dc:creator>deepakg681722</dc:creator><description>&lt;p&gt;Expression Rule example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100885?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 16:16:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:eb18d0c0-8126-4fcc-b33b-d7db442e1261</guid><dc:creator>only4u</dc:creator><description>&lt;p&gt;Can u pls share the expression rule example ? It will be very helpful to me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100884?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 16:14:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:92a5a22f-6ec5-48dc-a8ba-618d93f7914b</guid><dc:creator>deepakg681722</dc:creator><description>&lt;p&gt;Hi, You can create a rule input into Integration and map that rule input for the particular query Parameter by using the expression Editor, and while calling the integration into Process Model pass the value to that rule input.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1662740101730v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100882?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 16:10:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d719dfe4-a05c-419a-9c20-655256ed3b31</guid><dc:creator>only4u</dc:creator><description>&lt;p&gt;Hey Stefan, I did not get my answer in the documentation.&lt;/p&gt;
&lt;p&gt;My question is rather simple now,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;See the below Process Model&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1662739552568v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now see the call integration screenshot below,&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1662739659094v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can see that, there is a query parameter called name, in this API integration. Now my question is, how to&amp;nbsp;configure this query parameter in the Call Integration Smart Service ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;See screenshot below where you can see, what I have done ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1662739804293v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could u pls help here ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100867?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 14:21:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9fce2b51-ecf4-4a10-89e2-04754eb589aa</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/22.3/Call_an_Integration.html#call-an-integration-to-query-data"&gt;docs.appian.com/.../Call_an_Integration.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100866?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 14:19:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4c5a5a2a-eac8-4bad-8580-af34c3a94296</guid><dc:creator>only4u</dc:creator><description>&lt;p&gt;How to call that integration with query parameters if using inside expression ? Is it possible ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100865?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 14:19:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f4e180b7-5717-4b52-b56c-88dfb44f0902</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;yes - as  says, anything you can pass to an API in on-form calls, you can pass into a process instead and then pass into equivalent smart services directly within the process.&amp;nbsp; Except in a process you have essentially no limit how many you stack together (other than the node chaining limit, which you&amp;#39;d never even start to approach in such a use case).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100863?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 14:15:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7fa0c69d-04fe-4794-8c83-ea893f4fa3ff</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Add the call integration smart service to that process and pass the data first to the process into process variables and then to the integration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100861?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 14:11:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:45900e84-db4f-48f4-b43c-1d77b5c4b8c0</guid><dc:creator>only4u</dc:creator><description>&lt;p&gt;Also, What about the integration part, I am having an integration which basically calls an API. While calling the integration, I want to pass quey parameters to the API. How to do that ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100851?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 12:38:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:96b54c22-8848-4f01-a129-c7d068a7b9e2</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Yes. That was a typo. I added the code for startProcess only &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f61b.svg" title="Stuck out tongue"&gt;&amp;#x1f61b;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100849?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 12:36:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a4ec9c3-22f9-46f1-b210-6043b6f7a512</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="32884" url="~/discussions/f/new-to-appian/25811/how-to-simulate-calling-two-smart-services-in-appian/100839#100839"]go with a process and start the process using a!startProcessLink()[/quote]
&lt;p&gt;no - you would want&amp;nbsp;&lt;em&gt;&lt;strong&gt;a!startProcess()&lt;/strong&gt;&lt;/em&gt; to start the process headless in the background, then feed any results of that process&amp;#39;s transactions back into your curent interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100848?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 12:34:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5a608e9b-c822-4f60-881d-be1eb6b09c12</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!startProcess(
  processModel: cons!ACC_PM_COMMENT_ON_TASK,
  processParameters: {
    nameOfTheVariable: local!selectedSuiteName
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100847?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 12:32:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c5f2d3b5-1ad3-45e7-8b3e-9a70baf40bc3</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You can pass the value in a variable if you mark that variable as a parameter.&amp;nbsp;&lt;br /&gt;Refer this article for more info -&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/22.3/Start_Process_Smart_Service.html#a!startprocess()"&gt;docs.appian.com/.../Start_Process_Smart_Service.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100844?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 12:26:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2dbf2298-ab52-4308-b916-b455bcbd86a4</guid><dc:creator>only4u</dc:creator><description>&lt;p&gt;Hi Harshit,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for reply.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know how to send the data of local!selectedSuiteName in the process ? Could u pls insist ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to simulate calling two smart services in Appian ?</title><link>https://community.appian.com/thread/100839?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 10:34:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9efe9b43-8ec5-4eac-a41c-82e981ad2ccf</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You cannot execute more than one smart service on a button. I would advice you to go with a process and start the process using a!startProcessLink()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>