We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Notify users when deactivating an assignment group that is used by any published Flow Designer flow

Kajal_123456
Tera Contributor

 

Title: Notify users before deactivating an Assignment Group used in published Flow Designer flows or subflows

Hi everyone,

I'm trying to determine whether there's a way to notify administrators or prevent accidental changes when an Assignment Group is deactivated if that group is referenced in any published Flow Designer flow or subflow.

Scenario:

  • An Assignment Group is used in one or more published flows or subflows.

  • Someone attempts to deactivate that Assignment Group.

  • We'd like to warn the user that the group is currently in use before the deactivation is completed.

Questions:

  1. Is there any out-of-the-box functionality in ServiceNow that detects this dependency and displays a warning?

  2. Has anyone implemented a custom solution to identify Flow Designer references to an Assignment Group before it is deactivated?

  3. If so, what would be the recommended approach to check published flows/subflows for Assignment Group references and notify the user?

Any guidance, best practices, or examples would be greatly appreciated.

Thank you!

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@Kajal_123456 

nothing is available out of the box for this

identifying flows which are using particular group is somewhat challenging as there are multiple tables where flow data is stored internally

in past I was able to get some help using this below link, see if that helps you

Flow Designer - Search through flows efficiently with scripts 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Tanushree Maiti
Tera Patron

Hi @Kajal_123456 

 

  • We have it but in Workflow  and notification -event : those compoents we had used.
  • Workflow is legacy now.
  • Trigger a custom notification using Flow Designer's built-in Send Email action targeting the Assignment Group Manager, service owners, and users with open tasks mapped to that group

Ref: 3 Ways to Notify with Flow Designer

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti