how to add new label on choice list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 03:40 AM
Hello Team,
I have requirement to add new label to the impact variable on incident form and list view also.
The new label should apply when the state is not equal to closed and resolved state.
Please suggest how to achieve this.
@Ankur Bawiskar
@Dr Atul G- LNG
@J Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 03:43 AM
what do you mean by new label?
Are you saying the field label should be changes based on state value?
If yes then you can use onChange client script and this will work on form but not on list
g_form.setLabelOf('impact', 'my new label');
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 03:49 AM - edited 05-22-2025 03:52 AM
@Ankur Bawiskar
new label should be
1.Large
2.Moderate
3.Minor
This should apply for all the records excluding closed and resolved state incidents records.
Requirement is on both, form and list view.
we are renaming labels here but it should apply only incident table and also should not apply for closed and resolved incident records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 03:51 AM
on form you can use onLoad client script and check state value and change the label
But not on list
Please inform your customer about this limitation.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 08:07 AM
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader