Current.variables.<variable name> is not working in reference qualifer in catalog item ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 10:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 11:24 AM
Hi,
Can you share the sample record from Choice table? I want to see Label and value for at least one record.
Also, can you try using to what value select box is returning in the banner?
javascript: gs.addInfoMessage(current.variables.new_hires_roles_csis);
The value returned should match the value stored in the choice table.
Please let me know so that I can help you further.
Regards,
Muhammad
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 11:35 AM
There was a type in script. Please try below for info message.
javascript: gs.addInfoMessage(current.variables.new_hires_role_csis);
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 11:42 AM
It is returning null value
I tried with other variables too still returning null value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 11:58 AM
