- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2020 12:21 PM
Hi,
I have 2 variables in a variable set that I am using on a form. The first variable is requested_for using the type Requested For:
I have another variable manager.
All I need to do is populate that variable (manager) with the manager of the user in Requested For. This should be easy, however it is taking all day and I still cannot get it to work. I'm about to go insane.
Thanks in advance for any assistance.
Diana
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2020 01:18 PM
no... you need to create a catalog client script, not the regular client script. Instead of table, field you select variable set, variable. it should look more or less like this:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2020 01:16 PM
Thanks, do I also set the table and field in the script form to sys_user and manager?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2020 01:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2020 01:28 PM
Thank you, thank you, thank you. I cannot believe how complicated this system is. This is so easy on our current system. The fact that what you need is not contained in one area or menu makes it so complicated.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2020 01:31 PM
No problem 😉 It is vast, but I would not say very complicated. Matter of experience I guess. Good place to start is here - e.g. for the getReference method: https://developer.servicenow.com/dev.do#!/reference/api/paris/client/c_GlideFormAPI#r_GlideFormGetRe...