<?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>topic REST connection settings for Service Now (pagination, paginate) in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-connection-settings-for-Service-Now-pagination-paginate/m-p/2022820#M11845</link>
    <description>&lt;P&gt;Our Service Now loader for the training management table is not returning all of the records.&amp;nbsp; We have extended with the timeout from 30 to 60 and gotten some more records. Anything greater than 60 returns less records.&lt;/P&gt;
&lt;P&gt;We think that pagination will help but do not see any detailed documentation on this area.&amp;nbsp; Would anyone have any definitions and possibly examples for the pagination in REST for Service Now?&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="REST.jpg" style="width: 403px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97489i1B8D039C6CD38A70/image-size/large?v=v2&amp;amp;px=999" role="button" title="REST.jpg" alt="REST.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2023 19:53:54 GMT</pubDate>
    <dc:creator>jonaguada</dc:creator>
    <dc:date>2023-01-06T19:53:54Z</dc:date>
    <item>
      <title>REST connection settings for Service Now (pagination, paginate)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-connection-settings-for-Service-Now-pagination-paginate/m-p/2022820#M11845</link>
      <description>&lt;P&gt;Our Service Now loader for the training management table is not returning all of the records.&amp;nbsp; We have extended with the timeout from 30 to 60 and gotten some more records. Anything greater than 60 returns less records.&lt;/P&gt;
&lt;P&gt;We think that pagination will help but do not see any detailed documentation on this area.&amp;nbsp; Would anyone have any definitions and possibly examples for the pagination in REST for Service Now?&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="REST.jpg" style="width: 403px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97489i1B8D039C6CD38A70/image-size/large?v=v2&amp;amp;px=999" role="button" title="REST.jpg" alt="REST.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 19:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-connection-settings-for-Service-Now-pagination-paginate/m-p/2022820#M11845</guid>
      <dc:creator>jonaguada</dc:creator>
      <dc:date>2023-01-06T19:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: REST connection settings for Service Now (pagination, paginate)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-connection-settings-for-Service-Now-pagination-paginate/m-p/2024026#M11864</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/8180"&gt;@jonaguada&lt;/a&gt;&amp;nbsp;, we do have documentation on this.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/Create-REST-connection/Pagination-scenarios.htm#anchor-1" target="_blank"&gt;https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/Create-REST-connection/Pagination-scenarios.htm#anchor-1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Select&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item" data-mc-conditions="Targets.NotToTranslate"&gt;Offset&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;as the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;Pagination Type&lt;/SPAN&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Complete the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;Pagination&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fields as follows:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;Pagination Type&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item" data-mc-conditions="Targets.NotToTranslate"&gt;Offset&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;'Start' parameter name&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-mc-conditions="Targets.NotToTranslate"&gt;sysparm_offset&lt;/SPAN&gt;;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;'Start' initial value&lt;/SPAN&gt;: 0&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;'Count' parameter name&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-mc-conditions="Targets.NotToTranslate"&gt;sysparm_limit&lt;/SPAN&gt;;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;'Count' initial value&lt;/SPAN&gt;: 10000&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;'Total records' path&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-mc-conditions="Targets.NotToTranslate"&gt;X-Total-Count&lt;/SPAN&gt;;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;Look in header&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The names for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;'Start' parameter name&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;'Count' parameter name&lt;/SPAN&gt;, and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;'Total records' path&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;come from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-mc-conditions="Targets.NotToTranslate"&gt;ServiceNow&lt;/SPAN&gt;. You must use those names so the connector knows where to find the values for each successive page request.&lt;/P&gt;
&lt;P&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;'Start' initial value&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;must be 0 if you intend to start at the beginning of the data set because&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-mc-conditions="Targets.NotToTranslate"&gt;ServiceNow&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;uses 0 as the base value.&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;Data indicator path&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is not required for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-mc-conditions="Targets.NotToTranslate"&gt;ServiceNow&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;because the total is contained in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="path" data-mc-conditions="Targets.NotToTranslate"&gt;X-Total-Count&lt;/SPAN&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Skip the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;Query parameters&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ui_item"&gt;Query headers&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;fields because no additional parameters or headers are required.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;ServiceNow also has information about sysparm_offset and these examples as well, so if you get stuck, be sure to check their API documenation.&lt;BR /&gt;&lt;BR /&gt;I hope that helps!&lt;BR /&gt;--Jay&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 20:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/REST-connection-settings-for-Service-Now-pagination-paginate/m-p/2024026#M11864</guid>
      <dc:creator>Jay_Brown</dc:creator>
      <dc:date>2023-01-10T20:38:50Z</dc:date>
    </item>
  </channel>
</rss>

