Seeking guidance for the removal of inactive user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 11:15 PM
I’m seeking guidance in setting up a solution to manage inactive users based on the following conditions:
Here are the conditions for removing inactive user through flow Designer and I have attached what i have implemented for this.
Conditions for removal:
- Users where Active = false and Last Updated is more than 1 month ago.
- If they are members of certain groups, their group memberships should be removed.
Users inactive for less than 1 month should remain unaffected, with all their previous groups and roles preserved.
Group memberships for removal include:
- Specific group memberships
- All assignment-group memberships (i.e., groups with Type = ITIL)
Additional considerations:
- The user record itself should remain untouched.
- Cleanup cycles should run on a weekly basis in bulk.
- Any occurrences of cleanup should be logged for audit purposes and to allow for re-establishing an account if necessary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 11:34 PM
please delete this duplicate question
If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 11:45 PM
Make it easy on yourself and only use this thread to get your requirement fulfilled: https://www.servicenow.com/community/itsm-forum/creating-flow-for-removal-of-inactive-users/td-p/315....
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 12:21 AM
Hi,
Here, I need to remove inactive users from a specific group, and also those inactive users present in all assignment groups. I’m currently stuck on creating the conditions to achieve this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 12:32 AM
Please read the answers given here: you are making your own question a mess by having the same question 3 times on the community.
Check the link I shared earlier. All the answers you need are already in there and if you are still stuck, be clear where you are stuck.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark