<?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>Configure Write to DSE - updating single field</title><link>https://community.appian.com/discussions/f/process/23730/configure-write-to-dse---updating-single-field</link><description>Online Course | Learning at Appian 
 In the video it is stated that if you save at the top-level, all fields are updated, which implies that if you save at the level of specific fields only those fields will be saved. Is this true? 
 I found out, instead</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Configure Write to DSE - updating single field</title><link>https://community.appian.com/thread/91161?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 10:49:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:58a0e8df-4a37-4db4-9646-b6d7e3e42b2b</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;What is saved is whatever is in the scope of the CDT you are using to map to the target datastore entity. So if you have a CDT with 5 attributes, and you set the third one to a value and leave the others blank then the update that is performed is for ALL 5 attributes - attributes 1,2,4 and 5 will be set to null, and attribute 3 to whatever value you set it to.&lt;/p&gt;
&lt;p&gt;If you only want to set a single attribute or a subset of the columns in your database table you have two choices:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;you can create a &amp;quot;partial CDT&amp;quot; - that is, a CDT that maps to the same entity but only has the attributes you want to update&lt;/li&gt;
&lt;li&gt;you can write a Stored Procedure to only update the columns you specify&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;...or you can (as I&amp;#39;ve just seen in&amp;nbsp;&amp;nbsp;&amp;nbsp;comment, accept that you retrieve the entire scope of your CDT, update the attribute you want to change, and write the whole CDT back to the table which in effect overwrites the entire row, all with the original values except for the one you changed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure Write to DSE - updating single field</title><link>https://community.appian.com/thread/91160?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 10:46:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:93149181-810c-440f-a5d8-a6cc23231298</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;There is no field-level update in Appian. Fetch the whole row, modify the values and write it back.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>