need to change a boolean field into choice field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 01:22 AM
Hello All , My requirement is i have a user defined boolean field and i want to convert it to choice field. Can someone please assist. The modification should happen without any data loss in the existing records.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 01:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 01:34 AM
If your table column has data, you cannot change the field type. As per servicenow that way is to clear the column and then change the type.
Workaround: Create a choice field with same label but different name, then write the fix/background script to copy old field value to new field.
Please mark the answer correct/helpful accordingly.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 01:45 AM
If you aware of fix background script can i have it please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 02:47 AM
you need to provide the boolean to choice list mapping for that.
Raghav
MVP 2023