How to capture changes of sys_choice table in update set?

Ashwini Sawant
Kilo Explorer

How to capture changes of sys_choice table in update set?

While trying to capture changes the Action getting is DELETE action.

3 REPLIES 3

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Sometimes the action mentioned is only visually incorrect. I don't know why this is, though have happened to me multiple times. While the update is correct, and also goes fine when retrieving/commiting the Update Sets.

You could manually double check the XML to be sure.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Sai Kumar B
Mega Sage
Mega Sage

@Ashwini Sawant 

The best way to migrate them is to export/import XML records

OR

To capture table records into the update set, you can set this update_synch=true attribute sys_choice table collection type dictionary record (But it's not recommended to modify the OOB dictionary records)

For more information on update_synch, you can refer to this - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0656394

spike
Mega Sage

I've found the KB looking for the same thing:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2187302

 

I've put the entries in and it appears to be working as it should. Not tried rolling anything into prod yet though.

 

YMMV and all that..