PSA: How to View Variables in Lists
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2016 01:24 PM
After having to play around with variables quite a bit in a recent project, I thought I'd share how to display variables on a list of Requested Items / Catalog Tasks. This applies to lists and related lists, as reports have their own method of displaying variables. Important note: This was performed on Fuji. Your experience may differ on older versions of ServiceNow.
Step 1 Identify the variables you'd like to display on your list, then copy the sys_id for each variable. This is as simple as heading to the Catalog Item, and jumping into the variable(s) in question. We'll need the sys_id to add the column into the list.
Step 2 Head over to System UI -> Lists
Step 3 Identify the list you'd like to display the variable(s) on. We're looking for one of two things here. Either the name of the view of the list you'd like to include the variable(s) on (I highly recommend creating a new view instead of using the Default view for this, as most likely the variables will apply to certain catalog items instead of every single one), or for a related list look at the Parent and Relationship columns for the table and name of the tab for the related list. Head into the list when you've found it.
Step 4 Create a new List Element(s) from the related list at, using "variables.sys_id" (no quotes) in the actual Element field on the List Element form. Create a new List Element for each variable you wish to add.
Step 5 Head over to the list where variables were just added. They won't show up immediately, so don't panic. Edit the list layout, and move around the variables to the spots you'd like them in the list (even if the position is already how you'd like it, move a variable one position up/down, then move it back and save). At this point, the variables should be visible!
Hope this helps at least one person out there. Take care!
- Labels:
-
User Interface (UI)
- 22,604 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2023 08:46 AM
@Suryansh Verma If the variable is part of a variable set it will not work as expected. I too am trying to determine how to make this work from a variable that is part of a variable set. I hope you find a solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2022 08:23 AM
I was able to get this working in Tokyo. I followed the steps and they worked just fine. I did clean up the initial knowledge article just to add pictures I hope this addition is to everyone's liking.
Source: Brad Shelle SN developers forum.
How to display variables on a list of Requested Items / Catalog Tasks. This applies to lists and related lists, as reports have their own method of displaying variables.
Important note: This was performed Tokyo version of ServiceNow.
Step 1 Identify the variables you'd like to display on your list.
then copy the sys_id for each variable. This is as simple as heading to the Catalog Item, and jumping into the variable(s) in question. We'll need the sys_id to add the column into the list.
- Example- go to filter navigator >Variable Sets. OR Item Variables Look for the variable(s)
- Open the record right click on the label, select configure dictionary. If it is a variable set you will need to locate the variable set from filter navigator.
- c. Table = item_option_new
Step 2 Head over to System UI -> Lists
Identify the list you'd like to display the variable(s) on. We're looking for one of two things here. Either the name of the view of the list you'd like to include the variable(s) on, or for a related list look at the Parent and Relationship columns for the table and name of the tab for the related list. Head into the list when you've found it.
NOTE: (I highly recommend creating a new view instead of using the Default view for this, as most likely the variables will apply to certain catalog items instead of every single one)
Step3 Create a new List Element(s) from the related list using "variables.sys_id" (no quotes) in the actual Element field on the List Element form.
Create a new List Element for each variable you wish to add.
Here is what the new variables look like after being added successfully .
Step 5 Head over to the list where variables were just added. They won't show up immediately, so don't panic. Edit
the list layout, and move around the variables to the spots you'd like them in the list (even if the position is already how you'd like it, move a variable one position up/down, then move it back and save). At this point, the variables should be visible!
Hope this helps at least one person out there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2025 11:15 AM
Thank you so much for this, it worked for Xanadu as well!