<?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>Nested CDTs vs Non Nested CDTs</title><link>https://community.appian.com/discussions/f/best-practices/13383/nested-cdts-vs-non-nested-cdts</link><description>Hi everyone, 
 I am trying to understand in terms of Appian&amp;#39;s best practice as to which way to go when creating CDTs and maintaining their relationships, and the use of nested CDTs. Is it recommended to use nested CDTs per best practice, or is it better</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Nested CDTs vs Non Nested CDTs</title><link>https://community.appian.com/thread/60554?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 14:39:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4864c179-628f-4270-b9bd-5d7a9738a15e</guid><dc:creator>jerrys790</dc:creator><description>Thank you all for your input&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested CDTs vs Non Nested CDTs</title><link>https://community.appian.com/thread/60531?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 07:22:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2e068cc8-2eea-47c3-81f2-3aaae3d07495</guid><dc:creator>vishnuv</dc:creator><description>Hi,&lt;br /&gt;
As per Appian, if there is no other way, they suggest to go ahead with 1 level of nested CDT and nested CDT&amp;#39;s are not a best practice and below are some points:&lt;br /&gt;
1. We need to invest time in extra amount of coding due to nested CDTS&amp;#39;s and also it will be a challenging task during process instance debugging.&lt;br /&gt;
2. In some instances, we wish you fetch only data from parent table, in such case data from child table will also be fetched due to one-many relationships. Also, during data conversions, from JSON and vice versa, the complexity will be increased.&lt;br /&gt;
3. Though in above scenarios there will not be a necessity of view creation but unnecessary complexity is increased. Hence, the best way is to go with normal CDT and create views accordingly which will accelerate the performance as well.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested CDTs vs Non Nested CDTs</title><link>https://community.appian.com/thread/60526?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 05:00:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a1c4ec86-a4d7-4f15-b607-64a2b37bab81</guid><dc:creator>Farnaz</dc:creator><description>Hi Jerry,&lt;br /&gt;
&lt;br /&gt;
As others mentioned, while creating Nested CDT&amp;#39;s, we need to check the below mentioned points:&lt;br /&gt;
&lt;br /&gt;
(1) What is the functionality? Can we avoid by proceeding with two or more tables referenced to each other? If not, can we create a complex view having the complete data. I prefer the Complex View.  A CDT can be created mapping the complex view can be used in creation of Form(while Storing data), Summary Dashboards (while retrieving data), Records, Reports etc. This is simple and also effects the Performance.&lt;br /&gt;
&lt;br /&gt;
(2) If creating complex View is not feasible, Nested CDT approach can be used. But recommended Best Practice is to have it only for one level.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Farnaz&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested CDTs vs Non Nested CDTs</title><link>https://community.appian.com/thread/60522?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 04:29:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:da0f81c6-83f3-47e2-a437-64221383f76a</guid><dc:creator>Shiva Valusa</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt; &lt;br /&gt; As a best practice it is good to avoid using nested CDT&amp;#39;s or maximum one level of nested CDT&amp;#39;s are recommended.&lt;br /&gt; Please go through following thread around nested CDT&amp;#39;s, it may help you.&lt;br /&gt; &lt;br /&gt; &lt;a href="/discussions/f/best-practices/11277/nested-cdts"&gt;community.appian.com/.../nested-cdts&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested CDTs vs Non Nested CDTs</title><link>https://community.appian.com/thread/60520?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 04:20:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0eb36f9b-a0eb-4a7d-a741-225225ae52ae</guid><dc:creator>Shanmukha</dc:creator><description>Hi Jerry,&lt;br /&gt;
&lt;br /&gt;
In addition to other comments, Avoid using nested CDT&amp;#39;s until it is badly required. I just wanted to share my work experience. In all of the applications that I have worked on is maintain simple CDT&amp;#39;s and the relationships maintained with just to point the foreign key constraints in the chain table. It is always better to go with create a DB object and then create CDT out of it. &lt;br /&gt;
&lt;br /&gt;
But few people may take the other approach like, creating the CDT and then create DB objects out of it. Most probably this approach might be used when you develop pretty new application from scratch. But we use to use this approach when we want to create some kind of POC applications which can be showcased to customers.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested CDTs vs Non Nested CDTs</title><link>https://community.appian.com/thread/60518?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 03:59:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8165d04d-6f9a-4931-98ba-fe88b285a668</guid><dc:creator>ravalik</dc:creator><description>HI jerrys,&lt;br /&gt;
As far as I know, nested CDTs are not  recommended due to several issues like performance degradation , conversion of data becomes difficult and also debugging the process model and accessing the unnecessary data becomes cumbersome.So in order to avoid this you can  use  plain CDT.&lt;br /&gt;
Refer the link below for more info:&lt;br /&gt;
&lt;a href="https://community.appian.com/w/the-appian-playbook/197/database-performance-best-practices."&gt;community.appian.com/.../database-performance-best-practices.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
ravalik&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested CDTs vs Non Nested CDTs</title><link>https://community.appian.com/thread/60515?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 22:01:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:531bc991-48fd-4ebb-95eb-606a1a9ff043</guid><dc:creator>josep</dc:creator><description>Hello Jerry&lt;br /&gt;
&lt;br /&gt;
i recommend you to take a look this thread. &lt;br /&gt;
&lt;a href="https://community.appian.com/discussions/f/user-interface/12413/cdt-s/58772"&gt;community.appian.com/.../58772&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Jose&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nested CDTs vs Non Nested CDTs</title><link>https://community.appian.com/thread/60512?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 20:20:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fdb784f8-31c5-4600-862e-ed638bd69439</guid><dc:creator>rajesh kilaru</dc:creator><description>I Think it&amp;#39;s better to approach moving forward without Nested CDT. Nexted CDT makes more difficult when we are doing the reporting. Especially When we are doing the aggregation and Adding Different filter conditions to the rule I recommend not to create them but if you really wanna try that you end up creating the database view and creating the Extra CDT for it. I would recommend just create the Database tables and then Create the CDT from the Datastore.Reduce the complexity to the CDT is much preferable.&lt;br /&gt;
Hope this helps.&lt;br /&gt;
&lt;br /&gt;
Thank you!&lt;br /&gt;
Rajesh Kilaru&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>