I need set priority of incident category and sub category
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2024 11:47 PM
Hi all,
I need to set priority of incident when category is HRMS and sub category is anyone of and i tried below not working
and i have in one more onchange script on category it worked as expected but when i choose subcategory the values get wiped.
can anyone help me on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2024 11:49 PM
remember subcategory is dependent on category.
share your complete code.
why not handle this via before insert/update BR rather than 2 onChange client scripts?
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
12-23-2024 12:40 AM
I have shared full script. I have created only one onchange client script on subcategory field
Can you share me script Business rule .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2024 12:48 AM
it should be similar to client script.
please start from your side and let us know if stuck somewhere.
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
12-22-2024 11:56 PM
Hi @Saranya K As you know category and sub category are by default dependent on category so instead of script you can do you can define category and sub category so that based on category sub category will work