<?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>Using Process Variable in a Query Database From Integration</title><link>https://community.appian.com/discussions/f/process/37618/using-process-variable-in-a-query-database-from-integration</link><description>I have an integration that I save the output into a DataSubset object and want to use to update a table in the database with a Query Database task. 
 
 
 The DataSubset is as followed: 
 
 In my Integration task, which is the first task, I save the output</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Using Process Variable in a Query Database From Integration</title><link>https://community.appian.com/thread/141210?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 13:18:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2babfa45-fc9f-4877-a7e4-8e52ded2f9d6</guid><dc:creator>here2learn</dc:creator><description>&lt;p&gt;Hello Kumar, even if I did, what is the appropriate query to use? I can see where you&amp;#39;re going with the smart service, but is my query correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Process Variable in a Query Database From Integration</title><link>https://community.appian.com/thread/141209?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 13:04:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:379d2d58-e1a9-4c56-8fe2-7bc8a4bd7dc5</guid><dc:creator>here2learn</dc:creator><description>&lt;p&gt;Hi Stefan, what doesn&amp;#39;t work is the query I added in the SQL Statement as &amp;quot;UPDATE pay from users where employee_id&lt;br /&gt;= ac!Result.data.employee_id;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Process Variable in a Query Database From Integration</title><link>https://community.appian.com/thread/141207?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 12:50:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c34d4903-f43e-4a13-ba0c-a6e9d0a19bed</guid><dc:creator>Kumar Agniwesh</dc:creator><description>&lt;p&gt;Try using &amp;nbsp;write to data store entity smart service&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Process Variable in a Query Database From Integration</title><link>https://community.appian.com/thread/141206?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 12:18:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2757f2d1-a287-4212-afec-bfd641bd0314</guid><dc:creator>here2learn</dc:creator><description>&lt;p&gt;Hello, the query I add as seen in the &amp;quot;Query Database&amp;quot; task does not work, it gives me an error. That&amp;#39;s my question, what is the appropriate way to use a List used in the previous task from calling an integration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Process Variable in a Query Database From Integration</title><link>https://community.appian.com/thread/141178?ContentTypeID=1</link><pubDate>Sat, 28 Sep 2024 08:24:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:77f94e4f-5891-46fd-a367-1d0fcbb3fe86</guid><dc:creator>Stefan Helzle</dc:creator><description>[quote userid="59065" url="~/discussions/f/process/37618/using-process-variable-in-a-query-database-from-integration"]This doesn&amp;#39;t seem to work[/quote]
&lt;p&gt;This does not provide much details we could somehow try to guess what the issue might be. Can you shed some light on this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Process Variable in a Query Database From Integration</title><link>https://community.appian.com/thread/141173?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2024 22:36:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9db62e43-515e-49e5-9248-bb108dca07e3</guid><dc:creator>Kumar Agniwesh</dc:creator><description>&lt;p&gt;Why can&amp;rsquo;t you use&amp;nbsp;&lt;a id="" href="https://docs.appian.com/suite/help/24.3/Write_to_Data_Store_Entity_Smart_Service.html"&gt;https://docs.appian.com/suite/help/24.3/Write_to_Data_Store_Entity_Smart_Service.html&lt;/a&gt;&amp;nbsp;or writeToRecords Smart services.&amp;nbsp;&lt;br /&gt;they update the row of you have primary key passed in the parameters for the row.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>