<?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>Process does not show User Input Task</title><link>https://community.appian.com/discussions/f/process/10080/process-does-not-show-user-input-task</link><description>I had a process model that has sub-process, events, script tasks and user tasks, and it was working fine, recently I had to updated the process model and added a sub-process right before the user task that will run multiple sub-processes synchronously</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44608?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2017 08:32:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0305b80b-77ca-4fc5-8a53-e2b252ec2f0c</guid><dc:creator>aloks0189</dc:creator><description>As per my understanding, it doesn&amp;#39;t makes any difference whether you calling a subprocess along with MNI or else calling a script Task with MNI configuration which invokes Web-APi and the API invokes Sub process (process). Because as per Minal Statement, the User Input task is depending on the output of all MNI sub-processes, so whether we call a subprocess with MNI configuration or using a Script Task with MNI configurations doesn&amp;#39;t makes any difference.&lt;br /&gt;&lt;br /&gt;Unfortunately the response time will be more delayed in case WEB-API, because in this case through Script Task we need to invoke Web-API and after that Web-API needs to invoke Process, but in earlier case directly process was invoking the Subprocess.&lt;br /&gt;&lt;br /&gt;So as per my understanding and as per above contributions, he need to cut-off the nodes or else he should try performing these CRUD operation from User input Task by the help of Smart Service Functions, Also the solution provided by @coltonb as well as @stefanh791 is perfect as per my understanding.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44597?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2017 23:30:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bded0225-21d2-42bd-a2f0-5c71a520ccfc</guid><dc:creator>ranveerr</dc:creator><description>Minal,&lt;br /&gt;Other way you can do is create a web API and call this web API in script task under apply. This will resolve your problem.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44553?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 20:44:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:99a832b0-4379-405e-8d58-edcec8391236</guid><dc:creator>Stefan Helzle</dc:creator><description>We do such complex processing in an expression that returns a list of entityData items and put it into a write to multiple datastore items node. When you deploy the cdt manipulation plugin you can load, modify and store data in a single expression. Apply() allows you to do that to any number of items. The important thing is that you expression calls a!entityData to create its output data.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44551?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 18:37:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6750ae31-a767-4508-9721-2075b7572795</guid><dc:creator>minalabib</dc:creator><description>@aloks176, thanks, considering your suggestions&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44550?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 18:35:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4919e412-6044-4550-8750-a7b3a3fcce23</guid><dc:creator>aloks0189</dc:creator><description>@minal i agree with @philb you can send array of items and perform all store operation using process model and all retrieve and operations using rule in interface&lt;br /&gt;&lt;br /&gt;Also not to forget, you can perform insert, update, delete, select as well as execute many OOTB smart service from interface also by he help of smart service function.&lt;br /&gt;&lt;br /&gt;So if possible, try doing these operation through interface on load itself.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44549?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 18:30:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0df55fe5-b76c-4884-8159-4b65da016334</guid><dc:creator>Colton Beck</dc:creator><description>Based on your explanation, this could be a good use case for using stored procedure. You could do a single procedure call that handles all data checks and writes, then you could run a single query to return all information the user would need to see.&lt;br /&gt;&lt;br /&gt;Just something to consider.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44548?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 18:29:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4800922b-f659-412a-8e91-a73cb5ce0c46</guid><dc:creator>minalabib</dc:creator><description>@aloks176, I will update the sub-process to do the work in fewer script activities calling expression rules.&lt;br /&gt;@philb, I actually accumulate all the data from the MNI sub-processes and write once after, but the sub-process has extensive number of unattended tasks which I am planning to reduce and use more expression rules.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44547?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 18:24:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d8b231e3-155a-4905-87c2-77da5c6d89ed</guid><dc:creator>PhilB</dc:creator><description>Don&amp;#39;t forget that you can carry out a write of multiple rows with a single write to datastore node; if you&amp;#39;re looping the subprocess because you&amp;#39;re doing the same thing to multiple items, see if you can rewrite the subprocess to accept a list of items and have it update all of them at once rather than one at a time. There&amp;#39;s also the write to multiple data store node if you&amp;#39;re really struggling to cut down the number of unattended nodes.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44546?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 18:22:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:53892f6d-7845-41d1-b31e-5562545a5e52</guid><dc:creator>aloks0189</dc:creator><description>@minal in such cases i don&amp;#39;t think there is any possibility to get the User input Task directly, because here the number of nodes as well as the time to complete the subprocess is huge. so if possible, then try doing most of the processing using rule in interface instead of subprocess, however this can cause huge performance issue too.&lt;br /&gt;&lt;br /&gt;Also is there any possibility to send complete array into the subprocess and process all at a time instead of having MNI?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44545?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 18:19:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ea21d6ef-81f4-46a6-b613-b110e1190b61</guid><dc:creator>minalabib</dc:creator><description>@philb, the sub-process is taking each instance in the array and run few checks includes data retrieval and then insert data in the database if needed, the end result is passed to the user task to show up in the screen.&lt;br /&gt;I think the appropriate solution is to revisit the sub-process and cut down the number of chained nodes as you suggested. thanks.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44544?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 18:15:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5cd67fe2-1a6d-4a38-9af3-0f119dd363c5</guid><dc:creator>PhilB</dc:creator><description>What are you trying to achieve with multiple runs of fifty or more nodes before a user input task...?! Are they data writes, data retrieval...? As @minal asks, does the task rely on all of the output? Do the subprocesses contain data retrieval that could be done in the interface? You&amp;#39;ll have to cut down the number of chained nodes before the task to get this to work.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44543?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 18:12:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0763a797-8ef6-40e1-86e7-1413289ac508</guid><dc:creator>minalabib</dc:creator><description>@aloks176, the user task is depending on the output of all MNI sub-processes.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44541?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 18:10:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d8522e78-0f84-4def-8deb-35c883924295</guid><dc:creator>aloks0189</dc:creator><description>@minal is the User Input Task node depending upon the Subprocess which has MNI. if it is, then is the User Input Task depending upon only one instance of Subprocess or all?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44540?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 18:07:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7f212e58-ef4e-488c-a2c8-f9375fd6fdab</guid><dc:creator>minalabib</dc:creator><description>@coltonb, I won&amp;#39;t know how many instances in the array in the runtime, and the sub-process is running quite few conditions and script tasks before writing to the database.&lt;br /&gt;@philib, there are more than 50 nodes per sub-process and the sub-process is called multiple time in parallel.&lt;br /&gt;@christineh, i actually have similar setup to what you described, as the parent process chained to synchronous sub-process, and first sub-process calls another sub-process multiple times and at the end all chain to the user task, but I can&amp;#39;t run it asynch. as the user task depends on the output of all ran sub-processes.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44539?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 18:00:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8dc01b02-f572-4ea1-855a-ce46b7907d9f</guid><dc:creator>ChristineLHutchison</dc:creator><description>you could try having a sub that you chain, pass your data to another sub that has the MNI set up. That way, the first sub starts asynchronously and then chains to the user task, but not to the MNI. Just a thought to get away from the max node instance.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44538?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 18:00:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:df3c82b6-b9e3-457d-b08e-42130854227c</guid><dc:creator>PhilB</dc:creator><description>Also how many unattended nodes in the sub-process and any child processes?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44537?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 17:59:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:67ec8926-527d-4296-9b8f-9537a7119dba</guid><dc:creator>Colton Beck</dc:creator><description>Is it not possible to handle every index in that array in a single sub-process instance? Are you only writing to database tables, or are there other, more complex activities happening in the sub-process?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44536?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 17:56:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4ce9b6ef-8e53-4cc8-ae36-ef15fb49ec99</guid><dc:creator>minalabib</dc:creator><description>the sub-process is called number of times equal to process variable list length the configuration is attached.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/14/2017_2D00_03_2D00_29_5F00_9_2D00_54_2D00_33.bmp"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/14/2017_2D00_03_2D00_29_5F00_9_2D00_54_2D00_33.bmp" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44535?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 17:53:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6840b9fb-559d-4458-9b96-5ee3186b621c</guid><dc:creator>Colton Beck</dc:creator><description>What is your use case for looping the sub-process? Maybe there is a better way to meet the requirements.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44534?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 17:52:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:10f5ba34-0c65-49f4-bf69-3e4434a496b3</guid><dc:creator>aloks0189</dc:creator><description>@minal as @coltonb already mention, please enable activity chaining for each and every node within each and every subprocess till the User Input Task, if anywhere it gets missed, then again you need to go to task tab and manually pick-up the Task. Also there is some fixed duration in seconds(specially between one to another User Input Task node) if that exceeds before the flow reaches till the User Input Task node, then also the activity chaining will get break.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44533?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 17:50:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ca019a98-6e63-4451-854e-66e5bc528367</guid><dc:creator>minalabib</dc:creator><description>The chaining looks fine to me, it might be theh 50 unattended nodes limit, as the sub-process runs multiple times and it has large number of nodes .. &lt;br /&gt;what would be the best practice in that case ?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44532?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 17:43:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3dbe4c98-c309-4c95-b61d-773aceea35f1</guid><dc:creator>PhilB</dc:creator><description>You could also be breaking the chaining limit of 50 (by default) unattended nodes.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44531?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 17:36:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84ef3478-ef48-442a-94ab-7d745abbea66</guid><dc:creator>Colton Beck</dc:creator><description>&lt;a href="https://docs.appian.com/suite/help/17.1/Configuring_Activity-Chaining.html"&gt;docs.appian.com/.../Configuring_Activity-Chaining.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process does not show User Input Task</title><link>https://community.appian.com/thread/44530?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 17:35:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ed5c6efe-d083-474e-a371-f16b0a403130</guid><dc:creator>Colton Beck</dc:creator><description>Please ensure you have proper activity chaining enabled. This usually happens when a link in the chain is missing.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>