<?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>DB is not getting updated</title><link>https://community.appian.com/discussions/f/process/26865/db-is-not-getting-updated</link><description>Hi, 
 I&amp;#39;m trying to update the DB and all the fields are getting updated except Employee Id. 
 Value for EmployeeId is getting updated in Process model Variables as below but not getting updated in DB.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: DB is not getting updated</title><link>https://community.appian.com/thread/105482?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2022 12:09:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f1fd8a78-cd55-4273-9fd7-f2374f69d11b</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Hello Pavitra, you can use a script task and pass the stored value/input value of employee record type(employeeId:pk) into the&amp;nbsp;Apply leave record type variable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DB is not getting updated</title><link>https://community.appian.com/thread/105480?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2022 11:47:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d0ae0dd4-66ba-4c5f-9b03-8487c867e06c</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;To update a record, you need to query the existing data first. It will then contain the primary key field you defined.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DB is not getting updated</title><link>https://community.appian.com/thread/105479?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2022 11:45:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c3a1a4de-d159-400d-b74d-d8ce9b354a12</guid><dc:creator>p2005</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;Could you please let me know what I need to do to resolve this. Attaching the images again&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/MicrosoftTeams_2D00_image-_2800_1_2900_.png" /&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/14/0435.MicrosoftTeams_2D00_image.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DB is not getting updated</title><link>https://community.appian.com/thread/105477?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2022 11:31:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:17ad3385-72a5-48f5-894a-f2d4cc68ac89</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;If your process variable pv!applyLeave is written to that record, it misses the primary key value. This results in an insert, but not an update.&lt;/p&gt;
&lt;p&gt;BTW, the images are very small and almost impossible to read.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>