Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

Announcements
BI & Data Trends 2021. Discover the top 10 trends emerging in today. Join us on Dec. 8th REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor

NPrinting Retry untill success

Hi,

we want to send a daily report. 

The task is time critical and depends on data from a reload task.

Currently we have a wait time between the reload task and the reporting.

The problem is that the reload task takes a varying time. Sometimes the report is too late.

At 08:15 data entry into the tables is finished 

At 08:16 a Qlik sense reload task runs

At 08: 20 we check whether the task ran successful by comparing the dates and execute the report

At 08:30 the report must be sent.

We considered retrying the condition several times. This could result in multiple reports.

Do you know a way to ensure that the report is sent only once?

Do you know a way to write data somewhere if the report is sent, so this data can be checked as a second condition for the report, effectively stopping a second report from being sent?

 

We greatly appreciate you help!

Kind Regards

Lukas

 

Labels (2)
1 Solution

Accepted Solutions
Highlighted
Partner
Partner

Hi Lukas,

I recommend you to create a new Qlik Sense app, use the rest connector in the script to trigger the publish task in NPrinting, and chain the reload of this app after the other QS app.

Check this: https://community.qlik.com/t5/Qlik-Product-Innovation-Blog/How-To-Use-NPrinting-APIs-In-A-Qlik-Load-... 

View solution in original post

3 Replies
Highlighted
Partner
Partner

Hi Lukas,

I recommend you to create a new Qlik Sense app, use the rest connector in the script to trigger the publish task in NPrinting, and chain the reload of this app after the other QS app.

Check this: https://community.qlik.com/t5/Qlik-Product-Innovation-Blog/How-To-Use-NPrinting-APIs-In-A-Qlik-Load-... 

View solution in original post

Highlighted

this may be helpful as well.

https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
Highlighted
Contributor
Contributor

Thank you very much for your generous help!

With your support we could solve the issue.