restrict users selecting inactive users to select from the collection

Community Alums
Not applicable

Hi Communit

While adding users to a group, I want to restrict people from selecting inactive users or make inactive users not availabl in the collection, is that possible.

please help.

Thanks.

1 ACCEPTED SOLUTION

Veer
Tera Guru

Hello @Community Alums 

Please go through the below community Post. 

https://www.servicenow.com/community/developer-forum/how-to-filter-dynamically-active-users-while-selecting-group/m-p/1389401#M46327

 

Steps:

1) Configure List Control

Veer_0-1672656803251.png

 

2) you can set filter as below; Edit Default filter as Active -> true

Veer_1-1672656803253.png

 

Mark 

 

 Correct if this solves your issue and also mark 


Please Mark this as an Accepted Solution / Helpful 

View solution in original post

8 REPLIES 8

Sonu Parab
Mega Sage
Mega Sage

Hi @Community Alums,
You can add a filter conditon as below.

Sonu_Parab_0-1672656468173.png


Please mark as accepted if the solution helps.

 

Community Alums
Not applicable

Hi Sonu,

Thanks for the quick response, is there a way we can pre define it and show only active users.

 

Thank you.

Rahimunnisa Sha
Kilo Guru

@Community Alums 

RahimunnisaSha_0-1672656467952.png

click on Add filter and add condition - click on run filter where you can select only active users.

 

Please mark accepted if it helps.

Veer
Tera Guru

Hello @Community Alums 

Please go through the below community Post. 

https://www.servicenow.com/community/developer-forum/how-to-filter-dynamically-active-users-while-selecting-group/m-p/1389401#M46327

 

Steps:

1) Configure List Control

Veer_0-1672656803251.png

 

2) you can set filter as below; Edit Default filter as Active -> true

Veer_1-1672656803253.png

 

Mark 

 

 Correct if this solves your issue and also mark 


Please Mark this as an Accepted Solution / Helpful