- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 01:18 AM
Define a function in Script includes which should populate Assignment Group of incident that call that Script include from UI action.On Click of that UI action should give alert on page with Assignment group.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 04:11 AM
Seems like a interview question.
You can directly call the server side script include in ui action script. But to get the alert, you have to use a glideajax call and in its response you can add an alert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 01:47 AM
Greetings!!
May i request , for better and quick support from community
- Use a meaningful subject line
- 2nd provide some screenshot so that community member can help you quickly.
Define a function in Script includes which should populate Assignment Group of incident that call that Script include from UI action.On Click of that UI action should give alert on page with Assignment group.
Atul: What exactly you want to achive. Where you want to populate the assignment Group and why you need script include?
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
02-05-2024 03:57 AM
No official requirement just i want to know how can it is possible to call Script include from UI action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 04:11 AM
Seems like a interview question.
You can directly call the server side script include in ui action script. But to get the alert, you have to use a glideajax call and in its response you can add an alert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 05:00 AM
Thank you
But need sample code to solve the problem.