Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+2
person also asked this
people also asked this
Replies
10 replies
Answers
1 answer
Subscribers
11 subscribers
Views
7924 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Older versions of a CDT - are they deleted when there are no references to them?
chetany
A Score Level 1
over 8 years ago
Hi All,
We know that a CDT when updated, a new version gets created. The older version still exists, only difference is that it has a different name(with ^ followed by a number).
Let's say that the older version is no longer referenced by any of the objects in the environment. No process model, rule or Data Store references it, and neither any process instance. Assume that all the process instances which were referencing the old version are archived/deleted.
So, there are zero references to it.
Does Appian automatically delete the Old CDT version from the environment if there are no longer any references to it? Or, does it still remain in the environment?
Is there some automatic cleanup of old CDT version that Appian does?
OriginalPostID-236516
Discussion posts and replies are publicly visible
Top Replies
Sumeet Khare
over 8 years ago
+1
suggested
Chetan, all version of the cdt are stored in Appian Primary Database. The table which is used to store this information is DT_MODEL. Database cleanup is not happening as of now.
0
chetany
A Score Level 1
over 8 years ago
If a CDT has no longer any references, does Appian have any policy so that the old CDT version is deleted after some fixed interval?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kondetiv
over 8 years ago
I guess, New version replaces old version. So you cannot find the old version. And where ever you see ^ followed by a number, just click on that a new empty CDT will appear with ^ followed by a number.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kondetiv
over 8 years ago
When a data type is deleted, it is retained in the system so that objects can continue to function correctly even if referenced data types are deleted. Deleted types, however, will no longer appear in the Appian Designer or as choices in type pickers.
Upon deleting a data type, references to that data type will have a version number appended in the form of a caret (^) + version number. For example: myCDT^1, myCDT^2.
Objects that use a deleted data type can be exported and on import, will attempt to reference the most recent version of the data type. If the most recent version of the data type is deleted, import of the dependent object will still succeed. If no data type exists on the destination environment, import of the dependent object will fail.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kondetiv
over 8 years ago
please ignore my first comment and second comment data was found in forum.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 8 years ago
@kondetiv, the new version does not replace the old version. You can reference the old version even after the new version of CDT is created.
The old version exists.
My question is that - is it ever possible that the older version of the CDT be deleted permanently after some long duration - when the old version is no longer referenced anywhere
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
+1
Sumeet Khare
over 8 years ago
Chetan, all version of the cdt are stored in Appian Primary Database. The table which is used to store this information is DT_MODEL. Database cleanup is not happening as of now.
Cancel
Vote Up
+1
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
0
chetany
A Score Level 1
over 8 years ago
Thank you Summeet for the reply. It means even if a old version is not used anywhere, it will still remain in the environment
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sahithip
over 8 years ago
CDT's will still exist in the environment even if no objects references it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
baghavathit
Certified Senior Developer
over 8 years ago
Is there any way to download the older version of the cdt?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
saksheer0001
A Score Level 1
over 6 years ago
in reply to
sahithip
Is there any way to access these older versions?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel