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
2020 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
Parents
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
Reply
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
Children
No Data