- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2019 07:37 AM
Team,
What table or tables in the database schema hold the variables and variable values? For example, when I view a Request Item there is a section called variables with fields and values. I am trying to understand what table or tables holds these values. Ultimately, I am looking to JOIN these variable fields and values to the sc_req_item table.
Solved! Go to Solution.
- Labels:
-
Reporting
- 91,706 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2019 01:07 PM
M2M table to request item
sc_item_option_mtom.request_item = sc_req_item.sys_id
M2M table to variable
sc_item_option_mtom.sc_item_option = sc_item_option.sys_id

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2019
08:14 AM
- last edited on
01-19-2024
03:01 PM
by
ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2019 08:37 AM
do you have the backend table names that hold variable names and variable values? I am looking to make an API call to retrieve this data, but need the backend table names.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2019 08:51 AM
have you tried with variable ownership table (sc_item_option_mtom)?
use glide record to Query by the Request Item and you'll get a list of variables for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2023 09:34 AM
Hi @Harsh Vardhan Do you know which table holds the SCTASK variables and its values?
We have a requirement to copy SCTASK variables to Story and these variables are exclusive to SCTASK and they aren't visible on RITM.