<?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/"><channel><title>KB-1007 "Qualified name not unique or temporary" error thrown when trying to import CDTs into Appian</title><link>https://community.appian.com/support/w/kb/233/kb-1007-qualified-name-not-unique-or-temporary-error-thrown-when-trying-to-import-cdts-into-appian</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1007 "Qualified name not unique or temporary" error thrown when trying to import CDTs into Appian</title><link>https://community.appian.com/support/w/kb/233/kb-1007-qualified-name-not-unique-or-temporary-error-thrown-when-trying-to-import-cdts-into-appian</link><pubDate>Thu, 09 Feb 2017 22:31:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4ebc5b4f-e08b-4ac4-ae47-a2f232bdef55</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/233/kb-1007-qualified-name-not-unique-or-temporary-error-thrown-when-trying-to-import-cdts-into-appian#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nick Vigilante on 2/9/2017 10:31:14 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;While importing CDTs into Appian, users might encouter the following error:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;datatype &amp;quot;*cdt_name*&amp;quot;: An error occurred while creating datatype [uuid={urn:XXX:XXX}XXX]: An error occurred while importing the XSD. No types have been imported. Details: Invalid Type: Type Error: Qualified name not unique or temporary - {urn:XXX:XXX}XXX (APNX-1-4050-000) (APNX-1-4071-007)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;While importing an application, users might encouter this following error instead:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;A data type could not be updated because it or one of its dependents is currently being updated somewhere else in the system. Please try again later. Detals: Invalid Type: Type Error: Cannot clean up locked type
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This issue can occur if the import of the data types was interrupted (e.g. the application server was shutdown or it lost communication with the engines). This leaves the &amp;quot;importing&amp;quot; flag enabled for these CDTs for 2 hours from the time of import. This flag is used to prevent people importing the same CDT at the same time to avoid conflicts, however, if the application server goes down or it loses communication with the engines the acknowledgment required to reset that flag is never received until a 2 hours period completes. This 2 hours wait time was introduced in Appian 6.6.1 Hotfix A. In previous versions or non-patched versions this flag is never reset and the users have to rename the CDT.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;There are multiple ways to address this issue:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Wait for 2 hours before importing again.&lt;/li&gt;
&lt;li&gt;Rename the CDTs (this will require updating all process models that use the old CDT to use the new CDT).&lt;/li&gt;
&lt;li&gt;Reinstall Appian (this is feasible if this is a new install) and make it point to a clean primary data source.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;February 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: CDTs, application design, import/export&lt;/div&gt;
</description></item></channel></rss>