Script to validate all the records in a table based on conditions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2024 08:25 AM
Hi,
I have a requirement where i have to get each record in the table validated based on conditions. I am not inserting or updating the table. I am just validating. I have to run through all the records in the table. I am in need of a script for that. Kindly help.
Regards
Suman P.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2024 08:29 AM
Hi @Community Alums ,
You can use the sample script mentioned : https://www.servicenow.com/community/developer-forum/script-include-to-check-if-a-record-that-meets-condition-exists/m-p/1360455
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2024 03:13 PM
Hi @Community Alums ,
Why utilize a script? Why not just a report instead?
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/