The CreatorCon Call for Content is officially open! Get started here.

How can Iimit Assignment_Group "is" "javascript:getMyGroups()" to groups that have roles

wbmore
Kilo Expert

I need to restricted the groups that show up in a module to groups the logged in user belongs to. For some users this list is pretty long and they really only need to see data returned based on the groups that have roles. Any suggestions would be greatly appreciated.

 

this gets me half way there and is pretty standard.

Assignment_Group "is" "javascript:getMyGroups()"

 

 

Thanks

5 REPLIES 5

Hi William


For each our groups, we populate the "type" field.


I am sure this is an OOB field as it is not preceeded by u_, but as we had a Servicenow implementation specialist in at the beginning, he could have created the field without the u_ prefix.



anyhow, this field is a List field and references the "Group type" table


in here are entries suchas "Approval, ebonding, ITSM, ServiceDesk, Change, Change Task, Catalog, Catalog task, etc)



Then makes it very easy to update the reference qualifier to be typeLIKE5baf20e06fd789003e06a4b03f3ee451 and limit to the relevant type.



Only the relevant groups are then shown.