How to Check if a Specific Group Is Used in Flow Designer or Workflows for Approvals

suvarnamdsk
Tera Contributor

Hi Community,

I’m trying to find out if a specific group is being used anywhere in ServiceNow — particularly in Flow Designer, Workflows. The goal is to identify whether that group is referenced in any approval steps, flow actions, or workflow activities.

Is there a recommended way or script to search across these components to detect group usage? Any tips or best practices would be greatly appreciated!

Thanks in advance!

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@suvarnamdsk 

not an easy task to determine this in both flow or workflow

I had referred to this solution and it helped me to some extent previously

Flow Designer - Search through flows efficiently with scripts 

For workflows

1. Navigate to sys_variable_value Table

2. Copy Syd id of the Group you are trying to search in Workflow activities

3. Paste it in Value Column.

You will able to see all the workflow activities where the group is used.

AnkurBawiskar_0-1754298634809.png

 

for some more help for workflows check these links

background script to identify particular assignment group in all workflows and flow designers 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@suvarnamdsk 

not an easy task to determine this in both flow or workflow

I had referred to this solution and it helped me to some extent previously

Flow Designer - Search through flows efficiently with scripts 

For workflows

1. Navigate to sys_variable_value Table

2. Copy Syd id of the Group you are trying to search in Workflow activities

3. Paste it in Value Column.

You will able to see all the workflow activities where the group is used.

AnkurBawiskar_0-1754298634809.png

 

for some more help for workflows check these links

background script to identify particular assignment group in all workflows and flow designers 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader