category/subcategory modification in case records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
In a case table the category-subcategory fields are interdependent. There are nearly 30k case records. We need to update the category/subcategory values in the active cases.
ex:
old values:
category- hardware
subcategory - laptop
New values:
category: hardware_001
subcategory-Desktop
Q: What is the best approach for such type of requirements?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
you can rename the choice label instead of touching the choice value
This helps in keeping any backend logic as it is and will have minimal impact to the scripts which are using that
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @Ankur Bawiskar ,
thanks for your suggestion.
Yes, we have updated the choices at dictionary level but there are some new category and subcategory which has been newly created, and we have to update the cat/subcat with the new values, at the record level(in progress cases)
Is it recommended to update those values? if yes, what is the correct process to do it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
53m ago
If you are planning to create new choices and then update it for existing records then there might be some logic around those choices which might break like running workflows, running flows, some scripts etc
Please do carefully
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
31m ago
Thanks Ankur
will check that.