<?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>Refresh Data in readOnly grid with datasource a!queryProcessAnalytics</title><link>https://community.appian.com/discussions/f/data/24499/refresh-data-in-readonly-grid-with-datasource-a-queryprocessanalytics</link><description>Hello, 
 
 I have one main dashboard that displays a readonly grid which has as datasource one expression rule in which i have a a!queryProcessAnalytics . 
 In the grid that I display I&amp;#39;m using a!processTaskLink(). 
 The problem is in case an action is</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Refresh Data in readOnly grid with datasource a!queryProcessAnalytics</title><link>https://community.appian.com/thread/94723?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 07:56:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c86bc3d-3647-4966-b77c-3d6aebf6e2eb</guid><dc:creator>Andrei Iordache</dc:creator><description>&lt;p&gt;I will go with the second method, thank you for that!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh Data in readOnly grid with datasource a!queryProcessAnalytics</title><link>https://community.appian.com/thread/94688?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 16:14:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b05d6f8-8851-4853-8954-d1610cfe580b</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="62596" url="~/discussions/f/data/24499/refresh-data-in-readonly-grid-with-datasource-a-queryprocessanalytics/94687#94687"]the &amp;quot;confirmation task&amp;quot; should be a!startprocess with chaining[/quote]
&lt;p&gt;No - the confirmation task would just be chained-to in the same process. I see no need to bring &lt;em&gt;a!startProcess()&lt;/em&gt; into this, and in particular, it wouldn&amp;#39;t (and couldn&amp;#39;t) do what you want it to do anyway.&lt;/p&gt;
&lt;p&gt;Edit: here&amp;#39;s a sketch of how this would be configured.&amp;nbsp; From the user&amp;#39;s perspective this will function very simply.&amp;nbsp; From a process perspective as well.&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/16/pastedimage1651767560300v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh Data in readOnly grid with datasource a!queryProcessAnalytics</title><link>https://community.appian.com/thread/94687?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 16:12:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a01197d3-c8f3-4cf8-8191-624eeb4d6d9e</guid><dc:creator>Andrei Iordache</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/mikes0011"&gt;Mike Schmitt&lt;/a&gt; i think I will go for the second method since the first one it isn&amp;#39;t in the acceptance criteria but I would like to ask you more about that, the &amp;quot;confirmation task&amp;quot; should be a!startprocess with chaining and it should have a time for end event, in order to not hold it as forever in memory. In case I set another task in between then it will be the same story.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh Data in readOnly grid with datasource a!queryProcessAnalytics</title><link>https://community.appian.com/thread/94672?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 13:51:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6acbc223-ff70-4d38-abd0-3a25abd68b8e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Thanks for the explanation - I see what you mean now.&amp;nbsp; I believe this is only truly &amp;quot;solvable&amp;quot; by compromising with one of perhaps a few different work-arounds.&lt;/p&gt;
&lt;p&gt;The issue is, as far as I&amp;#39;ve experienced, &lt;em&gt;approximately&lt;/em&gt;, &lt;strong&gt;this&lt;/strong&gt;: Having the user &amp;quot;close&amp;quot; a task with a Submit Button will submit that form and, once you break chaining, they will immediately be dumped back out to whatever interface they started on, while the process in the background might take its time spawning the new task (hence the delay you mention).&lt;/p&gt;
&lt;p&gt;My favorite and &amp;quot;purest&amp;quot; method to deal with this is to just provide them a &amp;quot;refresh&amp;quot; icon on their task list.&amp;nbsp; They&amp;#39;ll get used to using it, IMHO.&lt;/p&gt;
&lt;p&gt;The second best method for dealing with this, and somewhat more direct, would be to branch the user to a different (chained) &amp;quot;confirmation&amp;quot; task, where the only information in that task is text saying &amp;quot;your task has been moved back to your task list&amp;quot; (etc).&amp;nbsp; The user is chained to this task while, *simultaneously* in the process, the original task (node) has been returned to, and by the time they hit the &amp;quot;close&amp;quot; button on the Confirmation task, the original (real) task will have spawned and will be waiting for them in their task list.&amp;nbsp; The main cost here is it adds *one click*, though most people won&amp;#39;t care that much about a single additional click in cases like this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh Data in readOnly grid with datasource a!queryProcessAnalytics</title><link>https://community.appian.com/thread/94647?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 07:39:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:01f04b6c-1dc8-4eeb-9208-23c66b8a8c9e</guid><dc:creator>Andrei Iordache</dc:creator><description>&lt;p&gt;hi &lt;a href="/members/mikes0011"&gt;Mike Schmitt&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Thank you for your reply, with the &amp;quot;Close&amp;quot; (sort of close without saving) button I would like to allow the users to get back to their my task grid without being necessary for them to click on the tab. The problem is that sometimes (60% of the time) they are redirected faster than the reload/refresh of the &lt;strong&gt;a!queryProcessAnalytics&lt;/strong&gt; and I was thinking if I&amp;#39;m able somehow to force the refresh first and then to redirect the user.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh Data in readOnly grid with datasource a!queryProcessAnalytics</title><link>https://community.appian.com/thread/94628?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 21:02:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:411660aa-8397-4e3f-94cf-5c8cd6e5a25a</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;You can use a gateway in combination with a ri/pv buttonAction (type string) directly after the task. The moment you cancel its going to an end event &amp;nbsp;the moment you go back you are chained and back at your task.&lt;/p&gt;
&lt;p&gt;But as I am writing this, it somehow hurts as I have the feeling pretty much like Mike....we miss quite some details what the overall idea is. From a design perspective something &amp;nbsp;feels ....&amp;quot;off?&amp;quot;. Don&amp;#39;t know if it&amp;#39;s the right word. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh Data in readOnly grid with datasource a!queryProcessAnalytics</title><link>https://community.appian.com/thread/94626?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 20:52:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f6e0c17b-f1c6-4169-930d-a8cb646d4060</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Can you share with us a bit more detail (including, if needed, some code snippets and/or screenshots), covering what you&amp;#39;re currently attempting, as well as a higher-level &amp;quot;user experience&amp;quot; style walk-through of what you&amp;#39;re hoping to accomplish?&amp;nbsp; I stall can&amp;#39;t quite discern what you&amp;#39;re trying to set up here from the point of view of the user.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh Data in readOnly grid with datasource a!queryProcessAnalytics</title><link>https://community.appian.com/thread/94625?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 20:42:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:65213130-8196-427a-9a91-dd5d86fb8065</guid><dc:creator>Dimitris Soulovaris</dc:creator><description>&lt;p&gt;So the name of the setting &amp;quot;refreshAlways&amp;quot; it&amp;#39;s false as it&amp;#39;s not refreshing always, as it should&amp;nbsp; :P&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh Data in readOnly grid with datasource a!queryProcessAnalytics</title><link>https://community.appian.com/thread/94624?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 20:17:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:86f02c77-bfe9-4a14-bedb-da43e6270b66</guid><dc:creator>Andrei Iordache</dc:creator><description>&lt;p&gt;Unfortunately it is not working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh Data in readOnly grid with datasource a!queryProcessAnalytics</title><link>https://community.appian.com/thread/94623?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 20:12:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f37b28ca-bf3b-4ade-851c-ca64e067c9ea</guid><dc:creator>Dimitris Soulovaris</dc:creator><description>&lt;p&gt;I guess by setting the refreshAlways: true&amp;nbsp;in&amp;nbsp;the a!refreshVariable function is not working as well.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh Data in readOnly grid with datasource a!queryProcessAnalytics</title><link>https://community.appian.com/thread/94622?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 19:47:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:93b55a9c-3b4c-461c-9b25-b06f5adcac2d</guid><dc:creator>Andrei Iordache</dc:creator><description>&lt;p&gt;Hi  ,&lt;/p&gt;
&lt;p&gt;Actually it isnt another task, it is the same one, we have implemented out of the box button &amp;quot;Close&amp;quot; which should allow to the user to navigate back to the previous page without doing anything to the task and if I set a chain the user will be redirected to same task over and over and the Cancel button wont work anymore as per requirement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refresh Data in readOnly grid with datasource a!queryProcessAnalytics</title><link>https://community.appian.com/thread/94619?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 19:05:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0cb287b7-7e3c-41ec-83c3-05ef2219d281</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Let me ask you a question. From your description, it seems like when I as a user complete a task, the process directly assigns the next task to me. If this is correct, why do you do that? Wouldn&amp;#39;t it be better to chain that next task to me so I can continue working?&lt;/p&gt;
&lt;p&gt;Lots of assumptions ...&lt;/p&gt;
&lt;p&gt;In general process execution time and task activation varies and your design should never rely in it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>