How to update process variable type with the latest version of the CDT for the in-flight process instances?

We had to add two new columns for an existing CDT. New process instances post deployment are fine as they refer to the latest version of the CDT. But in-flight process instances refer to the previous version of the CDT. However there is a related action available where the end user can capture the data for the newly added fields. But the business is more aligned with the option of the data entry on the tasks from the in-flight process instances.

Hence, hiding the section based upon the deployment date is ruled out. Please let me know other possible options to handle this scenario. Thanks in advance.

  Discussion posts and replies are publicly visible

Parents Reply
  • Hi Arun,

    You can try creating a stored procedure(which only gets called in the specific process model you mentioned) and in the script you can design to get the new field values from the required tables and give them as the values when you are updating the table with new record values.

    You can call this stored procedure inside your process model(using execute stored procedure) and set conditions so that it only gets executed for your active instances, before the deployment.

    After this you need to run Process upgrade so that these changes can be actually seen in the active instances.(need to create a new process for this).

    PS: Never tried this, just a thought.

    Thanks,
    Sai Kiran
Children
No Data