Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Sep 23, 2019 3:21:48 PM
Jul 16, 2019 11:40:38 AM
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.
All files and documentation for setting up the application and the connections can be found on Qlik Branch
Installation
Getting Started
NPrinting Report Template
Reload the app
Awesome work, Marc! This will be a very valuable addition to the product
Can i create a local copy of repository database on my laptop and use QlikSense desktop to connect via your app? I understand it will not be live view but would it work?
Yes, that should work. You have to create a connection to your Postgres database and this will be used to retrieve data. You set change this line of code in the app:
SET vNPRepoConnection = <connection name>'
You also need the REST API's because not all the information can be retrieved from the database, for example the upcoming tasks (I think this is initially what you where looking for).
If you have any questions please let me know.
Marc
Hi Marc
Anyway you can publish same app for QlikView?
Hello @marcginqo,
Thank you so much for this ! I've been using it very regularly for a couple years, it is very helpful.
However, do you think it would be possible for you to explain how to retrieve the execution tasks logs ?
I'm pretty sure a table exists, but I can't find it.
My need here is to know which tasks didn't go through because of a condition evaluated to false.
Thank you,
Florent
Hi @florent1,
Sorry for the very late reaction. I will look I to this next week and let you know as soon as possible what the options are.
Marc
Hi @florent1
I'm not sure if there is a way of getting information regarding the tasks that did not go through due to a condition set.
There might be something in the NPrinting PostgreSQL database that is used in the Schedule Monitor as well. I could not find a part in the API's that will give you that information.
In the Schedule Monitor there is a piece that loads data regarding Task Executions but no condition status in there.
Maybe @Stephen_Jasionowski knows about this.
Marc