Qlik Community

Qlik NPrinting Documents

Documents related to Qlik NPrinting.

NPrinting Schedule Monitor (NP17+) and Failed Task reporting

Partner
Partner

NPrinting Schedule Monitor (NP17+) and Failed Task reporting

Due to the fact that NPrinting does not give you a nice calendar like overview of scheduled tasks I decided to create a Qlik Sense application that does this for you. Besides the ability to get an overview of scheduled tasks this application also sends out an NPrinting report whenever a task failed to run. 

For this Qlik Sense applcation to work you need to create a connection to the NPrinting Repository Database and two REST API connections (GET and POST) for running an NPrinting report when tasks failed.

The dashboard page gives an overview of scheduled, failed, aborted and completed tasks.

NP Scheduler Dashboard.png

 

All files and documentation for setting up the application and the connections can be found on Qlik Branch

 

NPScheduleMonitorQB.png

 

Installation

  1. Download this Qlik Sense app in a zip file using the 'Clone or Download' button
  2. Extract the qvf file from the zip
  3. Navigate to 'Apps' under the QMC (Qlik Management Console)
  4. Import the qvf file

Getting Started

  1. Navigate to the Data Load Editor
  2. Create a Data Connection to the REST API for GET and POST and to the NPrinting Repository Database
  3. Navigate to the Set Variables tab
  4. Add the created connection names to the variables for vAPIConnectionNameForGET, vAPIConnectionNameForPOST and vNPRepoConnection
  5. Set the correct servers in the vNPrintingServer and vQlikSenseServer
  6. Set the NPrinting Publish Task Name in vNPrintingPublishTaskName if you created a NPrinting report and Publish task for Failed reports
  7. In the CALL NP API tab there is a check to validate if there are Failed Tasks, if so the report get's send out.

NPrinting Report Template

  1. Create a NPrinting app called NPrinting Schedule Monitor
  2. Create a connection to the Qlik Sense Schedule Monitor app in Qlik Sense
  3. Navigate to Reports in NPrinting and press import report and choose the NPrinting Schedule Monitor App
  4. Import the zip file NPrinting Daily Failed Task Report Template.zip by browsing to the zip file
  5. Press Next
  6. Give the Report a title or use the existing title and press Next
  7. Choose connection you created and press Next
  8. In the Filters screen press Next
  9. In the Summary screen validate the choices made and press Confirm

Reload the app

  1. Open Qlik Sense and navigate to the Schedule Monitor app.
  2. Run a manual reload to see if everything works
  3. Schedule the reload of this app in the QMC Task Scheduler
  4. If a NPrinting task has failed the NPrinting Report will be send out
Comments

Awesome work, Marc! This will be a very valuable addition to the product

Version history
Revision #:
3 of 3
Last update:
4 weeks ago
Updated by: