<?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>Leveraging activity-chaining</title><link>https://community.appian.com/discussions/f/general/25159/leveraging-activity-chaining</link><description>Hi everyone, 
 Hope everyone is doing well and safe. 
 
 Can any one help me with Leveraging activity-chaining with example.? 
 How can we pass data from one process to other process by using start process smart service? 
 Thank you all in advance! 
</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97847?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2022 21:13:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2270b19-e388-438a-8620-00dc9a4bc8b6</guid><dc:creator>erikb0001</dc:creator><description>&lt;p&gt;Hi Kiran,&lt;/p&gt;
&lt;p&gt;If you mean how to get data output returned from the proces initiated via the start process smart service you have to use activity chaining in the child right from the first node. The parent will wait for the last chained node in the child to finish before the parent proceeds to the next node. This way the behavior of the start process smart service is kind of synchronize and you will be able to fetch the output of the child process in the node&amp;#39;s that follow after the start process smart service node. the pv&amp;#39;s of the child are returned in a array of pv&amp;#39;s. To initiate the child process via start process smartservice in via a dictionary with the data regarding to the parameters of the child process to be started. If you don&amp;#39;t chain the nodes in the child the pv&amp;#39;s will be null if you fetch them in the next node because default behavior is async, so the next node in the parent will not get updated data in the child because it executed before the child was finished with updating the data.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Erik&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97783?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2022 05:22:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b4021b4-f58c-4de6-88b6-00586d7b63d1</guid><dc:creator>Kiran Sajjan</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you for your great help in clarifying my doubts .&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97782?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2022 05:18:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ad4ec249-3ddb-411e-823f-80fa860a9e6a</guid><dc:creator>Kiran Sajjan</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you very much &lt;a href="/members/peter.lewis"&gt;Peter Lewis&lt;/a&gt;for clarifying my doubts.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97771?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2022 19:22:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:146531d3-f4b2-41b4-bcda-38e6dcbc0158</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Thank you very much for this excellent description &lt;a href="/members/peter.lewis"&gt;Peter Lewis&lt;/a&gt;. Very much appreciated :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97756?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2022 15:49:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1077c56d-17fe-46cc-8d29-78649c1a8f47</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Interestingly it is&amp;nbsp;technically still valid&amp;nbsp;to use a form on any node that allows it (including nodes that aren&amp;#39;t User Input Tasks). If you do this, it will correctly generate a task that is visible in the tasks feed, and it can be completed and save outputs just like a user Input Task.&lt;/p&gt;
&lt;p&gt;However, there are&amp;nbsp;a few reasons why almost no one does this in practice:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Saving data is a bit strange. In most cases you want to guarantee that one activity occurs before another (e.g. saving the data on a form occurs before starting a process). However, since activity class parameters are evaluated in parallel, this isn&amp;#39;t guaranteed to happen. It&amp;#39;s usually much better to separate out the User Input Task ahead of the next node to guarantee the order of operations.&lt;/li&gt;
&lt;li&gt;Debugging is also harder if you combined everything together into a single node, as the process history can&amp;#39;t provide granular enough detail to give context for what occurred within a node.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For those reasons, it&amp;#39;s best practice to not use the Forms tab within any node except for User Input tasks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97654?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2022 09:28:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:78faedfe-a158-4b79-b0b2-586159328ae1</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I do not understand your doubts. Each node is made for a specific purpose. And to assign a task to a user you use a user input task.&lt;/p&gt;
&lt;p&gt;And&amp;nbsp;I agree that the available options can be a bit misleading and should be improved in the product.&lt;/p&gt;
&lt;p&gt;&lt;a href="/members/peter.lewis"&gt;Peter Lewis&lt;/a&gt; What do you think about the option to assign a form to a node type which does not support it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97651?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2022 08:32:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:96bebd01-2572-4a9e-8dfa-0c13172bff47</guid><dc:creator>Kiran Sajjan</dc:creator><description>&lt;p&gt;Okay.&lt;/p&gt;
&lt;p&gt;Is they mentioned anywhere in documentation not to use as form this node? or any best practices in the documentation how to use this nodes?&lt;/p&gt;
&lt;p&gt;can you suggest me on this..&lt;/p&gt;
&lt;p&gt;actually I am thinking it is bug in the product!&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you in advance!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kiran Sajjan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97647?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2022 08:11:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0243dc70-6ca5-40f0-a753-40867560cf45</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;span&gt;If they given option means we can use it right?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sorry, but no! The configuration dialog in the process modeller is the same for almost all nodes and some options will not work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As I said, forms will only work when used with a user input task.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97645?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2022 08:04:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b1f904db-c718-4b30-b3e1-54aa00f6e3ec</guid><dc:creator>Kiran Sajjan</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;By using user input task before start process smart service it will work. but what is the purpose of forms tab in the start process smart service?&lt;/p&gt;
&lt;p&gt;if they given option means we can use it right?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you in advance!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kiran Sajjan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97641?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2022 05:56:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0dd0bf1f-eaf7-4b84-9042-3fc33b90c3b2</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You can only use forms as a start form in a process model and in user input tasks! Any other node type will ignore your configured form.&lt;/p&gt;
&lt;p&gt;I suggest to put a user input task just before the start process node.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97637?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2022 04:53:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6e7278ea-b8ee-4394-b7b8-3cd810cad21d</guid><dc:creator>Kiran Sajjan</dc:creator><description>&lt;p&gt;Hi Harishit,&lt;/p&gt;
&lt;p&gt;This is my PM with activity chaining, I configured form in the Start Process Smart service and I updating some data in start process smart service form and submitting and it will trigger one more PM. but, what ever the changes done in the start process smart service form was not updating in the child process.&lt;/p&gt;
&lt;p&gt;I hope you understand the issue by this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1.Parent Process Model&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1657687553793v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;2.Configured form in the Start Process Smart service.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1657687723959v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;3.Child Process model&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1657687809113v5.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97613?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2022 12:47:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4a4b9723-a3ab-49bb-b45d-72b1122d2ffd</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Start process smart service is used as an alternative for the Async Sub process. It also provides the flexibility to not create dependency on a process dependents/precedents rather it asynchronously starts a process model, hence also taking care of the load balancing.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If you want to open two forms, one after another, without falling out, you can use a sub-process synchronously and add activity chaining.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Chaining is used to run the chained nodes on a single engine. In a normal language, It helps you jump between two or more forms without falling out but increases the engine load. This is the reason why we have a limit of 50 for chained nodes.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97611?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2022 12:25:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dea13b78-b1ce-4c61-a842-4fdf6261b752</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I am not sure I understand what you are doing. Where do you configure a form? The start process smart service does not support any forms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97610?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2022 11:57:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a0054189-a64a-448e-a43e-0211a9f203c4</guid><dc:creator>Kiran Sajjan</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;I created one PM, inside that configured start process smart&amp;nbsp; service with form and done activity chaining, but what ever value changes done in the start process smart service form not updating in the child process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Leveraging activity-chaining</title><link>https://community.appian.com/thread/97596?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2022 09:36:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0b0b830b-bcee-4617-9538-fda9dba008ff</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;In the&amp;nbsp;&lt;span&gt;start process smart service you create&amp;nbsp;a dictionary&amp;nbsp;of data to be passed to the process.&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/22.2/Start_Process_Smart_Service.html#configuration-options"&gt;https://docs.appian.com/suite/help/22.2/Start_Process_Smart_Service.html#configuration-options&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What do you want to know about chaining?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>