Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

chrisattewell
New Contributor III

NPrinting 17 Task Fail Alerts

Hi guys,

Has anyone found a way to replicate the email alerts from Nprinting 16 in Nprinting 17?

I want to be alerted when a report isn't distributed/a condition isn't met etc.

I can see with the new 'Task Executions' function, you can go into each task to see whether it failed (or completed, but didn't distribute), but ideally I'd like something sent to an inbox.

Many thanks in advance,

Chris A

7 Replies
arvind_patil
Valued Contributor III

Re: NPrinting 17 Task Fail Alerts

Hi  Chris,

I think it is not possible in Nprinting. Work around is please check the logs.

Thanks,

Arvind  Patil

Employee
Employee

Re: NPrinting 17 Task Fail Alerts

Starting from June 2017, Qlik NPrinting has also the Task Execution page that give you many useful information about the tasks with direct links to the details.

Refer to Task executions ‒ Qlik NPrinting



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
chrisattewell
New Contributor III

Re: NPrinting 17 Task Fail Alerts

Hi Ruggero,

As stated above, we can already see this. I'm more after emailed alerts for failure of any aspect.

The task execution page will say a task is 100% complete even if a condition isn't met meaning the report isn't distributed.

Employee
Employee

Re: NPrinting 17 Task Fail Alerts

In case a condition is not met the report is not send (according the result of the condition evaluation) it is not an error. It is as the software has to work. So what you see in the Task executions page is correct, there was no errors.

So the info you want is to know if conditions for a specific recipient were false or true.

I don't know how you conditions are created, but maybe you can create a specific report that shows their values.



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
chrisattewell
New Contributor III

Re: NPrinting 17 Task Fail Alerts

I'd like both ideally.

One which shows where reports have failed, but another where it has completed, but hasn't sent due to a condition.

Employee
Employee

Re: NPrinting 17 Task Fail Alerts

Thanks for the suggestion! I'll send it to the dev team :-)



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
jmacedo1
New Contributor II

Re: NPrinting 17 Task Fail Alerts

I know this is an old thread, but this is what I'm doing... most of the logic should be in the attached qvw to accomplish this for you, but you'll need to do some tweaking on your end.  You'll know if something goes awry if you never get the notification from this... but it's better than having to go into NPrinting to see if anything failed.  As for conditions, it looks like it can be done, but I haven't had the need to do so since I don't really use conditions.

 

1 - Set up the REST API between NPrinting and QlikView(the same should work for Sense).

2- Create a NPrinting task that you'd like to execute daily

   a) Based on the report, it will either have failure or success

3 - Create a .qvw that makes the following GETs using the REST API

   a) GET all tasks then load into table where enabled = 'true'

   b) GET all task execution data for those tasks

   c) Create a chart with that data filtered down either in the load or via set analysis

   d) add that chart as a report for that audit NPrinting task

   e) schedule that QV qvw reload in the QMC 

I also want to call out the below document, which was a pain to find, but has a ton of info needed to better build out your REST calls.  

https://help.qlik.com/en-US/nprinting/November2018/APIs/NP+API/index.html?&_ga=2.120061960.124033462...

Best,

James

 

 

 

 

Community Browser