<?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 Re: query business rule is not applied for report export  in ServiceNow in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422815#M944305</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/407657"&gt;@bhaskarnataraju&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query Business is used to query records/lists of records when the list/forms load.&lt;/P&gt;&lt;P&gt;It doesn't restrict querying records for other sources like reports, integrations, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The filter added to records checks the database and returns data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best to use ACLs to restrict data from everywhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reshma&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;**Please mark my answer correct or helpful based on the impact**&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Dec 2022 12:35:20 GMT</pubDate>
    <dc:creator>reshmapatil</dc:creator>
    <dc:date>2022-12-21T12:35:20Z</dc:date>
    <item>
      <title>query business rule is not applied for report export  in ServiceNow</title>
      <link>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422709#M944276</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before Query business rule is created to restrict users from specific groups which is working as expected. But now we have noticed that same restriction is not applicable when we are exporting report from list(it include restricted groups). Kindly help me to understand why BR is not applied for Export and if any way to handle this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bhaskar Nataraju&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 11:54:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422709#M944276</guid>
      <dc:creator>bhaskarnataraju</dc:creator>
      <dc:date>2022-12-21T11:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: query business rule is not applied for report export  in ServiceNow</title>
      <link>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422749#M944290</link>
      <description>&lt;P&gt;You are trying to say that export is showing more records than list visible to users?&lt;/P&gt;
&lt;P&gt;Ideally export only exports the data visible on list.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 11:48:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422749#M944290</guid>
      <dc:creator>Raghav Sharma24</dc:creator>
      <dc:date>2022-12-21T11:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: query business rule is not applied for report export  in ServiceNow</title>
      <link>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422771#M944293</link>
      <description>&lt;P&gt;Hi Raghav,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes. export shows more records than list visible.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 11:56:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422771#M944293</guid>
      <dc:creator>bhaskarnataraju</dc:creator>
      <dc:date>2022-12-21T11:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: query business rule is not applied for report export  in ServiceNow</title>
      <link>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422812#M944304</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/407657"&gt;@bhaskarnataraju&lt;/a&gt;&amp;nbsp;do you have a domain separated instance?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 12:28:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422812#M944304</guid>
      <dc:creator>Raghav Sharma24</dc:creator>
      <dc:date>2022-12-21T12:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: query business rule is not applied for report export  in ServiceNow</title>
      <link>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422815#M944305</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/407657"&gt;@bhaskarnataraju&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query Business is used to query records/lists of records when the list/forms load.&lt;/P&gt;&lt;P&gt;It doesn't restrict querying records for other sources like reports, integrations, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The filter added to records checks the database and returns data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best to use ACLs to restrict data from everywhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Reshma&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;**Please mark my answer correct or helpful based on the impact**&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 12:35:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422815#M944305</guid>
      <dc:creator>reshmapatil</dc:creator>
      <dc:date>2022-12-21T12:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: query business rule is not applied for report export  in ServiceNow</title>
      <link>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422886#M944335</link>
      <description>&lt;P&gt;Hi Raghav,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes. We are working on domain separated shared instance.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 13:46:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422886#M944335</guid>
      <dc:creator>bhaskarnataraju</dc:creator>
      <dc:date>2022-12-21T13:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: query business rule is not applied for report export  in ServiceNow</title>
      <link>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422898#M944340</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/407657"&gt;@bhaskarnataraju&lt;/a&gt;&amp;nbsp;I think that is the issue, the query BR should be at the lowest possible domain,&lt;/P&gt;
&lt;P&gt;refer :&amp;nbsp;&lt;A title="https://docs.servicenow.com/bundle/quebec-platform-administration/page/administer/company-and-domain-separation/concept/bp-before-query-business-rules.html" href="https://docs.servicenow.com/bundle/quebec-platform-administration/page/administer/company-and-domain-separation/concept/bp-before-query-business-rules.html" target="_blank" rel="noopener"&gt;https://docs.servicenow.com/bundle/quebec-platform-administration/page/administer/company-and-domain-separation/concept/bp-before-query-business-rules.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG style="color: black;"&gt;Please mark the answer correct/helpful accordingly.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 13:52:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2422898#M944340</guid>
      <dc:creator>Raghav Sharma24</dc:creator>
      <dc:date>2022-12-21T13:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: query business rule is not applied for report export  in ServiceNow</title>
      <link>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2423609#M944543</link>
      <description>&lt;P&gt;Thanks for Help Raghav. Even after creating BR on lower domain, behavior is still same. We used ACL and its working as expected.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 06:48:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2423609#M944543</guid>
      <dc:creator>bhaskarnataraju</dc:creator>
      <dc:date>2022-12-22T06:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: query business rule is not applied for report export  in ServiceNow</title>
      <link>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2423610#M944544</link>
      <description>&lt;P&gt;Thanks Reshma. ACL works for both list as well as reports.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 06:49:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2423610#M944544</guid>
      <dc:creator>bhaskarnataraju</dc:creator>
      <dc:date>2022-12-22T06:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: query business rule is not applied for report export  in ServiceNow</title>
      <link>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2423619#M944547</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/407657"&gt;@bhaskarnataraju&lt;/a&gt;&amp;nbsp;Glad that your issue is fixed, but that is not how service-now works, with query BR also it should allow you to export only the visible records. You can try that in your PDI which is non domain separated instance.&lt;/P&gt;
&lt;P&gt;If in future you face the same problem, try raising a HI ticket with service-now and they can guide you how it should work in domain separated instance and where should you write your query BR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 06:55:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/query-business-rule-is-not-applied-for-report-export-in/m-p/2423619#M944547</guid>
      <dc:creator>Raghav Sharma24</dc:creator>
      <dc:date>2022-12-22T06:55:45Z</dc:date>
    </item>
  </channel>
</rss>

