<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Trying to use Table REST API to query variable values for a request in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/trying-to-use-table-rest-api-to-query-variable-values-for-a/m-p/3551259#M7050</link>
    <description>&lt;P&gt;Based on the information shared in this blog:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.supernow-blog.com/blog/querying-related-tables.html" target="_blank"&gt;https://www.supernow-blog.com/blog/querying-related-tables.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to grab a specific variable value for a Request. What I have so far:&amp;nbsp;&lt;BR /&gt;URL: https://{{baseURL}}/api/now/v1/table/sc_item_option_mtom&lt;BR /&gt;For sysparm_query, I'm using:&amp;nbsp;&lt;BR /&gt;request_item=[Request's sys_id]&lt;BR /&gt;^JOINsc_item_option_mtom.sc_item_option=sc_item_option.sys_id&lt;BR /&gt;^JOINsc_item_option.item_option_new=item_option_new.sys_id!name=[name of variable]&lt;BR /&gt;For sysparm_fields:&amp;nbsp;&lt;BR /&gt;request_item,sc_item_option.sys_id,sc_item_option.value,sc_item_option.item_option_new.name,sc_item_option.item_option_new.reference&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But it doesn't work if the last part, !name=[xxx] is included.&amp;nbsp;&lt;BR /&gt;Without specifying name, I will get a list of all variable/value for that Request. With name, I get 0 result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;That syntax should be valid according to the blog (I keep the left table different for the two JOINs), and my own testing using a single JOIN.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How can I make it work for two JOINs?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 30 May 2026 02:18:49 GMT</pubDate>
    <dc:creator>kcwong</dc:creator>
    <dc:date>2026-05-30T02:18:49Z</dc:date>
    <item>
      <title>Trying to use Table REST API to query variable values for a request</title>
      <link>https://www.servicenow.com/community/community-central-forum/trying-to-use-table-rest-api-to-query-variable-values-for-a/m-p/3551259#M7050</link>
      <description>&lt;P&gt;Based on the information shared in this blog:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.supernow-blog.com/blog/querying-related-tables.html" target="_blank"&gt;https://www.supernow-blog.com/blog/querying-related-tables.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to grab a specific variable value for a Request. What I have so far:&amp;nbsp;&lt;BR /&gt;URL: https://{{baseURL}}/api/now/v1/table/sc_item_option_mtom&lt;BR /&gt;For sysparm_query, I'm using:&amp;nbsp;&lt;BR /&gt;request_item=[Request's sys_id]&lt;BR /&gt;^JOINsc_item_option_mtom.sc_item_option=sc_item_option.sys_id&lt;BR /&gt;^JOINsc_item_option.item_option_new=item_option_new.sys_id!name=[name of variable]&lt;BR /&gt;For sysparm_fields:&amp;nbsp;&lt;BR /&gt;request_item,sc_item_option.sys_id,sc_item_option.value,sc_item_option.item_option_new.name,sc_item_option.item_option_new.reference&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But it doesn't work if the last part, !name=[xxx] is included.&amp;nbsp;&lt;BR /&gt;Without specifying name, I will get a list of all variable/value for that Request. With name, I get 0 result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;That syntax should be valid according to the blog (I keep the left table different for the two JOINs), and my own testing using a single JOIN.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How can I make it work for two JOINs?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2026 02:18:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/trying-to-use-table-rest-api-to-query-variable-values-for-a/m-p/3551259#M7050</guid>
      <dc:creator>kcwong</dc:creator>
      <dc:date>2026-05-30T02:18:49Z</dc:date>
    </item>
  </channel>
</rss>

