<?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>Have to update folder properties into DB</title><link>https://community.appian.com/discussions/f/process/25766/have-to-update-folder-properties-into-db</link><description>I have used create folder smart service in Process model to create a folder and then a write to data store entity node to update the folder properties like ID, UUID, created details into DB. When I tried to start the process it failed at Write to DSE</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Have to update folder properties into DB</title><link>https://community.appian.com/thread/100550?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 11:52:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3e6a5b0b-7e92-4dd0-aa2b-f1cb5c69fa2a</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You should be writing the document IDs to the DB (if required) but there is no point of writing the folder details in the Db. You can store the folder ID tho if you want to keep any such mapping like Case to folder mapping or something similar. Feel free to describe your use case here.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Have to update folder properties into DB</title><link>https://community.appian.com/thread/100545?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 10:44:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ab3242b-c57c-4f62-a61d-0faba306d5fc</guid><dc:creator>deepakg271869</dc:creator><description>&lt;p&gt;Make sure the CDT which you are&amp;nbsp;using must not be null while inserting the data into DB. Just a query, what value you are trying to insert into DB and how you are mapping it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Have to update folder properties into DB</title><link>https://community.appian.com/thread/100543?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 09:30:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ec401282-4531-4dcb-9bc0-4de260536ce6</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;A more fundamental question is why you&amp;#39;re trying to write the folder properties to the DB, when the folder properties can be derived from the folder at run-time? It&amp;#39;s a fundamental principle in application design to not write values to the DB that can be derived (e.g. you&amp;#39;d never write someone&amp;#39;s age since you can calculate that from their Date of Birth and the Current Date). Since you can get a folder&amp;#39;s properties in Appian by asking for them (using the folder() function) why write them to the DB?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Have to update folder properties into DB</title><link>https://community.appian.com/thread/100540?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 08:41:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:502ebb40-a8b0-4711-a1bd-91bec0c42596</guid><dc:creator>ganapathy.srinivasan</dc:creator><description>&lt;p&gt;Please make sure whether data is present in the pv! which you using to write into the DB.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The error is you are trying to write null data to the DB so the error is poping.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>