<?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 can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/discussions/f/user-interface/14242/how-can-i-get-inputs-from-a-user-input-task-and-i-only-know-the-task-id</link><description>Hi! 
 I have a problem when I try to load a Interface1 (inside another Interface2). My code is: 
 links: if(fv!item.configuredDrilldown = &amp;quot;TASK_DETAILS&amp;quot;, a!forEach( items: index(local!report.data, fv!item.drilldownField, {}), /*expression: a!processTaskLink</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64479?ContentTypeID=1</link><pubDate>Wed, 06 Feb 2019 08:00:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:63baaecb-a1cd-4c2c-9795-b579e03b1014</guid><dc:creator>Pablo Ramos Clemente</dc:creator><description>&lt;p&gt;Answer myself, &amp;quot;&lt;em&gt;Can you tell me How can I get to the process variables?&lt;/em&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;It needs create a Constant &lt;span style="color:#ff6600;"&gt;&lt;em&gt;T_C_TestingPM&lt;/em&gt; &lt;/span&gt;(type process model) for the context, and a Constant&amp;nbsp;&lt;span style="color:#ff6600;"&gt;&lt;em&gt;T_C_RecordTask&lt;/em&gt;&lt;/span&gt; (type document) with the Task Report (which must have been created). Something like this:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#00ccff;"&gt;local!report&lt;/span&gt;: &lt;span style="color:#0000ff;"&gt;a!queryProcessAnalytics&lt;/span&gt;(&lt;br /&gt;&amp;nbsp; &amp;nbsp;report: &lt;span style="color:#ff6600;"&gt;cons!T_C_RecordTask&lt;/span&gt;,&lt;br /&gt;&amp;nbsp; &amp;nbsp;contextProcessModels: &lt;span style="color:#ff6600;"&gt;cons!T_C_TestingPM&lt;/span&gt;,&lt;br /&gt;&amp;nbsp; &amp;nbsp;query: &lt;span style="color:#0000ff;"&gt;a!query&lt;/span&gt;(pagingInfo: &lt;span style="color:#00ccff;"&gt;local!pagingInfo&lt;/span&gt;)&lt;br /&gt; )&lt;/p&gt;
&lt;p&gt;Regards!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64442?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 12:15:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e1d2f10-3c91-4a9f-bedb-2b116e777407</guid><dc:creator>amitb0004</dc:creator><description>&lt;p&gt;Hi Pablo Ramos Clemente,&lt;/p&gt;
&lt;p&gt;What i understand you want to&amp;nbsp; display the Tasks in a Grid With Task Links and when you click on link it should redirect you to that Task Interface and after performing action it should redirect you on same interface.&lt;/p&gt;
&lt;p&gt;As i also done something like that, i created the &lt;strong&gt;constant of Task Report&lt;/strong&gt; which is already present in &lt;strong&gt;Appian Environment&amp;nbsp;&lt;/strong&gt;and used code mention in following link&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/18.4/recipe_display_a_users_tasks_in_a_grid_with_task_links.html"&gt;https://docs.appian.com/suite/help/18.4/recipe_display_a_users_tasks_in_a_grid_with_task_links.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;which gives me task assigned to login user&lt;/p&gt;
&lt;p&gt;and when i click on task link it will redirect on Task Assigned Interface&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As&amp;nbsp;tried one demo....&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/13/Task-Interface.PNG"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/Task-Interface.PNG" alt=" " /&gt;&lt;/a&gt;Image(A)&lt;/p&gt;
&lt;p&gt;and after click on task link&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/13/open-task.PNG"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/open-task.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It will definitely work if not mention me...&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64384?ContentTypeID=1</link><pubDate>Fri, 01 Feb 2019 07:21:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1418fb5f-7539-4b4f-8cd3-543bdea7d205</guid><dc:creator>Pablo Ramos Clemente</dc:creator><description>Is that “task report” with context type a “task by process model”? Yes I did.&lt;br /&gt;
I assume you need to pull the tasks just for that one process model tasks? Correct.&lt;br /&gt;
&lt;br /&gt;
Access the process variables. This could be the good solution. If any of the inputs task is not process variable, the change is not a problem. Can you tell me How can I get to the process variables?&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
Pablo.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64376?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 15:01:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5f82b3d0-1b31-4c7b-a7f7-daa21284cd1d</guid><dc:creator>josep</dc:creator><description>As mentioned by other practitioners and AFAIK too, you cannot access the Inputs/outputs from the task. But what you can do is to access the process variables which are normally the value that you pass when you create the task. &lt;br /&gt;
&lt;br /&gt;
Maybe you already did, is that “task report” with context type  a “task by process model”?,  if it is then you will be able to access the process variables. If not try creating one of those. &lt;br /&gt;
&lt;br /&gt;
You mentioned you have process model, I assume you need to pull the tasks just for that one process model tasks? Is this a correct assumption? &lt;br /&gt;
If yes then that solution mentioned above Can help you. &lt;br /&gt;
&lt;br /&gt;
I think this is the closer you can get to those task input values you want. And the variables should be the same than what the user gets on the screen. And this option gives you the option to filter using those process variables. &lt;br /&gt;
&lt;br /&gt;
The only way this could be different is that on the screen you write to the DB, in that scenario you may want to use queryEntity to pull the information every time the user click on the  “details link”. I hope this is not the case. Of course this solution could kill the filtering option I mentioned above st least for that information that can change. &lt;br /&gt;
&lt;br /&gt;
José&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64372?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 09:59:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2fb8110d-c3e3-488d-a95b-de6063af0ad9</guid><dc:creator>Pablo Ramos Clemente</dc:creator><description>Hi Mike!&lt;br /&gt;
&lt;br /&gt;
When I talk about &amp;quot;inputs task details&amp;quot;, I mean the input variables that the Task has. Variables that Im using in the form of the Task. I think the last post can explain it better.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Pablo.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64371?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 09:02:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e401213f-0aaa-43ef-badf-a132e12414a5</guid><dc:creator>Mike Schmitt</dc:creator><description>I&amp;#39;m still pretty unclear what you mean by &amp;quot;inputs task details&amp;quot;?  Do you mean the ACPs?  As far as i know these are not available externally until the task is submitted.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64370?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 08:53:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a1921e52-0627-432b-8731-faeed014c007</guid><dc:creator>Pablo Ramos Clemente</dc:creator><description>&lt;p&gt;Hello Jose,&lt;/p&gt;
&lt;p&gt;Sorry, I know I dont explain myself completely well. The idea is to create a &amp;quot;Task Manager&amp;quot;. Im going to try to give you a summary:&lt;/p&gt;
&lt;p&gt;- I create a Process Model and a specific Task.&lt;/p&gt;
&lt;p&gt;- I create a Process Report* to access the instances of my Task (I want to access only to Assigned Instances, to complete it if I want).&lt;/p&gt;
&lt;p&gt;- I create an Interface(form) for my Task (up a grid with the Process Report*, and down the &lt;strong&gt;&lt;span style="color:#ff0000;"&gt;details of the instance of the task selected in the grid&lt;/span&gt;&lt;/strong&gt;).&lt;/p&gt;
&lt;p&gt;This last point is the problem that I cannt resolve. Functionally, every instance is an incidence (data input task), so I want to show those incidence values, for each instance I select.&lt;/p&gt;
&lt;p&gt;For example, my task has an integer Input called &lt;strong&gt;&lt;span style="color:#339966;"&gt;&lt;em&gt;Counter&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;. If I assign the task myself, but not complete it, this instance of my Task appears in the grid. I&amp;acute;ve got the &lt;strong&gt;&lt;span style="color:#0000ff;"&gt;id&lt;/span&gt;&lt;/strong&gt; of the instance that I select, but I dont know the next step, to load the details. At the point where Im, I need to get the value of &lt;strong&gt;&lt;span style="color:#339966;"&gt;&lt;em&gt;Counter&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;, or the value of&amp;nbsp;any inputs, and I only have the &lt;strong&gt;&lt;span style="color:#0000ff;"&gt;id&lt;/span&gt;&lt;/strong&gt; of the instance of the Task.&lt;/p&gt;
&lt;p&gt;I hope you understand me better now, thanks for your time.&lt;/p&gt;
&lt;div class="gsrt tw-ta-container tw-nfl"&gt;Best regards,&lt;/div&gt;
&lt;div class="gsrt tw-ta-container tw-nfl"&gt;Pablo.&lt;/div&gt;
&lt;div class="gsrt tw-ta-container tw-nfl"&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class="gsrt tw-ta-container tw-nfl"&gt;PD: I attach two pictures, to help better understand this case.&lt;/div&gt;
&lt;div class="gsrt tw-ta-container tw-nfl"&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class="gsrt tw-ta-container tw-nfl"&gt;Process Report:&lt;/div&gt;
&lt;div class="gsrt tw-ta-container tw-nfl"&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/13/3250.Captura.PNG"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/3250.Captura.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="gsrt tw-ta-container tw-nfl"&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class="gsrt tw-ta-container tw-nfl"&gt;Interface (Task Form):&lt;/div&gt;
&lt;div class="gsrt tw-ta-container tw-nfl"&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/13/Captura2.PNG"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/Captura2.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64367?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 07:27:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:90450591-fc55-4ab7-877b-d3b9fc9df5ff</guid><dc:creator>josep</dc:creator><description>Hello Pablo, &lt;br /&gt;
&lt;br /&gt;
Are you trying to get the values of one specific task? For one specific process? &lt;br /&gt;
&lt;br /&gt;
If so try to the task report as “task by process model” and from there you will be able to read the process variables. Could it help to present the values of the process ?  I hope you are not trying to get the information. Entered by the user because that might need a more complex approach. &lt;br /&gt;
&lt;br /&gt;
In case you have more than 1 process where you want to read the tasks do all the process models have the same variable name-type? &lt;br /&gt;
&lt;br /&gt;
Before giving more options, Is this to send an email? Or can you elaborate your use case? Why and what you are teying you do? &lt;br /&gt;
&lt;br /&gt;
Jose&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64364?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 06:44:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f9157e7e-b275-4659-b0fb-9a02e79228e9</guid><dc:creator>Pablo Ramos Clemente</dc:creator><description>Hi Carlos,&lt;br /&gt;
&lt;br /&gt;
I think is possible with plugins, but I dont know how it works, so Im trying to find a way to do it only with Appian functions.&lt;br /&gt;
The idea is similar to embed, but I only have one Task (I want to embed an interface in another). The problem is the data I need, its the inputs task and I dont know how get this values.&lt;br /&gt;
&lt;br /&gt;
Regards!&lt;br /&gt;
Pablo.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64363?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 06:36:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f8a866e9-7dcf-4d1b-b3e9-16e19180ecfb</guid><dc:creator>Pablo Ramos Clemente</dc:creator><description>Hi Mike!&lt;br /&gt;
&lt;br /&gt;
Just as Josep says, the idea is similar to:&lt;br /&gt;
docs.appian.com/.../recipe_use_links_in_a_grid_to_show_more_details_about_an_object.html&lt;br /&gt;
&lt;br /&gt;
But in the example, its using a CDT. In my case, I show my Tasks in the grid and the inputs task details down (when I click someone).&lt;br /&gt;
I cannt find the way to get any data about inputs (although I´ve could recover the task id).&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64361?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 06:28:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:738af28c-e939-4544-b1fd-84722c3bf31c</guid><dc:creator>Pablo Ramos Clemente</dc:creator><description>Exact Jose!&lt;br /&gt;
&lt;br /&gt;
In my case, I show a Task Report in the grid, so each link is a Task. I want to show the Inputs Task details down the grid, when I select someone.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64358?ContentTypeID=1</link><pubDate>Thu, 31 Jan 2019 06:02:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8dc07684-11b4-41af-9d2e-2da78602099d</guid><dc:creator>josep</dc:creator><description>Hello Pablo, &lt;br /&gt;
&lt;br /&gt;
If I understood correctly are you trying to do something like this example?&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/18.4/recipe_use_links_in_a_grid_to_show_more_details_about_an_object.html"&gt;docs.appian.com/.../recipe_use_links_in_a_grid_to_show_more_details_about_an_object.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Jose&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64347?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 18:05:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:debf424d-8697-4712-8295-cde0b2f4ec83</guid><dc:creator>Carlos Santander</dc:creator><description>I think you&amp;#39;re trying to embed the task into the task report. That&amp;#39;s not possible in Appian. Just have a task link. Once the task is completed, the user will be taken back to the report.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I get Inputs from a User Input Task, and I only know the Task ID?</title><link>https://community.appian.com/thread/64344?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 16:46:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:849f08f5-e666-444a-b238-5905f791a417</guid><dc:creator>Mike Schmitt</dc:creator><description>Can you provide a bit more detail as to what you&amp;#39;re trying to accomplish?  In particular, I can&amp;#39;t tell what you mean by &amp;quot;see the Interface Task (Interface2) down my grid (Interface1).&amp;quot;... or even what you&amp;#39;re trying to do overall.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>