<?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>Related to Code Promotion to higher environment:  1) We have our appli</title><link>https://community.appian.com/discussions/f/plug-ins/3048/related-to-code-promotion-to-higher-environment-1-we-have-our-appli</link><description>Related to Code Promotion to higher environment: 1) We have our application running in QA. It uses version1.0 of a plugin. The input datatype is say, CustomerDetails (version 1.0) 2) In Dev we have upgraded the plugin to version1.1 The associated datatype</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Related to Code Promotion to higher environment:&lt;br /&gt;&lt;br /&gt;1) We have our appli</title><link>https://community.appian.com/thread/10916?ContentTypeID=1</link><pubDate>Wed, 23 Jul 2014 21:16:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:27da2fe4-ae83-4745-945a-a1383b583678</guid><dc:creator>senthilar</dc:creator><description>Thank you Eduardo! Your reply clarifies.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related to Code Promotion to higher environment:&lt;br /&gt;&lt;br /&gt;1) We have our appli</title><link>https://community.appian.com/thread/10660?ContentTypeID=1</link><pubDate>Tue, 15 Jul 2014 09:57:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d7e2734c-ef18-4c69-86da-9116536b938e</guid><dc:creator>Eduardo Fuentes</dc:creator><description>* The three last steps assume the new CDT is embedded in the plug-in therefore it will be re-created with the plug-in deployment, otherwise it will need to be uploaded manually after step #1&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Related to Code Promotion to higher environment:&lt;br /&gt;&lt;br /&gt;1) We have our appli</title><link>https://community.appian.com/thread/10659?ContentTypeID=1</link><pubDate>Tue, 15 Jul 2014 09:56:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:86ba5d10-c85a-42f5-832c-1de0bc1205ff</guid><dc:creator>Eduardo Fuentes</dc:creator><description>The documentation states that you cannot change the node inputs/outputs of a registered smart service without having to use a different smart service key and remapping yoru models to point to this new smart service &lt;a href="https://forum.appian.com/suite/wiki/75/Custom_Smart_Service_Plug-ins#Upgrading"&gt;forum.appian.com/.../Custom_Smart_Service_Plug-ins&lt;/a&gt; This is to guarantee running instances are not impacted by input/output changes.&lt;br /&gt;&lt;br /&gt;Smart services get registered in the environment mapping node inputs and outputs types to local data type ids. When you update a CDT by deleting and re-uploading the old CDT gets versioned to ^X where X is an integer that represents the version. The current version gets the name withou any ^X suffix but since it&amp;#39;s a new version it gets a new local ID.&lt;br /&gt;&lt;br /&gt;If you simply deploy the plug-in without following the best practices from that link I posted then this will fail to deploy because it will try to map its inputs to, let&amp;#39;s say {mycompany:mydomain:cdts}MyCDT which now has a local ID Y while initially the plug-in was registered to point to version 1 of this CDT with local ID Z. This causes a validation error during the deployment resulting in an: &amp;quot;Invalid Attempt to Change Node Inputs/Outputs&amp;quot; error.&lt;br /&gt;&lt;br /&gt;When updating the CDT you have to:&lt;br /&gt;&lt;br /&gt;1. Deprecate the current smart service.&lt;br /&gt;2. Create a copy of your smart service within the same plug-in but change its key in appian-plugin.xml (with all changes this implies within the plug-in)&lt;br /&gt;3. Remap your models so they point to the new smart service (you need to drag and drop)&lt;br /&gt;3. You can now deploy these two items to any new environment&lt;br /&gt;&lt;br /&gt;In regards to your question the procedure to promote should be something like this:&lt;br /&gt;&lt;br /&gt;1. Delete the CDT to be updated in the target environment&lt;br /&gt;2. Deploy the plug-in (which now has a new key and a deprecated version)&lt;br /&gt;3. Import the new application.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>