<?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 Creating a report to show Incidents without Interactions in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/creating-a-report-to-show-incidents-without-interactions/m-p/3326352#M3833</link>
    <description>&lt;P&gt;I am trying to generate a report for the dashboard that allows me to see Incidents without Interactions&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jul 2025 22:15:38 GMT</pubDate>
    <dc:creator>SimonHind</dc:creator>
    <dc:date>2025-07-18T22:15:38Z</dc:date>
    <item>
      <title>Creating a report to show Incidents without Interactions</title>
      <link>https://www.servicenow.com/community/community-central-forum/creating-a-report-to-show-incidents-without-interactions/m-p/3326352#M3833</link>
      <description>&lt;P&gt;I am trying to generate a report for the dashboard that allows me to see Incidents without Interactions&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 22:15:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/creating-a-report-to-show-incidents-without-interactions/m-p/3326352#M3833</guid>
      <dc:creator>SimonHind</dc:creator>
      <dc:date>2025-07-18T22:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a report to show Incidents without Interactions</title>
      <link>https://www.servicenow.com/community/community-central-forum/creating-a-report-to-show-incidents-without-interactions/m-p/3326361#M3834</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/626594"&gt;@SimonHind&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and can you please show us what you tried?&lt;BR /&gt;&lt;BR /&gt;The interactions are stored in [&lt;STRONG&gt;interaction&lt;/STRONG&gt;] table incidents in [&lt;STRONG&gt;incident&lt;/STRONG&gt;] eventually [task] and if an incident is created from an Interaction, this relationship is stored in [&lt;STRONG&gt;interaction_related_record&lt;/STRONG&gt;].&lt;BR /&gt;&lt;BR /&gt;So you can query all the incidents that AREN'T in this table&amp;nbsp;&lt;STRONG&gt;interaction_related_record&lt;/STRONG&gt;, because if they are then it means they have an interaction associated. I&lt;EM&gt;t could be possible to use GlideAggregate instead of GlideRecord as you want to get just number without any data manipulation to it.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And don't forget to add some period of time - all incidents created in last 30 days etc...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Share us here your progress&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 22:34:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/creating-a-report-to-show-incidents-without-interactions/m-p/3326361#M3834</guid>
      <dc:creator>GlideFather</dc:creator>
      <dc:date>2025-07-18T22:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a report to show Incidents without Interactions</title>
      <link>https://www.servicenow.com/community/community-central-forum/creating-a-report-to-show-incidents-without-interactions/m-p/3326366#M3835</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/626594"&gt;@SimonHind&lt;/a&gt;&amp;nbsp;the script below might be beautified but it works and could serve as an inspiration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my PDI I set encoded query on 5 incidents where only 1 has interaction, remaining 4 don't:&lt;BR /&gt;(your condition will be different - created in last 30D, 7D, has this or that category, assignment group etc.)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KamilT_0-1752878652411.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/456965i393350C1F00518AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KamilT_0-1752878652411.png" alt="KamilT_0-1752878652411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KamilT_1-1752878686136.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/456966iC18E21AA19A7AF5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KamilT_1-1752878686136.png" alt="KamilT_1-1752878686136.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var incidentGR = new GlideRecord('incident');
incidentGR.addEncodedQuery('category=hardware^priority=1'); //5 incidents match this
incidentGR.query();

while (incidentGR.next()) {
    var hasInteraction = false;

    var irrGR = new GlideRecord('interaction_related_record');
    irrGR.addQuery('document_id', incidentGR.sys_id);  //just 1/5 has an interaction
    irrGR.query();

    if (irrGR.hasNext()) {
        hasInteraction = true;
    }

    if (!hasInteraction) {
        gs.print('Incident without interaction: ' + incidentGR.number); //remaining 4 Printed
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know what do you think and if this helped you and my efforts were not for nothing :))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 22:45:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/creating-a-report-to-show-incidents-without-interactions/m-p/3326366#M3835</guid>
      <dc:creator>GlideFather</dc:creator>
      <dc:date>2025-07-18T22:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a report to show Incidents without Interactions</title>
      <link>https://www.servicenow.com/community/community-central-forum/creating-a-report-to-show-incidents-without-interactions/m-p/3326378#M3837</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="related.JPG" style="width: 999px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/456971iDDE4431D51601E0B/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="related.JPG" alt="related.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is my basic Report using the &lt;STRONG&gt;Interaction related Record&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;it shows&amp;nbsp;ID of related record with Incident: INC#######&lt;/P&gt;&lt;P&gt;166 in total, however if I switched to Incident table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Incidents.JPG" style="width: 999px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/456970iBCB16720B944407C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Incidents.JPG" alt="Incidents.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ideally what I am looking for is all Incidents where there are no Interactions, so i hope my&amp;nbsp;&lt;STRONG&gt;Interaction related Record &lt;/STRONG&gt;is correct for this&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 23:31:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/creating-a-report-to-show-incidents-without-interactions/m-p/3326378#M3837</guid>
      <dc:creator>SimonHind</dc:creator>
      <dc:date>2025-07-18T23:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a report to show Incidents without Interactions</title>
      <link>https://www.servicenow.com/community/community-central-forum/creating-a-report-to-show-incidents-without-interactions/m-p/3326456#M3839</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/626594"&gt;@SimonHind&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You just need to add a related list condition like below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndersBGS_0-1752907019434.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/456987iAC16B6513462BE9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndersBGS_0-1752907019434.png" alt="AndersBGS_0-1752907019434.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jul 2025 06:37:13 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/creating-a-report-to-show-incidents-without-interactions/m-p/3326456#M3839</guid>
      <dc:creator>AndersBGS</dc:creator>
      <dc:date>2025-07-19T06:37:13Z</dc:date>
    </item>
  </channel>
</rss>

