Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI All,
I am trying to get the list of all executing task and export/email the same to support DL.
Using the Git QlikNPrinting CLI , i am able to setup most of the tasks like getting the list of users/filter/tasks created etc.
But is there is any way we can have the number of currently executing Task details pulled using the API.
https://github.com/QlikProfessionalServices/QlikNPrinting-CLI
Hi,
You have to implement that feature on your software side. The Qlik NPrinting APIs does only what is documented in https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=0. So you can get the list of publish tasks by using https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=54, you can filter them and count by Status in your custom software.
If you have questions about the third party software you linked, I suggest to contact the developers.
Best Regards,
Ruggero
Hi,
You have to implement that feature on your software side. The Qlik NPrinting APIs does only what is documented in https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=0. So you can get the list of publish tasks by using https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=54, you can filter them and count by Status in your custom software.
If you have questions about the third party software you linked, I suggest to contact the developers.
Best Regards,
Ruggero
The API model give details about listing all the tasks created on the NPrinting side, and then to trigger the custom task from CLI. Thats all looking good, need assistance if there is any specific way i can populate/export the view for Currently running Task - similar to what we have from Nprinting web - server:4993/#/tasks/execution tab.
The real time tracking for all active/ running task , from CLI inorder to have them automated to be transmitted. For Web console this is already set, ask is to get the same list from CLI/API call.
Hi,
My suggestion it to learn how to use the APIs you inserted in the screenshot by running them manually for example with POSTMan. Then you need the help of a software developer that creates a custom software for reading JSON data from Qlik NPrinting APIs and use them.
You can also evaluate to use the Qlik REST Connector https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/REST-c...
Let us know if you have more specific question on the mentioned APIs.
Best Regards,
Ruggero
Hi,
methods you have shown on the screenshot are all utilized here in qvs script using rest connector. There is not much info you will get from there though. You will be able to get a current status, advancement in % and thats about it. So I am not sure if this is sufficient for what you want it for.
https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/
I am not going to comment on CLI though as I have not written it and have no experience with it..