<?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>queryProcessAnalytics with Refresh Interval</title><link>https://community.appian.com/discussions/f/general/29342/queryprocessanalytics-with-refresh-interval</link><description>Hello All, 
 We need to show the generated docs in the interface, and if there is any error in the document generation need to show an error to the user. 
 Document creation takes time so we created the PM to generate the document and used the process</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: queryProcessAnalytics with Refresh Interval</title><link>https://community.appian.com/thread/116365?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 02:10:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:db55896c-2718-4579-b8a3-9f34d9d6101f</guid><dc:creator>Sneha Yada</dc:creator><description>&lt;p&gt;Thank you for the response.&lt;/p&gt;
&lt;p&gt;Yes &amp;quot;IF&amp;quot; condition is&amp;nbsp;true and I assumed process report data will not refresh as the refresh interval condition is false.&lt;/p&gt;
&lt;p&gt;Let me try this approach. Thank You&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: queryProcessAnalytics with Refresh Interval</title><link>https://community.appian.com/thread/116364?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 02:07:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:50117ffe-168a-4fa6-82a0-c1f064238bdf</guid><dc:creator>Sneha Yada</dc:creator><description>&lt;p&gt;1.Refresh is Interval&lt;/p&gt;
&lt;p&gt;2. No UI local variables are references in the&amp;nbsp;a!refreshVariable and referenced ri will not get refresh in the UI&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: queryProcessAnalytics with Refresh Interval</title><link>https://community.appian.com/thread/116308?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2023 07:53:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0e0a9938-d18e-41ca-a76f-8fffd33f5bbd</guid><dc:creator>Ignacio Mor&amp;#225;n</dc:creator><description>&lt;p&gt;Hi Sneha,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I see is that your value for the IF() inside the local!processReportData value is always true(), the you will always query the process report.&lt;/p&gt;
&lt;p&gt;What I would do is:&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a local variable (for example, local!refresher) that refreshes every 0.5 minutes which value is an if() statement, if(variable from process report = whatever, null, true).&lt;/li&gt;
&lt;li&gt;Then the local!processReportData should be also an if() statement, if(local!refresher, a!queryProcessReport, null), &lt;span&gt;refreshOnReferencedVarChange: local!refresher.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: queryProcessAnalytics with Refresh Interval</title><link>https://community.appian.com/thread/116209?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 08:02:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1022743b-f807-4e56-a3ef-4748324a5419</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Is that refresh then still in an interval, or on user interaction? Are you aware that the parameter&amp;nbsp;refreshOnReferencedVarChange is set to true by default?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: queryProcessAnalytics with Refresh Interval</title><link>https://community.appian.com/thread/116205?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 07:31:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:83ada990-ade9-49b1-b289-2842b7175553</guid><dc:creator>Sneha Yada</dc:creator><description>&lt;p&gt;Thank you Stefan for the response.&lt;/p&gt;
&lt;p&gt;&lt;span class="s"&gt;We are also&amp;nbsp;stopping the refresh based on the variable returned from the process report but&amp;nbsp;&lt;/span&gt;wondering why it&amp;#39;s refreshing the process report even refresh interval is null.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: queryProcessAnalytics with Refresh Interval</title><link>https://community.appian.com/thread/116200?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 06:22:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e019cad3-a0ad-42da-8400-41360cf5633f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/recipe-refresh-until-asynchronous-action-completes.html"&gt;docs.appian.com/.../recipe-refresh-until-asynchronous-action-completes.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>