Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
lukaslpohl
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
fosuzuki
Partner - Specialist III
Partner - Specialist III

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
fosuzuki
Partner - Specialist III
Partner - Specialist III

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-... 

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

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.
lukaslpohl
Contributor
Contributor
Author

Thank you very much for your generous help!

With your support we could solve the issue.