- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2019 10:58 PM
I am trying to populate a computer name associated with a user using a variable, once the reference field is added with the persons name the next field which is list of assets should populate with computer names of that specific user. Not the logged in user. I assume i am needing a catalog client script? What would the script be??
The variable for logged on behalf of user is: requested_for
and computer name ref: list_of_assets_stolen
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2019 04:23 AM
If still, it doesn't help you. please refer to the below article for auto-population.
https://community.servicenow.com/community?id=community_article&sys_id=74ccee25dbd0dbc01dcaf3231f9619bd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2019 12:14 AM
I have updated my answer. Just copy the latest version after refreshing the page.
Regards
Air
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2019 12:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2019 01:03 AM
Does the user has any computer assigned in his name?
Regards
Air
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2019 01:06 AM
Yes he does, i even tried it against my own name and nothing, so if i say ok on the error it remains blank and if i click the drop down it displays the full list of cmdb_ci_computers. Is there any filter condition i need to put on the variable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2019 01:29 AM
So you mean the script is not working for any of the user or it is not working for some specific user?