Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
5 subscribers
Views
2017 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I want the process variable type to be updated with the current version of CDT f
janakik
over 9 years ago
I want the process variable type to be updated with the current version of CDT for all the active instances.
I tried below expression version to cast to current version , but that doesnt seems working
forum.appian.com/.../
Any approach for casting CDT to current version ?
Thanks!
OriginalPostID-158855
OriginalPostID-158855
Discussion posts and replies are publicly visible
0
Tom Ryan
Appian Employee
over 9 years ago
This post should help -
forum.appian.com/.../e-147707
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
janakik
over 9 years ago
I guess the above mentioned feed is all about updating the CDT values and the process upgrade to latest version as of Process Model. My requirement is to update the version of CDT to current version of CDT in active instances.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tom Ryan
Appian Employee
over 9 years ago
If I understand your requirement correctly, I think the second reply should help you with this:
"For example, if the target model has a PV (`pv!person`) of type Person^2 and the source model has the same PV but of type Person, the process will not upgrade because the CDT types are different."
Therefore a possible solution is to add add a process variable of the new type leaving the existing one pointing to version ^X of the CDT then remap nodes to point to the new variable which will be indeed of the updated verison.
For backwards compatibility in processes Appian doesn't let you update Person^2 to Person since there can be places where the mappings to fields won't match.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
amjada449
over 9 years ago
So the only way to add a new field to an existing CDT on an active process is add a new CDT to the process and map to the new CDT and then upgrade all the old processes? Do I understand this correctly?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
amjada449
over 9 years ago
Or bypass the process model altogether and use query rules from SAIL to the entity directly ...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel