<?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 Database Node takes a long time</title><link>https://community.appian.com/discussions/f/data/28388/query-database-node-takes-a-long-time</link><description>This query is simple enought select noteId , miscMattersMainId , createdOn, createdBy , note from PLSM_note 
 Those are the only fields in the table and only two records in PLSM_note, 
 This is being executed against the pre-defined data source that comes</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111176?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 13:26:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bfad31ae-c953-4809-a87f-7b918de17b1d</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;Cool. But as Stefan and Mike also mentioned there is no ultimate need to use Query Database node for your use case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111174?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 13:24:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:952ec3d8-7b44-4703-99fe-7574e067ad40</guid><dc:creator>petel0001</dc:creator><description>&lt;p&gt;This&amp;nbsp; solved the initial problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111173?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 13:16:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ee1458e7-ac3b-445d-9606-240266316439</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;And as I discussed in &lt;a href="/discussions/f/general/28384/you-should-enter-only-a-single-query-in-a-row/111069#111069"&gt;at least one other thread&lt;/a&gt; already with this user, there&amp;#39;s no need to use the Query Database node in this manner at all.&amp;nbsp; Query Record or Query Entity should be being called in a Script Task (or, as you suggest, on the start form) and saving their output into the process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111172?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 12:59:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e66c0711-5314-4945-92f9-ec7a7a25544e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;On the form, collect the&amp;nbsp;records to be deleted. Pass these to the process and use the deleteRecords node to delete them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111171?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 12:56:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5ea8da97-208e-4405-993f-e41b9095e728</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;Solution to original question:&lt;/p&gt;
&lt;p&gt;Select below highlighted option on the assignment tab&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="111" src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/16/pastedimage1681736440934v1.png" width="180" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111170?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 12:55:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e085948-a0b4-4738-bf33-36b579427fcd</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;I&amp;#39;m talking about the Form that you may have configured in the Query Database node as you are providing assignment for this node.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111169?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 12:55:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4404a495-367f-497b-bfb2-4518a05e7be6</guid><dc:creator>petel0001</dc:creator><description>&lt;p&gt;I need to:&lt;br /&gt;A) select X items from a read only grid&lt;br /&gt;B) pass those values to the process model&lt;br /&gt;C) delete selected items&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111168?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 12:53:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:14877e21-fb49-4927-83c2-33c9969568b4</guid><dc:creator>petel0001</dc:creator><description>&lt;p&gt;I don&amp;#39;t see how the system would have gotten to the &amp;quot;Script Task&amp;quot; had I not clicked the button for submit it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111167?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 12:53:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e4f78cb9-852e-4d57-9f34-82e47f898170</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;OK. Then this node has failed. Please check the tomcat-stdout log file for any details.&lt;/p&gt;
&lt;p&gt;Is there a specific reason to not use Appian&amp;#39;s normal way of accessing the database?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111166?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 12:51:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9e3c0899-c3f6-47f4-bca2-4f7fe7a4f0e0</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;I think the longer time is due to the assignment, the node will not stop executing until the form has been submitted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111164?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 12:49:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8f30b4cf-ad03-4965-8be2-96730f6f8e79</guid><dc:creator>petel0001</dc:creator><description>&lt;p&gt;I would like to query the database and store the results in a list/array of records.&lt;br /&gt;My first step was to see if I could query the database.&lt;br /&gt;The initial process that I started a few days ago is still actually running&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/16/pastedimage1681735810014v1.png" alt=" " /&gt;&lt;br /&gt;I&amp;#39;m not getting any errors, the node does have an assigned user.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111163?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 12:46:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f3600558-af1e-4274-8e2b-4ca717292791</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Me neither. What is the deal with the assignment? What are you looking for?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111160?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 12:42:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:51d95afd-8227-43b3-aa7a-7f3311ff4886</guid><dc:creator>petel0001</dc:creator><description>&lt;p&gt;Umm, so this is the assignment&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/16/pastedimage1681735365829v1.png" alt=" " /&gt;&lt;br /&gt;I&amp;#39;m not too sure how your previous comment helps solve the issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query Database Node takes a long time</title><link>https://community.appian.com/thread/111088?ContentTypeID=1</link><pubDate>Sat, 15 Apr 2023 09:20:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f8b1c124-90f9-48ad-af58-3e730c18d00e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;There is a common misconception about Appian process performance. This is mixing up low level code execution time vs. node duration time. Appian is made to scale horizontally and can run millions of process instances at the same time. An individual process or node will not be run any faster.&lt;/p&gt;
&lt;p&gt;Keep in mind, this is about implementing a business process and assigning tasks to people. People do not know that they will get a task assigned, so they do not wait for it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>