Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
I am using NPrinting and got a hopefully simple problem 🙂
For example: I have three tasks A,B & C and each task has its individual trigger, set by time settings.
Order is A , B and C with one hour distance execution time (Ø- execution time per task 15min, 45min buffer).
I don't want them to overlap, when the tasks are executed and like to create a predecessor - successor behaviour.
Ideally, I need a possibilty to set a specific time for excution of task B and an additional necessary condition that task A is completed. Besides, I am still interested in setting a predecessor - successor behaviour.
Thanks in advance,
B. from Hamburg
Hi,
NPrinting 17.0 which you have indicated as the version you are using does not have such functionality and also is out of support - so please upgrade.
Once upgraded to more current version then you can use API to achieve what you want. Below links describe steps and methods on how to set this up. In short you need to use QlikView to trigger those tasks and monitor their status.
This is the setup - it applies also to QlikView:
you can also use subroutines I have written:
https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines/
thats it.
The above requires knowledge in QlikView scripting and also proper setup of Rest connectors which is described in the links above.
cheers
Hi,
I agree with @Lech_Miszkiewicz and I would like to add that Qlik NPrinting APIs are described in https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/Extending/Intro-Extending.htm:
- to run a new task execution use https://help.qlik.com/en-US/nprinting/May2022/APIs/NP+API/index.html?page=57
- then you have to retrieve its status with https://help.qlik.com/en-US/nprinting/May2022/APIs/NP+API/index.html?page=5
There is no way to be notified when the first task is finished, you have to check the status multiple times and you can use API in a Qlik script as per Lech's suggestion or develop custom software that uses them.
There is not native, built-in, feature to execute tasks in sequence at the moment.
Best Regards,
Ruggero
@Bodo is that the actual version of NPrinting you are on?
Hi David,
I am sorry for the late reply, my version is 21.14.5.0. Does this change the possibility of my requirement?
Best regards
Hi @Bodo - that confirms that you can use options described in my above post.
cheers