Have had no problems in most of my usages, but for my current project I have two connections that sit inside my NPrinting app and both are needed in the report output.
When i run the script, only one of the connections refreshes before publish job gets triggered. I do not have much knowledge on API's within Qlik, is it possible to refresh ALL connections associated with an app before running publish task?
all what you will need to do is to configure variables and call it like:
Drop Table cookie_items;
// Get App
Drop Table apps_items;
// Get and Reload All Connections
// Get Task
Call NP_GetTasks('here put task name')
// Trigger Tasks
once configured it is super easy to maintain various scenarios with reloads and you have a lot more parameters you can control
On the other hand - why do you need to reload connection metadata when you using Qlik Sense? With Qlik Sense it is not required at all unless you are doing development changes in your model.
cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.