<?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>old version cdt overwriting new data in the table</title><link>https://community.appian.com/discussions/f/data/17790/old-version-cdt-overwriting-new-data-in-the-table</link><description>I have updated a cdt and added an extra column to it. There are few thousands of instances in the old version of the cdt where the extra field is not present. In the process instance as well the cdt is showing in cap sign which means it&amp;#39;s referring to</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: old version cdt overwriting new data in the table</title><link>https://community.appian.com/thread/79804?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 20:22:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ad51076-6c13-4355-9150-3573bafe5ce9</guid><dc:creator>Arun Theja Muthyalu</dc:creator><description>&lt;p&gt;@&lt;span&gt;ankitab0001&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hello, I am not sure if you are still active on the forum. If yes, could you please let me know how you handled this scenario and what do you mean by data migration? Thank you in advance.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: old version cdt overwriting new data in the table</title><link>https://community.appian.com/thread/70074?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2019 01:57:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:608261d9-2013-4821-9a04-6f01fd3cd795</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I&amp;#39;ve heard of some plug-in which allows designers to update running instances with a new version in some way - but I&amp;#39;ve not personally used it so I&amp;#39;m not sure how extensively or how well it works (or even if it still works for modern versions). &amp;nbsp;But it might be worth looking into, especially if the only thing that&amp;#39;s changed for most models is the CDT version in question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: old version cdt overwriting new data in the table</title><link>https://community.appian.com/thread/70073?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2019 01:34:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f58432fb-935a-4dfa-b6af-f97899ad9fe0</guid><dc:creator>ankitab0001</dc:creator><description>&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks Mike. We have been doing the manual data migration so far which is not the best practice. Unfortunately, the WTDS node is in the running instances so can&amp;#39;t even modify that.I think My best option at this point of time would be to cancel all the running instances and restart them. Any alternate solution is also welcome.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: old version cdt overwriting new data in the table</title><link>https://community.appian.com/thread/70062?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 13:19:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3aadb2cf-a75f-487a-ba3f-04a0663be9ca</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I fear there is not a very clean solution for this.&amp;nbsp; The one time I had to deal with something similar to this, luckily the particular CDT in question was always being written to DB in its own special subprocess which just contained the WTDS node -- in which case, i updated the WTDS subprocess to add a step right before the WTDS node to check whether the newly-added CDT field was empty, and if so, attempt to re-query the value of that column for that DB entry, before executing the update.&amp;nbsp; Unfortunately if your WTDS nodes are directly contained in your already-running instances, then that means you&amp;#39;d need to edit instances manually to handle this.&lt;/p&gt;
&lt;p&gt;Honestly I think your best bet at this point would be to keep a backup copy of what all the values should be, perhaps in a local file or perhaps in a separate database, and then each time a running instance finishes, either manually check it and revert the overwritten value, or create a special process to do this for you.&amp;nbsp; If you have a single specific subprocess that always runs right at the end of a given legacy instance, for example, this could be a good target for an automated cleanup option.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: old version cdt overwriting new data in the table</title><link>https://community.appian.com/thread/70056?ContentTypeID=1</link><pubDate>Sun, 20 Oct 2019 22:22:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c367d35c-7c72-4ee3-97ac-04c907e28349</guid><dc:creator>ankitab0001</dc:creator><description>&lt;p&gt;&lt;a href="/members/sushilk701"&gt;Sushil Kapoor&lt;/a&gt; Thanks for your reply.&lt;/p&gt;
&lt;p&gt;I am afraid, if I make the nillable = false, it would behave like a &amp;quot;required&amp;quot; field and it might break if there are any actual null values.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: old version cdt overwriting new data in the table</title><link>https://community.appian.com/thread/70029?ContentTypeID=1</link><pubDate>Fri, 18 Oct 2019 06:39:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:32b73acb-e2aa-41be-8da2-b5482b82c4e3</guid><dc:creator>Sushil Kapoor</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you try by setting&amp;nbsp; CDT--&amp;gt;Field attribute, &lt;b&gt;nillable =false?&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The&amp;nbsp;&lt;/span&gt;&lt;b&gt;nillable&lt;/b&gt;&lt;span&gt;&amp;nbsp;attribute of an element is retained. When a field with a null value is encountered, the element is not created.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Else need to handle by adding DB constraint.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Cheers&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>