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,468 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 09:55 AM
This is great information. Does anyone know if it's possible to do this for variables that are in a variable set? I'm trying to completely document this, since I know I will need to use a variable from a variable set in the future. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2017 04:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-21-2017 11:45 AM
We were using this functionality, but it broke when we upgraded from Helsinki to Jakarta. I believe its no longer possible to display catalog variables in a list. Just in case, I created a HI ticket and asked them but they said its not possible, and when I referenced these articles they said it was not supported.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 07:00 AM
Definitely a bummer. When I have some time I'll have to see if I can find another unsupported method for handling this again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2017 02:00 PM
I would like to edit the variables on the list. Is that possible?
As far as I can get it's make a report (because it's not possible on database views) use the "sc_item_option_mtom" table and from there get the request and the questions and values. The problem is that it's a raw value, if it is a reference it shows de sys_id or for a select box it shows the value, not the label.
Is it possible to make this???