<?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 Nprinting REST API in Qlik Sense Script - How to trigger multiple tasks in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-REST-API-in-Qlik-Sense-Script-How-to-trigger-multiple/m-p/1684258#M28285</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I followed this below link but not sure how to add multiple tasks in the 'vPublshTaskURL'&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/How-to-use-Qlik-NPrinting-APIs-inside-a-Qlik-Sense-load-script/td-p/54441/page/6?_ga=2.65750635.418963715.1584025909-2142998201.1584025909" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/How-to-use-Qlik-NPrinting-APIs-inside-a-Qlik-Sense-load-script/td-p/54441/page/6?_ga=2.65750635.418963715.1584025909-2142998201.1584025909&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has triggered multiple nprinting tasks from Qlik Sense script , please share the URL format.&lt;/P&gt;&lt;P&gt;I tried like below but its throwing invalid ID error -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let vTaskId = '$(vTaskId1)'&amp;amp;','&amp;amp; '$(vTaskId2)' &amp;amp;','&amp;amp;'$(vTaskId3)'&amp;amp;','&amp;amp;'$(vTaskId4)';&lt;/P&gt;&lt;P&gt;let vPublshTaskURL = '&lt;A href="https://nprint.premisehealth.com:4993/api/v1/tasks/'&amp;amp;'$(vTaskId)'&amp;amp;'/executions" target="_blank"&gt;https://nprint.premisehealth.com:4993/api/v1/tasks/'&amp;amp;'$(vTaskId)'&amp;amp;'/executions&lt;/A&gt;';&lt;BR /&gt;//Exit Script;&lt;BR /&gt;DROP TABLE RestNPTasksMasterTable;&lt;/P&gt;&lt;P&gt;//********************************************************&lt;BR /&gt;//NP POST Task execution&lt;BR /&gt;//********************************************************&lt;BR /&gt;LIB CONNECT TO 'NPrinting POST REST Connector';&lt;/P&gt;&lt;P&gt;RestNPTaskTriggerTable:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;"__KEY_data"&lt;BR /&gt;FROM JSON (wrap off) "data" PK "__KEY_data"&lt;BR /&gt;WITH CONNECTION( URL "$(vPublshTaskURL)", HTTPHEADER "cookie" "$(vCookie)");&lt;/P&gt;&lt;P&gt;[_post_items]:&lt;BR /&gt;LOAD [__KEY_data] AS [__KEY_data]&lt;BR /&gt;RESIDENT RestNPTaskTriggerTable&lt;BR /&gt;WHERE NOT IsNull([__KEY_data]);&lt;/P&gt;&lt;P&gt;DROP TABLE RestNPTaskTriggerTable;&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;/P&gt;</description>
    <pubDate>Thu, 12 Mar 2020 18:01:27 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2020-03-12T18:01:27Z</dc:date>
    <item>
      <title>Nprinting REST API in Qlik Sense Script - How to trigger multiple tasks</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-REST-API-in-Qlik-Sense-Script-How-to-trigger-multiple/m-p/1684258#M28285</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I followed this below link but not sure how to add multiple tasks in the 'vPublshTaskURL'&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/How-to-use-Qlik-NPrinting-APIs-inside-a-Qlik-Sense-load-script/td-p/54441/page/6?_ga=2.65750635.418963715.1584025909-2142998201.1584025909" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/How-to-use-Qlik-NPrinting-APIs-inside-a-Qlik-Sense-load-script/td-p/54441/page/6?_ga=2.65750635.418963715.1584025909-2142998201.1584025909&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has triggered multiple nprinting tasks from Qlik Sense script , please share the URL format.&lt;/P&gt;&lt;P&gt;I tried like below but its throwing invalid ID error -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let vTaskId = '$(vTaskId1)'&amp;amp;','&amp;amp; '$(vTaskId2)' &amp;amp;','&amp;amp;'$(vTaskId3)'&amp;amp;','&amp;amp;'$(vTaskId4)';&lt;/P&gt;&lt;P&gt;let vPublshTaskURL = '&lt;A href="https://nprint.premisehealth.com:4993/api/v1/tasks/'&amp;amp;'$(vTaskId)'&amp;amp;'/executions" target="_blank"&gt;https://nprint.premisehealth.com:4993/api/v1/tasks/'&amp;amp;'$(vTaskId)'&amp;amp;'/executions&lt;/A&gt;';&lt;BR /&gt;//Exit Script;&lt;BR /&gt;DROP TABLE RestNPTasksMasterTable;&lt;/P&gt;&lt;P&gt;//********************************************************&lt;BR /&gt;//NP POST Task execution&lt;BR /&gt;//********************************************************&lt;BR /&gt;LIB CONNECT TO 'NPrinting POST REST Connector';&lt;/P&gt;&lt;P&gt;RestNPTaskTriggerTable:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;"__KEY_data"&lt;BR /&gt;FROM JSON (wrap off) "data" PK "__KEY_data"&lt;BR /&gt;WITH CONNECTION( URL "$(vPublshTaskURL)", HTTPHEADER "cookie" "$(vCookie)");&lt;/P&gt;&lt;P&gt;[_post_items]:&lt;BR /&gt;LOAD [__KEY_data] AS [__KEY_data]&lt;BR /&gt;RESIDENT RestNPTaskTriggerTable&lt;BR /&gt;WHERE NOT IsNull([__KEY_data]);&lt;/P&gt;&lt;P&gt;DROP TABLE RestNPTaskTriggerTable;&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 18:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-REST-API-in-Qlik-Sense-Script-How-to-trigger-multiple/m-p/1684258#M28285</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2020-03-12T18:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Nprinting REST API in Qlik Sense Script - How to trigger multiple tasks</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-REST-API-in-Qlik-Sense-Script-How-to-trigger-multiple/m-p/1684644#M28315</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48860"&gt;@Digvijay_Singh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a QVF in this article (scroll to the bottom of the page) which contains code allowing you to execute all Publish tasks in a Single NPrinting App.&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.qlik.com/articles/000059611" target="_blank"&gt;https://support.qlik.com/articles/000059611&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 22:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-REST-API-in-Qlik-Sense-Script-How-to-trigger-multiple/m-p/1684644#M28315</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2020-03-13T22:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Nprinting REST API in Qlik Sense Script - How to trigger multiple tasks</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-REST-API-in-Qlik-Sense-Script-How-to-trigger-multiple/m-p/1684798#M28317</link>
      <description>&lt;P&gt;Feel free to use my library to do this. It makes the setup much easier and works "quite out of the box"&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;P&gt;&lt;A href="https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/" target="_blank"&gt;https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 22:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-REST-API-in-Qlik-Sense-Script-How-to-trigger-multiple/m-p/1684798#M28317</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-03-15T22:24:39Z</dc:date>
    </item>
  </channel>
</rss>

