Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Restrict Members or Groups in CWM

pramodkumar
Tera Expert

Hi All,

Can we restrict groups or members in CWM? I want to show only users or groups having sn_cwm.cwm_user role only

 

pramodkumar_0-1761522531933.png

 

Thanks!

5 REPLIES 5

Hi Pramod,

 

Look for the state property lookUpQuery in cwm V7.0 or higher. Or the roleQuery in lower versions.
We set the conditions value in couple of client scripts like - 

Fetch users and group, Refresh reference typeahead list and few more.

Given that you want to make it configurable by admin - set it as system property and fetch and append to this state property.
We will consider this use case for our roadmap.

let me know if this is helpful. Otherwise, you could create support ticket and we can help further.
Thanks and regards,
Sunil B N