Hi
After doing changes in CDT for newly created requests it will work fine and process will fetch the updated details but for inflight ones it will be still old CDT is there any way to get the updated cdt to inflight instances
Discussion posts and replies are publicly visible
You can try the "upgrade process" smart service found in Process Management Utilities - it's supposed to update a running process instance to the latest version, though I'd recommend you test it on a small number of instances (and preferably in a lower environment) to ensure it gracefully handles CDT versions first.
This is also a good reason to generally try to design process models that are short-lived - if don't have processes that are active for a long time, then you don't need to worry about updates.
Another important note is that this does not happen if you're using record data types - in that case the variable always uses the latest version of the record type.
Interesting - did not know that!
Thank you for the details Mike!
Does this need any plugin to install for this smart service?
Thanks for this insight. Is this documented?
Yes - the plug-in (which i named but didn't mention it's a plug-in) is Process Management Utilities.
thank you for update mike!
And i would like to know about updating cdt version in process variable which is available in the inflight active instances.
meaning - if there is any cdt changes happen(like new columns added),will the active instances automatically updated with new column changes.if not any other way we can handle this
dharanik2600 said:if there is any cdt changes happen(like new columns added),will the active instances automatically updated with new column changes
By "automatically", do you mean something other than with the use of the tool in this plug-in? Assuming you use the plug-in tool to update instances to the latest process version, I'd expect the CDT update might work - you'll need to try it and see what happens, as I mentioned before.
Here's what we currently have in the documentation:
"When you make changes to the record type object, the record data type is also updated and stays current with any configuration changes you make. For example, if you change the name of a record field on a record type, the change is also captured on the record data type."
That being said, I think we could more explicitly call out that in process models the latest version is always referenced (since it is in contrast with CDTs that don't do that). I'll follow up with our team to see if we can add it to the documentation!
Thank you for the update MIke!
will check on this