Deactivate groups with No users using Flow Designer

RahmatSharH
Tera Contributor

Hi Everyone,

 

Can anyone please help me out how to deactivate the groups which has NO Users using Flow Designer. I have tried but not able to get the desired results. Please find the attached screenshot for reference.

 

Thanks in advance

1 ACCEPTED SOLUTION

@RahmatSharH 

Hope you are doing good.

Did my reply answer your question?

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

8 REPLIES 8

@Ankur Bawiskar , I have attached the flow screenshot

RahmatSharH_1-1742477452879.png

 

 

@RahmatSharH 

it's fine.

For verification do this

1) in step 1 give condition as 2 groups, 1 Group which has members and 2nd Group which has 0 members

something like this

Name [IS ONE OF] Group ABC,Group DEF

If the logic works then it means it will work for all groups

once testing is done then remove that condition from Step 1

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

@RahmatSharH 

the logic I shared worked fine, so it should work for you as well.

I just tested with similar steps which I shared. 1 Group with member and 1 Group with no member

It deactivated the group with no member

deactivate group is no member working logic.gif

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

@RahmatSharH 

Hope you are doing good.

Did my reply answer your question?

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