- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2023 03:11 AM - edited 02-16-2023 03:33 AM
Hello everyone
I have one field populated with the department of the logged in user and I have another List collector field with all users.
I would like to know how I can do the following. If I manually change the department, in the other users field I just want to be shown to choose users that belong to the department I indicate in the other field.
Thanks in advance
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 04:10 AM
Also If you only want to display users from Department to be populated then there is no need to write script include also.
You just need to update reference qualifier on User Variable
javascript: "department.sys_idIN" + current.variables.department
you can replace 'current.variables.<with your variable name>'
Hope this will work for you...!!
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 04:10 AM
Also If you only want to display users from Department to be populated then there is no need to write script include also.
You just need to update reference qualifier on User Variable
javascript: "department.sys_idIN" + current.variables.department
you can replace 'current.variables.<with your variable name>'
Hope this will work for you...!!
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates