<?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 Is there any way to display Variables in a List View or Report from a Database View? in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/is-there-any-way-to-display-variables-in-a-list-view-or-report/m-p/3099741#M1595</link>
    <description>&lt;P&gt;Hello ServiceNow Community,&lt;/P&gt;&lt;P&gt;I’ve encountered a couple of challenges around displaying &lt;STRONG&gt;Variables&lt;/STRONG&gt; for Requested Items (RITMs) in list views and reports when working with &lt;STRONG&gt;Database Views&lt;/STRONG&gt;, and I wanted to see if anyone has come across a solution or workaround.&lt;/P&gt;&lt;H3&gt;Issue 1: &lt;STRONG&gt;Show Variables in List View&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;When trying to display &lt;STRONG&gt;variables&lt;/STRONG&gt; for a requested item in a list view, I found that this is &lt;STRONG&gt;not possible out-of-the-box (OOB)&lt;/STRONG&gt;. The &lt;STRONG&gt;Variable Editor&lt;/STRONG&gt;, which is the specialized UI formatter responsible for displaying variable selections, is only available in the &lt;STRONG&gt;Form View&lt;/STRONG&gt;. This limitation stems from the one-to-many relationship between a UI Formatter and a record, which makes it difficult to present UI Formatters (like the Variable Editor) in a list view.&lt;/P&gt;&lt;P&gt;I also discovered that this limitation is not customizable within a ServiceNow instance and requires a &lt;STRONG&gt;ServiceNow release update&lt;/STRONG&gt; to work. However, I did see that a &lt;STRONG&gt;Database View&lt;/STRONG&gt; could somewhat achieve this display of variables to a degree, though I haven’t found a clean solution yet.&lt;/P&gt;&lt;H3&gt;Issue 2: &lt;STRONG&gt;Variable Columns in Reports (Database View)&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;When attempting to create a report with variables from the &lt;STRONG&gt;sc_task&lt;/STRONG&gt; or &lt;STRONG&gt;sc_task_sla&lt;/STRONG&gt; database view, I noticed that I was unable to display the variables in the report, even after selecting the requested variables from the dot-walked &lt;STRONG&gt;Request Item&lt;/STRONG&gt; (sc_req_item) fields.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Steps I followed:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Created a report on the sc_task table or database view sc_task_sla.&lt;/LI&gt;&lt;LI&gt;Dot-walked to the &lt;STRONG&gt;Request Item&lt;/STRONG&gt; (sc_req_item) and selected variables.&lt;/LI&gt;&lt;LI&gt;Added variables to the selected list in the report.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;However, when I ran the report, the selected variables did &lt;STRONG&gt;not appear&lt;/STRONG&gt; in the columns. Interestingly, when I created a report directly on the &lt;STRONG&gt;sc_req_item&lt;/STRONG&gt; table, the variables showed up correctly in the report.&lt;/P&gt;&lt;P&gt;The workaround, as I’ve found, is that in all current releases, reporting on variables through a &lt;STRONG&gt;Database View&lt;/STRONG&gt; is not supported. This behavior is by design, and the only viable option seems to be reporting directly against the table that contains the variables (like sc_req_item).&lt;/P&gt;&lt;H3&gt;Question to the Community:&lt;/H3&gt;&lt;P&gt;Given these limitations, is there any way to work around this issue and display &lt;STRONG&gt;variables&lt;/STRONG&gt; in a &lt;STRONG&gt;list view&lt;/STRONG&gt; or &lt;STRONG&gt;report&lt;/STRONG&gt; when using &lt;STRONG&gt;Database Views&lt;/STRONG&gt;? Perhaps a script, custom formatter, or something else I might be overlooking?&lt;/P&gt;&lt;P&gt;Looking forward to hearing your thoughts or suggestions!&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2024 07:38:11 GMT</pubDate>
    <dc:creator>dharam743</dc:creator>
    <dc:date>2024-11-08T07:38:11Z</dc:date>
    <item>
      <title>Is there any way to display Variables in a List View or Report from a Database View?</title>
      <link>https://www.servicenow.com/community/community-central-forum/is-there-any-way-to-display-variables-in-a-list-view-or-report/m-p/3099741#M1595</link>
      <description>&lt;P&gt;Hello ServiceNow Community,&lt;/P&gt;&lt;P&gt;I’ve encountered a couple of challenges around displaying &lt;STRONG&gt;Variables&lt;/STRONG&gt; for Requested Items (RITMs) in list views and reports when working with &lt;STRONG&gt;Database Views&lt;/STRONG&gt;, and I wanted to see if anyone has come across a solution or workaround.&lt;/P&gt;&lt;H3&gt;Issue 1: &lt;STRONG&gt;Show Variables in List View&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;When trying to display &lt;STRONG&gt;variables&lt;/STRONG&gt; for a requested item in a list view, I found that this is &lt;STRONG&gt;not possible out-of-the-box (OOB)&lt;/STRONG&gt;. The &lt;STRONG&gt;Variable Editor&lt;/STRONG&gt;, which is the specialized UI formatter responsible for displaying variable selections, is only available in the &lt;STRONG&gt;Form View&lt;/STRONG&gt;. This limitation stems from the one-to-many relationship between a UI Formatter and a record, which makes it difficult to present UI Formatters (like the Variable Editor) in a list view.&lt;/P&gt;&lt;P&gt;I also discovered that this limitation is not customizable within a ServiceNow instance and requires a &lt;STRONG&gt;ServiceNow release update&lt;/STRONG&gt; to work. However, I did see that a &lt;STRONG&gt;Database View&lt;/STRONG&gt; could somewhat achieve this display of variables to a degree, though I haven’t found a clean solution yet.&lt;/P&gt;&lt;H3&gt;Issue 2: &lt;STRONG&gt;Variable Columns in Reports (Database View)&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;When attempting to create a report with variables from the &lt;STRONG&gt;sc_task&lt;/STRONG&gt; or &lt;STRONG&gt;sc_task_sla&lt;/STRONG&gt; database view, I noticed that I was unable to display the variables in the report, even after selecting the requested variables from the dot-walked &lt;STRONG&gt;Request Item&lt;/STRONG&gt; (sc_req_item) fields.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Steps I followed:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Created a report on the sc_task table or database view sc_task_sla.&lt;/LI&gt;&lt;LI&gt;Dot-walked to the &lt;STRONG&gt;Request Item&lt;/STRONG&gt; (sc_req_item) and selected variables.&lt;/LI&gt;&lt;LI&gt;Added variables to the selected list in the report.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;However, when I ran the report, the selected variables did &lt;STRONG&gt;not appear&lt;/STRONG&gt; in the columns. Interestingly, when I created a report directly on the &lt;STRONG&gt;sc_req_item&lt;/STRONG&gt; table, the variables showed up correctly in the report.&lt;/P&gt;&lt;P&gt;The workaround, as I’ve found, is that in all current releases, reporting on variables through a &lt;STRONG&gt;Database View&lt;/STRONG&gt; is not supported. This behavior is by design, and the only viable option seems to be reporting directly against the table that contains the variables (like sc_req_item).&lt;/P&gt;&lt;H3&gt;Question to the Community:&lt;/H3&gt;&lt;P&gt;Given these limitations, is there any way to work around this issue and display &lt;STRONG&gt;variables&lt;/STRONG&gt; in a &lt;STRONG&gt;list view&lt;/STRONG&gt; or &lt;STRONG&gt;report&lt;/STRONG&gt; when using &lt;STRONG&gt;Database Views&lt;/STRONG&gt;? Perhaps a script, custom formatter, or something else I might be overlooking?&lt;/P&gt;&lt;P&gt;Looking forward to hearing your thoughts or suggestions!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 07:38:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/is-there-any-way-to-display-variables-in-a-list-view-or-report/m-p/3099741#M1595</guid>
      <dc:creator>dharam743</dc:creator>
      <dc:date>2024-11-08T07:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to display Variables in a List View or Report from a Database View?</title>
      <link>https://www.servicenow.com/community/community-central-forum/is-there-any-way-to-display-variables-in-a-list-view-or-report/m-p/3212035#M2533</link>
      <description>&lt;P&gt;It's disappointing there are no responses to this post. It would be great if ServiceNow had a solution for issue &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;1.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 16:19:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/is-there-any-way-to-display-variables-in-a-list-view-or-report/m-p/3212035#M2533</guid>
      <dc:creator>kristinfarley</dc:creator>
      <dc:date>2025-03-19T16:19:13Z</dc:date>
    </item>
  </channel>
</rss>

