<?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>When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it&amp;#39;s status to Paused by exception</title><link>https://community.appian.com/discussions/f/process/12516/when-i-try-to-execute-queryprocessanalytics-inside-escalation-timer-rule-event-it-change-it-s-status-to-paused-by-exception</link><description>I have a problem defination as &amp;quot; Escalation timer will start only when task is accepted by a user &amp;quot; For that, I have created an expression rule which called queryProcessAnalytics to find if task is accepted by particular user or not and called that rule</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/58025?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 10:05:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:70c0218e-5af5-4591-8e3b-6f55025c3a6a</guid><dc:creator>shafaly</dc:creator><description>Hi Shubham Aware,&lt;br /&gt;
&lt;br /&gt;
Can you please fetch this Expression rule in the script task before the node where you applied exception and store the value in the variable of type boolean and use the variable in the exception, instead of expression rule.&lt;br /&gt;
&lt;br /&gt;
This should be working fine.&lt;br /&gt;
&lt;br /&gt;
Hope this will help you.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/58024?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 10:04:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1a8b5ba6-bf39-47c5-ba79-ba23b91f5ff7</guid><dc:creator>shafaly</dc:creator><description>&lt;p&gt;Hi Shubham Aware,&lt;br /&gt; &lt;br /&gt; Can you please fetch this Expression rule in the script task before the node where you applied exception and store the value in the variable of type boolean and use the variable in the exception, instead of expression rule.&lt;br /&gt; &lt;br /&gt; This should be working fine.&lt;br /&gt; &lt;br /&gt; Hope this will help you.&lt;br /&gt; &lt;br /&gt; Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/58015?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 19:02:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d5e55924-db6e-430d-8d05-01954b2c6329</guid><dc:creator>wesleyj1387</dc:creator><description>&lt;p&gt;I agree, I think there&amp;nbsp;is a limitation here. I am experiencing the same issue with a start event timer. I am getting the following error whenever I use a query rule or a!queryEntity:&lt;/p&gt;
&lt;p&gt;ERROR:EVAL:@reason=index&lt;/p&gt;
&lt;p&gt;This is related to the &lt;a href="/support/w/kb/367/kb-1148-details-error-eval-reason-index-error-thrown-when-using-escalations-timers-and-exception-flows"&gt;knowledge base article&lt;/a&gt;, but that article only mentions the load() statement. It would be great to have this fixed, but in the interim, could we&amp;nbsp;include query rules and queryEntity() in the article or in the Appian documentation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/56734?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 01:51:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fd527750-4d91-41df-b67e-61e4e2630c2a</guid><dc:creator>Will Teoh</dc:creator><description>Not sure if it is due to the limitation that we can&amp;#39;t actually query anything in the start node with timer.&lt;br /&gt;
I have tried to put a query in the timer start node to query the database table for a flag, but that couldn&amp;#39;t work.&lt;br /&gt;
&lt;br /&gt;
However, if you start the process manually, it works fine.&lt;br /&gt;
&lt;br /&gt;
Perhaps someone from Appian can verify this. I suggest you log a support ticket to them to enquire about this. Although they told us to post our question in the community, but this can&amp;#39;t be 100% sure that someone will answer us.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/55710?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 12:27:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:48a80a5b-a780-4455-aac0-6961391faea6</guid><dc:creator>Shubham Aware</dc:creator><description>i have tried with tp!id still same issue&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/55696?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 10:32:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dae0dfbb-c2d3-490a-b076-4a27b7dec0f1</guid><dc:creator>Shubham Aware</dc:creator><description>yes all basic functionality is working fine like retrieving data from report&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/55695?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 10:32:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ca10158-d393-455d-874c-96d76f3eda35</guid><dc:creator>abishekk109</dc:creator><description>ppid_int is the process properties id? I think it should be assigned to the tp!id i.e task properties id.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/55693?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 10:30:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b44820e6-178c-4171-96f4-8218edc76cfa</guid><dc:creator>Shubham Aware</dc:creator><description>yes i have created task report and passed that in constant (refer code snippet snapshot)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/55691?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 10:24:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:634bda1c-0106-44dd-8143-99f37e7136cc</guid><dc:creator>abishekk109</dc:creator><description>is the process id coming properly? did you try to print it out &lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Ak&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/55690?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 10:22:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:08540394-4579-4990-bc7f-cfe12f131217</guid><dc:creator>abishekk109</dc:creator><description>Did you create a process or a task report before using this a!queryProcessAnalytics() ??&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/55689?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 10:16:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7750f527-090f-4e11-93a1-e89bb1bf129c</guid><dc:creator>Shubham Aware</dc:creator><description>Actually i have tried using ri! and pp!id also it throwing same error,&lt;br /&gt;
and also i have removed null check from it same situation here also.&lt;br /&gt;
&lt;br /&gt;
I have tested  queryProcessAnalytics() function with harcoded process id it&amp;#39;s giving proper output.&lt;br /&gt;
I have passed any other condtion rather than queryProcessAnalytics() it&amp;#39;s working properly&lt;br /&gt;
&lt;br /&gt;
Don&amp;#39;t know this happening&lt;br /&gt;
&lt;br /&gt;
Thanks!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/55676?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 08:53:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2f76d4d6-0b7e-4a2b-8298-0ccb33d76dae</guid><dc:creator>abishekk109</dc:creator><description>And please check the a!queryProcessAnalytics() value before indexing the value to the expected value. Please check whether it is returning output of the desired form.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/55674?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 08:50:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3a70d76c-01d1-4e52-90be-33cb3a3d9b30</guid><dc:creator>abishekk109</dc:creator><description>I see here that you have checked null for ppid_int. As far as i know the value of ppid_int should be null. Please define ppid_int as an ri in the expression rule and pass the pv!ppid_int to the ri. Can you try on this. This is likely to cause trouble.&lt;br /&gt;
&lt;br /&gt;
If this doesn&amp;#39;t solve the problem let me know for further discussion. And you can remove the null check as the value of pv will not be blank.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Ak&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/55671?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 08:37:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:af900963-3a3d-46f2-ab2e-33b6e9b05e0f</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;Hi abishekk109 (abhishekk109)&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/14/upload4.JPG"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/upload4.JPG" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/14/Upload3.JPG"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/Upload3.JPG" alt=" " /&gt;&lt;/a&gt;&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/14/upload4.JPG"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;I have called this rule from timer condition while setting escalation&lt;a href="/cfs-file/__key/communityserver-discussions-components-files/14/upload4.JPG"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;P.S. :-&amp;nbsp;Value of&amp;nbsp;&lt;strong&gt;ppid_int&lt;/strong&gt; is set to&amp;nbsp;&lt;strong&gt;pp!id&amp;nbsp;&lt;/strong&gt;before user input task&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Shubham&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When i try to execute queryProcessAnalytics inside Escalation timer rule event it change it's status to Paused by exception</title><link>https://community.appian.com/thread/55668?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 07:28:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d3cdd1fa-0ca5-4402-aa52-16c0c35d1e45</guid><dc:creator>abishekk109</dc:creator><description>Hi,&lt;br /&gt;
&lt;br /&gt;
Can you please provide more info on this. Your expression snippet and how you have called it in escalation tab.. &lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Abishek Kulothungan&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>