Instance Scans for checking Flows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 10:22 AM - edited 04-12-2024 10:22 AM
I was curious if anybody has had any success creating an instance check scan to validate flows are following some sort of standard?
For instance, if a catalog task is created within a flow but doesn't have an assignment group assigned (whether hard coded or dynamic input) if there is a way to catch that.
Essentially looking for a way to implement some instance scans to help check perform a check against company standards as well as other best practices.
Thanks in advance!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 10:54 AM
Hi there,
Thats all possible, since everything of flows, actions, the scripting used, the conditions, etc, etc, etc are all stored in several ServiceNow tables. The question is more what you exactly want to check. This is a bit time consuming though, since there are several tables involved, structure not always logical, and not always using reference fields though document_ids instead.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2024 03:47 PM
Hey Mark,
A simple thing that we would like to be able to check for is that if a 'Create Record', 'Create Task', or 'Create Catalog Task' flow action is used, are we specifying a specific field to be populated (think Assignment Group or a different custom field). If we have a flow that is using one of those actions and they are not populating the specified field, we would want the instance scan to find that and tell us which flow is not following our development standards.
Curious if you have any tangible examples of using an instance scan like that?
Thanks,