UI Action to create change from incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2024 02:46 AM
Hi All,
I have a UI Action to create change from incident.
By default it always creates a Normal change.
How I can provide ability to user to create Normal or Emergency change as per user decision.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2024 03:21 AM
in the UI action script section add chg_model ="sys id of the standard or emergency change"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2024 03:23 AM
Hi @Nikita50
You can check OOTB code for this:
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2024 03:26 AM
Hi @Nikita50 ,
OOB on incindent table I could see we have a different UI actions altogether for mentioned purpose based on certain conditions they will appear. these conditions you can verify by opening each individual record.
However, if you have a custom UI action and you want mentioned functionality then you can use GlideModal API and achieve the same.
---------------------------------------------------------------------------------------------------
Please mark my answer as helpful/correct if it resolves your query.
Thanks,
Nilesh Wahule
---------------------------------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2024 05:16 AM
Hi @Nikita50 ,
Hope you are doing well !!
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
---------------------------------------------------------------------------------------------------
Please mark my answer as helpful/correct if it resolves your query.
Thanks,
Nilesh Wahule
---------------------------------------------------------------------------------------------------