<?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>Document ID changed when deploying a document to a higher environment</title><link>https://community.appian.com/discussions/f/general/37596/document-id-changed-when-deploying-a-document-to-a-higher-environment</link><description>When we deploy a document from a lower environment to a higher environment, its ID is getting changed. Due to this, constant points to invalid/wrong a document. 
 
 We are using direct deployment (Compare &amp;amp; Deploy) 
 
 Is it expected behavior?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Document ID changed when deploying a document to a higher environment</title><link>https://community.appian.com/thread/141083?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2024 07:27:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:30f6866a-7297-4812-96a7-93801d581af7</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Yes, this is the expected behavior... Because the document instance is different in the new environment. Reference the document instead of its ID and it will work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document ID changed when deploying a document to a higher environment</title><link>https://community.appian.com/thread/141082?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2024 07:26:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:498f65e8-ffaa-498b-bd31-67043725694f</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;It should work when you have the document object in document type constant.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document ID changed when deploying a document to a higher environment</title><link>https://community.appian.com/thread/141077?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2024 06:27:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7c61acf7-2ff4-4baa-a9be-e70f80991e35</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;That constant, is that a number? If yes, change it to the type &amp;quot;Document&amp;quot;. It will then reference the UUID and become stable across deployments.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document ID changed when deploying a document to a higher environment</title><link>https://community.appian.com/thread/141059?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2024 12:28:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9cd7d4db-5581-46ea-a341-309d90d8acf7</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Constants (of &amp;quot;document&amp;quot; type) which point to a specific document, should still point to the correct document after deployment to another environment, regardless of the fact that the deployed copy of the document will have a new/different underlying DocId.&amp;nbsp; If you&amp;#39;re seeing something other than this, then you might need to open a support case with Appian Support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document ID changed when deploying a document to a higher environment</title><link>https://community.appian.com/thread/141058?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2024 12:10:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a8577e99-4852-418a-8bb7-85b5b1d73bad</guid><dc:creator>Kumar Agniwesh</dc:creator><description>&lt;p&gt;rule of thumb, IDs changes from one environment to another environment. UUID remain same across environment.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document ID changed when deploying a document to a higher environment</title><link>https://community.appian.com/thread/141056?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2024 11:59:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e7fb4628-0238-429f-ab2c-eb72b144ad5c</guid><dc:creator>Yogi Patel</dc:creator><description>&lt;p&gt;Yes, replaced the document ID with a document in constant.&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document ID changed when deploying a document to a higher environment</title><link>https://community.appian.com/thread/141055?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2024 11:36:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8a4261ea-c66d-42e2-9013-43e8b5b75b2b</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;a href="/members/yogip3177"&gt;Yogi Patel&lt;/a&gt;&amp;nbsp;&lt;br /&gt;This is expected behaviour to maintain environment isolation and prevent conflicts.&lt;br /&gt;&lt;span&gt;I would recommend you &lt;/span&gt;put&lt;span&gt; that document into a constant and &lt;/span&gt;use&lt;span&gt; that constant.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>