<?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>I have a query node to insert data into a table. I have a seperate process to re</title><link>https://community.appian.com/discussions/f/user-interface/178/i-have-a-query-node-to-insert-data-into-a-table-i-have-a-seperate-process-to-re</link><description>I have a query node to insert data into a table. I have a seperate process to retrieve that data via query database node, then display it on a form. The issue is after submitting the form to write to database and then immediately turn to the page that</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I have a query node to insert data into a table. I have a seperate process to re</title><link>https://community.appian.com/thread/416?ContentTypeID=1</link><pubDate>Thu, 21 Jun 2012 18:31:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5379093-4c88-4587-9754-2da8bb36cd6e</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Take a look at the process history of your data retrieval process to make sure the process variables are being mapped correctly, I&amp;#39;d also take a look at the query to make sure it&amp;#39;s correct. If running the query manually in your RDBMS correctly returns the updated data before running the data retrieval process then there&amp;#39;s no way the Query RDBMS retrieves old data; the smart service works in the same way as executing the query in your RDBMS directly; so what you see in there is what you will get in Appian. &lt;br /&gt;&lt;br /&gt;Complete the Write Process, run the query manually in your RDBMS, then execute the data retrieval process and confirm there&amp;#39;s a discrepancy; if there is; then open the instance in &amp;quot;Edit Mode&amp;quot; and check the configuration of the Query RDBMS node to make sure you are indeed running the correct query.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a query node to insert data into a table. I have a seperate process to re</title><link>https://community.appian.com/thread/410?ContentTypeID=1</link><pubDate>Thu, 21 Jun 2012 00:02:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d6403214-cb2c-43a2-84b5-3177b6bca06e</guid><dc:creator>sajidm</dc:creator><description>Okay I made sure that write process is complete before I launch the retrieve data form. There seems no significient delay in the write process. Data gets committed to database. I use the quick task starter form to get the input for the query condition then pass it to the query node, which then displays it on another form. The process variables in the retrieve process do still contain the previous row not the max row. I also noticed when I go to the monitor mode, the time showing on date and time variable is in different time zone, while my local settings are set to Eastern Daylight.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a query node to insert data into a table. I have a seperate process to re</title><link>https://community.appian.com/thread/409?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2012 23:36:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:689ef666-c606-4804-95d3-d455f2745021</guid><dc:creator>Eduardo Fuentes</dc:creator><description>But have you confirmed via Monitor Mode or Process Variables Tab in Process Details that the variable you are using to display the retrieved data actually contains the updated value? You need to make sure the process to write is done before retrieving the data again.&lt;br /&gt;&lt;br /&gt;Are you using a quick task when retrieving the data for display purposes?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a query node to insert data into a table. I have a seperate process to re</title><link>https://community.appian.com/thread/408?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2012 23:32:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:329d0ca2-f913-49f6-8f86-051d74844f63</guid><dc:creator>sajidm</dc:creator><description>Eduardo, I made that change but it made no difference. The thing is that I have 2 seperate processes. One to write to the database and one to pull from the database. When I finish with the first process and submit the form to write to database, I then move the other page to retrieve the new row which was inserted by previous process. It does not show the latest row immediately.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a query node to insert data into a table. I have a seperate process to re</title><link>https://community.appian.com/thread/407?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2012 23:14:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9816056c-605a-436f-abdf-77b60d0520bc</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Does the process that populates the process variable completes before showing the form to the user? If the answer is &amp;quot;yes&amp;quot;, then make sure your form has the &amp;quot;Refresh default values every time the task form is viewed &amp;quot; in its properties under the &amp;quot;Other&amp;quot; tab &lt;a href="https://forum.appian.com/suite/wiki/66/Other_Tab#Task_Refresh"&gt;forum.appian.com/.../Other_Tab&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>