Upgrading Data Type of Active Processes

We are on 17.1 Cloud.

We have a process model M (Main Process Model), which calls another process model S (Sub Process Model). Now, we had to modify a data type (Custom Data Type) of one of the parameters of process model S. Of course, there would be corresponding change in the main process model M. After the changes, new processes would work fine. But, for any processes initiated before we made changes will face issue of type mismatch when S will be called from M. So, to counter that, is there a way I can modify the custom data type of existing processes?

I hope there is a way or a solution of making Custom Data Type backward compatible.

Thanks in advance!

Akshar

  Discussion posts and replies are publicly visible

Parents
  • In order to determine which issues you might potentially be facing, it would be useful to know what kind of changes were made to the data type (deleted field, added field, renamed field, changed field type). Perhaps you could add that information? However, after experimenting with each of these scenarios in 17.2, I did not encounter any type mismatches. The data types appear to be stored as dictionaries, and when a node is executed the most recent version of the data type is used to interpret the dictionary. So as far as modifying the custom data type of an existing process all that is required is to save a new version of that data type.
Reply
  • In order to determine which issues you might potentially be facing, it would be useful to know what kind of changes were made to the data type (deleted field, added field, renamed field, changed field type). Perhaps you could add that information? However, after experimenting with each of these scenarios in 17.2, I did not encounter any type mismatches. The data types appear to be stored as dictionaries, and when a node is executed the most recent version of the data type is used to interpret the dictionary. So as far as modifying the custom data type of an existing process all that is required is to save a new version of that data type.
Children