Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team 👩💻
Need a help :
was trying to write a logic in Qlik script level which will hold the Qlik app reload untill today's data is available to display in the dashboard.
Any clue on this?
Sleep will be good I guess but not sure about the qlik engine utilization for the same in case the qlik app reload process is sleeping for a long time (e.g: 2 hours etc.)
As usual, advance thanks for your help .
Cheers!!
Happy Weekend.
-Chalorme😊
Sleep supports max. 1 hour. If you need more you will need a loop like:
Hi @Chalorme
Generally I do not recommend sleep due to resource consumption issues, in addition to taking up a place in the number of simultaneous recharges that can be performed.
If you still want to go that route, what @marcus_sommer says will work for you.
Instead of doing that, I would prefer to implement a small task that checks from time to time if the condition is already met, and if so, a chained task is triggered.
Also, I like it better that the external process that is consolidating data uses the Qlik Sense API to trigger a task
https://github.com/marcusspitzmiller/QlikSenseTask
Hope this helps.
best
help users find answers! Don't forget to mark a solution that worked for you & to smash the like button! 😊
If there is a publisher in place multiple triggers per application could be set which might be used to branch into various task-chains. But without a publisher a single trigger must fulfill all requirements which limits the possibilities quite significantly ...
True @marcus_sommer , but considering we are talking about Qlik sense client managed, you could make that task to fail if the condition it’s not fulfilled, and let it finish if it’s ok so it triggers the following task
this is an example, one task depending on a dummy task that will only execute if dummy execute successfully
I still like more the API Way, so you have another program that calls the Qlik Sense task once it’s ready.
Hope this helps.
Best,
help users find answers! Don't forget to mark a solution that worked for you & to smash the like button! 😊