
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dependency task trigger in Nprinting
Hello All,
I want to set a hierarchical task in Npriting (June'18 version) which should run basis the completion of another task(like it happens in QMC).
kindly assist me to achieve this.
Regards,
Imran K
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I would suggest starting locally and once it's working locally you can try from an external machine.
Regarding using NPrinting and Qlik Rest Connector, you can follow this guide.
Hope this helps!
If a post helps to resolve your issue, please mark the appropriate replies as CORRECT.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
It's currently not possible to do it in the NPrinting Web Console. Please see What is Qlik NPrinting? to get a list of the available feature in the latest version.
However, you could do that by building an application/script using our API.
You will need to use two methods I believe:
- Get status of task A. See this link
- If the status is a success then run task B. See this link
Here is an article to get started with the NPrinting API using Postman
And here is one to get started with the NPrinting API using Powershell
Hope this helps !!
If a post helps to resolve your issue, please mark the appropriate replies as CORRECT.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Should i Install it on Server from which Npriting services are running or would it be installed on Users machine.
Also I have installed QlikRestConnector on Npriting server and when I am try to get a connection tested, I am getting an error Not Authorized 401 error.
I tried to logic from service account but the error remains the same.
I want to run Nprinting task post successful reload of QMC task(QlikView).
Regards,
Imran K

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I would suggest starting locally and once it's working locally you can try from an external machine.
Regarding using NPrinting and Qlik Rest Connector, you can follow this guide.
Hope this helps!
If a post helps to resolve your issue, please mark the appropriate replies as CORRECT.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bastien,
Thanks for your solution. I tried with the Qlik Rest connector and was able to get the connection done for GET part. However after applying the next step i got below error.
QVX_UNEXPECTED_END_OF_DATA: HTTP protocol error 403 (Forbidden):
The server refused to fulfill the request.
RestConnectorMasterTable:
SQL SELECT
"__KEY_data",
(SELECT
"id",
"name",
"description",
"type",
"created",
"lastUpdate",
"lastExecution",
"enabled",
"appId",
"__FK_items"
FROM "items" FK "__FK_items")
FROM JSON (wrap off) "data" PK "__KEY_data"
WITH CONNECTION( URL "https://servername:4993/api/v1/tasks", HTTPHEADER "cookie" "",
QUERY "Limit" "1000000",)
Also I tried with POST part as well and getting below error;
Contention failed
HTTP protocol error 403(Forbidden):
The server refused to fulfill the request.
Do assist me to resolve this.
Regards,
Imran Khan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://qliksupport.force.com/articles/000057262
