We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to identify all Flows that contain an action or task assigned to a specific Assignment Group ?

Clement_V
Tera Guru

Hi everyone,
I need to identify all Flow Designer actions (especially task creation or any step where an Assignment Group is defined) that are assigned to a specific group — for example, "Groupe A".

 

My goal is to extract :

 - The name of each flow that contains an action assigned to "Groupe A".

 - The name of the action where the group assignment is "Groupe A".

 

Is there a way to query all Flow Designer actions and filter them by Assignment Group?

What tables or relationships should I use to get this mapping ?

 

 

 

6 REPLIES 6

Hi !
No, I think I don't understand the method well, but thank you.
Regards,
Clement

GlideFather
Tera Patron

Hi @Clement_V,

 

You can try your luck, by using following:

  • SNUtils and slahshcommand "/code <sys_id of the group>" 
  • search for the payload field on the [sys_update_xml]
    • that stores all the changes from all the update sets, so be careful and perhaps access other using sys_update_xml.filter
    • it will allow you to set the conditions and then query it
  • search for the payload field on the [sys_metadata]
    • same as above.

 

It's a hit or miss, no guarantee... 🎯

_____
100 % GlideFather experience and 0 % generative AI