Field values in historical records disappeared after editing that field's reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 12:39 AM
Hello, we've just noticed an issue and I can't find an answer/solution. We had a requirement to edit an already existing reference field (Problem Manager) on the problem record. We changed the Reference table from sys_user to sys_user_grmember and added a few conditions. Everything was working as expected but then we noticed, that this action erased Problem Manager field's values in historical records. For now the update set was backed out and that returned the missing values.
How can we change the reference table + add reference qual conditions without deleting historical data from the field?
Thanks!
- Labels:
-
Problem Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 12:44 AM
Its never a good practice to change the reference of an existing field, since reference fields stores sys_ids which represents a record from certain table, those values are going to be of no use if you change the reference type mid-way.
Best way to handle this would be to create a new field, set the reference qual, create a fix script to map all the data from old field to new field so it populates corresponding data.
Hope you have not done this in PROD directly, if yes, raise a HI ticket to restore the old values and go for the solution proposed above.
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 03:54 AM
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2022 11:14 PM
Can you explain the use case, why would you want to change the sys_user reference to sys_user_grmember table?
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2022 04:26 AM
The issue is no longer relevant, we solved the issue in the field dictionary by adding reference qual.