What Happens to Strings When You Reduce the Max Length in Data Structure Fields?

Hi,

I have a string field in a data structure where the max length was initially set to 10, and I have values that are exactly 10 characters long. If I change the max length to 5, what will happen to the existing string values? Will they be automatically truncated, or is there a different behavior? Could someone explain how this works?

Comments

  • Hi,

    Currently, in Decisions, when you reduce the max length of a string field, all the existing data for that field is set to null, and a backup table is created to store the original data. Administrators are notified of this change.

    We generally do not recommend making such changes to avoid potential data issues, as it can lead to inconsistencies and complications with your data.

    Thanks

Sign In or Register to comment.