How to execute action on list of records more then 100 through "Action on selected rows".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 06:58 AM
Hi ServiceNow family,
Can anyone please tell me how I can execute one action in a single go on list view through "Action on selected rows", so that all records get updated in one go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 07:15 AM
Kindly check this update selected funtionality in list view.
I have attached the screenshot for your reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 08:31 AM
Hi @shubhamdubey
Neither "Update selected" nor "Update all" works out as "Escalate" is a button inside the record
So this method does not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 09:45 AM
Hi @Soni Rahul one workaround for this is to create a custom background script
1. get a copy of the query from the list view (right click on the list filter breadcrumb)
2. create a background script that iterates over the records using the filter condition
3. get a copy the ui action script (right click on escalate button at the bottom of the page)
4. add the script to the iterative loop created in step 2
5. execute the script
always test your code in a lower environment first.
Hope this helped
-- Bala Guthy
Please mark this as a solution or helpful as you see fit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 08:03 AM
Hi @Soni Rahul
Seems yours is very specific UI action. Max you can increase the list view count and then run the Escalate UI action.
Hope there is not action required after click on Escalate.
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]
****************************************************************************************************************