<?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>Cascade</title><link>https://community.appian.com/discussions/f/general/17303/cascade</link><description>When retrieving data which cascade type will overwrite the values of a nested cdt with the latest value from the RDBMS? Options REMOVE, REFRESH, PERSIST, MERGE</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Cascade</title><link>https://community.appian.com/thread/113210?ContentTypeID=1</link><pubDate>Wed, 24 May 2023 10:39:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aab62a36-4756-4eab-b97d-f3f4d8f514a0</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1684924806818v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascade</title><link>https://community.appian.com/thread/113208?ContentTypeID=1</link><pubDate>Wed, 24 May 2023 10:02:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c16f35e-5fea-489d-b84d-a0758227d0d3</guid><dc:creator>zarajoseph</dc:creator><description>[deleted]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascade</title><link>https://community.appian.com/thread/106273?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2023 02:38:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b679f6d0-91fb-415a-b58c-0e50fba74b99</guid><dc:creator>jendyh6134</dc:creator><description>[deleted]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascade</title><link>https://community.appian.com/thread/105125?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2022 03:46:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:910a8ab2-6c0d-440f-a297-37967b2b823f</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;Please refrain from spamming unnecessarily.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascade</title><link>https://community.appian.com/thread/105119?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2022 01:10:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aef07914-3678-464c-b31a-524d53a88e94</guid><dc:creator>lilyc2222</dc:creator><description>[deleted]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascade</title><link>https://community.appian.com/thread/68275?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 18:45:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6ac04cd1-05b4-4907-b449-a5ebff09e146</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;For the vast majority of cases, you only need to use CASCADE = REFRESH or CASCADE = ALL (which incorporates REMOVE, REFRESH, PERSIST, and MERGE). These options are also the only two available in the Data Type Designer UI (To use other types, you must download XSD and change there: &lt;a href="https://docs.appian.com/suite/help/19.2/Custom_Data_Types_from_XSD.html"&gt;https://docs.appian.com/suite/help/latest/Custom_Data_Types_from_XSD.html&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;CASCADE = ALL will overwrite the nested CDTs when writing; CASCADE = REFRESH&amp;nbsp;will NOT overwrite the data in nested CDTs(it only writes data into the top level CDT).&lt;/p&gt;
&lt;p&gt;In general, I&amp;#39;d recommend using:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;CASCADE = ALL - OneToOne and OneToMany relationships&lt;/li&gt;
&lt;li&gt;CASCADE = REFRESH - ManyToOne and ManyToMany&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascade</title><link>https://community.appian.com/thread/68201?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2019 04:17:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:07fd06fe-4f30-4aec-b278-0d046b7cfea5</guid><dc:creator>Dude</dc:creator><description>&lt;p&gt; Thank you for the response. The question is when &amp;quot;overwriting while retrieving the data&amp;quot;. In the provided article it explains &amp;quot;when we are updating data&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cascade</title><link>https://community.appian.com/thread/68190?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 10:51:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e2dee42c-6e14-4af0-b053-7e3f4cba26dc</guid><dc:creator>Sharmila Nagaraj</dc:creator><description>&lt;p&gt;&lt;span&gt;REFRESH, please refer&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/19.2/CDT_Relationships.html"&gt;https://docs.appian.com/suite/help/19.2/CDT_Relationships.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>