<?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>CDT in Process model</title><link>https://community.appian.com/discussions/f/data/30587/cdt-in-process-model</link><description>Hi all, I have defined a process variable in a process model with CDT type. It is working fine in all environments. Now I am adding some new fields into the CDT and published the datastore. Its working fine in dev. When I moved these changes to higher</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: CDT in Process model</title><link>https://community.appian.com/thread/121607?ContentTypeID=1</link><pubDate>Sat, 11 Nov 2023 16:08:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f0648fa3-9a6a-4a2d-aa6b-150dbe9acf54</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;Understood. I will revisit those changes and analyze&lt;br /&gt;Thanks Stefan for helping out&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDT in Process model</title><link>https://community.appian.com/thread/121606?ContentTypeID=1</link><pubDate>Sat, 11 Nov 2023 15:33:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:300cdee7-3f81-48c5-9d7d-b90357fda749</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;It is a bit difficult to analyse this from remote. What I want to say is, that depending on what exactly you are doing, you might get into a situation as you described.&lt;/p&gt;
&lt;p&gt;E.g. a datastore can get a new version at deployment time, but that new version is not published. Typically because the automatic schema management is not enabled. Then you end up in a slightly inconsistent state. The CDT is not deployed because the data store cannot make the changes in the DB. And your processes then still use the last published version instead of the new one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDT in Process model</title><link>https://community.appian.com/thread/121605?ContentTypeID=1</link><pubDate>Sat, 11 Nov 2023 15:19:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:742472f2-e9af-4eaf-bced-90a38b10f7b4</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;I am not able to catch fully but you are saying that if i have opened a process model and in the parallel background, CDT has been deployed. Now if I try to start the process model, it will still run with the old CDT since I&amp;nbsp;had opened it in the first place.&lt;br /&gt;&lt;br /&gt;Sorry if I misunderstood it but I am not able to understand why this issue is occuring in higher environments and not in dev. Especially that data store still having the old CDT version. We even published the datastore in higher environment, but the issue has not yet been resolved.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDT in Process model</title><link>https://community.appian.com/thread/121604?ContentTypeID=1</link><pubDate>Sat, 11 Nov 2023 15:09:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d8c9e752-67db-4deb-b1f1-e9da9d801652</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;span&gt;When the documentation says &amp;quot;immediately begin using the new version of the data type&amp;quot;, the actual behaviour depends a bit on the type of the dependent object. A process model will be re-deployed automatically, same for data stores. Expressions und Interfaces pick up the new type automatically.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So, when you open the process modeller on your higher environment, then, in parallel, deploy a modified CDT from the lower environment, a new version of the model is created in the background. When you now start the process, you run the old version.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Does this resonate with you?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDT in Process model</title><link>https://community.appian.com/thread/121603?ContentTypeID=1</link><pubDate>Sat, 11 Nov 2023 14:53:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9007643a-9748-4cf0-8785-1aecef7d46b9</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;&amp;nbsp;&amp;nbsp;, I was debugging the issue. I found that test datastore is still having the old cdt(showing with ^ symbol) even though the new CDT&amp;nbsp;has been deployed to test. I am not able to understand this behaviour. Any insights on this?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDT in Process model</title><link>https://community.appian.com/thread/121595?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2023 17:57:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:51531de2-6874-440c-8142-508eb342025e</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;Its an existing application. So thats why these CDT changes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDT in Process model</title><link>https://community.appian.com/thread/121594?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2023 17:56:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:62c269b4-6649-4bac-8e56-65fe2d9743b7</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;No, it does not matter how you change the CDT.&lt;/p&gt;
&lt;p&gt;BTW, is this an existing app? For new apps I go all in on records and avoid CDTs and data stores.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDT in Process model</title><link>https://community.appian.com/thread/121593?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2023 17:54:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:18f41b1b-41f9-4f8a-af49-5487d0338d15</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;Got it, thanks stefan&lt;br /&gt;Just one more doubt. Could this issue might be caused since the CDT was not modified by downloading the XSD and modifying it and reuploading?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDT in Process model</title><link>https://community.appian.com/thread/121592?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2023 17:46:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3e98c24f-8449-4d14-8c9a-cc58640ba1c0</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Documentation says: &amp;quot;After updating the data type, a new version is created unless the only change is to the data type description or its visibility in data type pickers. When a new version of a data type is created, all objects (excluding running processes) immediately begin using the new version of the data type.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.3/Custom_Data_Types.html#edit"&gt;docs.appian.com/.../Custom_Data_Types.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDT in Process model</title><link>https://community.appian.com/thread/121591?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2023 17:39:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2d30d8df-0319-4884-8dbe-6700674b0538</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;Hi stefan,&lt;br /&gt;thanks for replying. Actually the cap symbol is coming in new process instances only. Thats why I am little confused on it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDT in Process model</title><link>https://community.appian.com/thread/121590?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2023 17:36:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2c65d370-b999-41dc-8832-e66a508a2653</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Active process instances will keep the old version indicated by the ^. Instances created after the deployment will pick up the new version.&lt;/p&gt;
&lt;p&gt;You write &amp;quot;its not working as expected&amp;quot;. What exactly is your expectation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>