Extract report based on a list of keywords present in short description /description from task table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2025 12:38 AM
We have a list of server names and need to generate a report from the task table that lists all tasks related to these servers. Specifically, we want to identify tasks where the server name appears in either the short description or description fields. Is this feasible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2025 12:42 AM
Feasible? Yes.
Will it give accurate results? No — because you need to search using the "contains" operator, and if the word or string matches as part of any other combination, ServiceNow will still include it in the results.
Example:
I want to search for the word "AM" in the Short Description field.
Short Description: I Atul and this is the example.
Results:
As you can see in the example, "AM" appears within the word example, so ServiceNow will include this record in the search results — even though "AM" isn’t a standalone word.
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
‎04-18-2025 12:52 AM
Hello @Adithya S Uday1 ,
ServiceNow does not have a filter condition like "Short description contains {one string out of a list of strings}".
You can only search for one of these server names at a time:
Ideally these servers should be present in the CMDB, and then related to these tasks via the Configuration Item field, or the Affected CIs list. Then it would be very easy to do that kind of reporting.
Regards,
Robert