<?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>Query fails first time and runs fine afterwards</title><link>https://community.appian.com/discussions/f/general/26729/query-fails-first-time-and-runs-fine-afterwards</link><description>Hi Guys, 
 I have a query entity rule which is failing to retrieve data when I run for the first time in a day. If I run again, it&amp;#39;s working as expected. This behavior has started happening recently(it was running fine from long). 
 I looked into the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Query fails first time and runs fine afterwards</title><link>https://community.appian.com/thread/104937?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 18:54:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0a88e6be-069b-40c2-b2e9-119a9a0a62b3</guid><dc:creator>ravichandt316819</dc:creator><description>&lt;p&gt;You can find here a set of possible solutions for your error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.appian.com/discussions/f/general/8536/error-occurred-while-retrieving-the-data/71096#71096"&gt;community.appian.com/.../71096&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query fails first time and runs fine afterwards</title><link>https://community.appian.com/thread/104931?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 17:43:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b1c8b07f-abf7-4bbc-b992-db42cfe81e83</guid><dc:creator>varsha_kr</dc:creator><description>&lt;p&gt;I verified the&amp;nbsp;&lt;span&gt;tomcat_stdout log files for all the servers and didn&amp;#39;t find anything related to this error. Usually, the timeout error or memory/heap usage issues will be written.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query fails first time and runs fine afterwards</title><link>https://community.appian.com/thread/104928?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 17:37:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:501adb86-b12a-4215-9af8-19c7021186a1</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;We have two involved parties here. Appian and the connected DB. Appian will write details to the tomcat_stdout log file, in case you want to check this. What the DB is doing, is completely out of control of Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query fails first time and runs fine afterwards</title><link>https://community.appian.com/thread/104927?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 17:27:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:998b339e-fc44-4083-b7cd-9afa49749f29</guid><dc:creator>varsha_kr</dc:creator><description>&lt;p&gt;I am thinking it&amp;#39;s a timing issue but I don&amp;#39;t have any proof of that. Will it cache the entire table data? Because I am querying with different id&amp;#39;s and it&amp;#39;s all returning data quickly.&amp;nbsp;&lt;br /&gt;Also, I am&amp;nbsp;wondering why it&amp;#39;s not writing the error in logs.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query fails first time and runs fine afterwards</title><link>https://community.appian.com/thread/104926?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 17:10:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:15312cb3-1fcb-43cd-9130-be91c34e36de</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Do you have any details? Could this be a timing issue? It just works as long as the data is cached in the DB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>