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
11 replies
Subscribers
5 subscribers
Views
3696 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Active Instances to stick with Old Version of Code - Post Deployment
Karthik
over 7 years ago
I want the newer instances to follow the new code and older to follow older code. Is there a way to make the active instances to follow the older version of the code though the sub-processes are yet to be triggered?
OriginalPostID-256982
Discussion posts and replies are publicly visible
Parents
0
Chris
over 7 years ago
For this reason we have been implementing a 'version' variable in our process models - this integer is passed from parent to sub processes where you can define processing based on which version the parent model is running under. When you implement changes to the parent, increase the version flag and your sub process can use this logic where necessary: if(pv!version<2,*use old methods*,*use new methods*). Since both running/active parent and new parent processes will use the same sub process version, something such as this manual control is necessary if you need to maintain legacy sub process function for legacy parent processes.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Chris
over 7 years ago
For this reason we have been implementing a 'version' variable in our process models - this integer is passed from parent to sub processes where you can define processing based on which version the parent model is running under. When you implement changes to the parent, increase the version flag and your sub process can use this logic where necessary: if(pv!version<2,*use old methods*,*use new methods*). Since both running/active parent and new parent processes will use the same sub process version, something such as this manual control is necessary if you need to maintain legacy sub process function for legacy parent processes.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data