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: 
saiukiran19
Contributor
Contributor

Scheduling an Nprinting Report

1. Can we schedule to generate a report on 26th of every quarter end and unless 26th is a weekend. If it is a weekend then generate the report on the following business day.

2. If we do not have data updated in the DB tables then the Nprinting report has to re run hourly for every 5 hours and stop. Can these be done in Nprinting?

Labels (2)
1 Reply
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

The easiest to achieve this would be to write this logic in Qlik Sense script.

In Qlik Sense script create a variable. If the condition is true (condition beeing all your requirements regarding quarter, weekday etc...) assign value 1 else 0.

In NPrinting schedule this task to run every day but with condition that your variable is equal to 1. This will ensure that report is only sent/generated on the day when variable condition is met.

 

The second scenario (one I would use) would be with the API triggered call from Qlik script after condition is met:

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

regards

Lech

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.