Discussion board where members can learn more about Qlik Sense App Development and Usage.
thanks for the information.. not sure if that gives me an idea on how to set it.
the way I look at it is I have a batch file and need to run that file from QlikSense then load an app once the external task complete running the batch file..
If you need to fire the API REST call from a batch file you want to find out a way to make a GET HTTP call. You have a variety of options. The first on the top of my head is using curl (it's part of a standard UNIX distribution, but you have to install it on a Windows os). A Python script is another option.
What exactly do you mean with "run a batch from Qlik Sense"? During the script load or on-demand from the Qlik Sense app?
no. I am looking to replicate the option available on QlikView QMC where you can create supporting tasks.
the supporting task can be a batch file to do something on a server such as moving file from one place to another or it could be a Power Shell script to download some files from web.. etc.
in QlikView QMC there is an option to create external task and trigger this external batch file to run on a set schedule then have a dashboard task dependent on it.
As far as I understood you need to create a mixed chain tasks which include general purpose as well as data reload tasks. Qlik Sense schedule service (QSS) can create and trigger two type of tasks (reload data and sync users). An option to have a mixed tasks chain is to use an external scheduler (eg. Windows default AT) to trigger any kind of task you need, including Qlik Sense data reload tasks
The solution is not to handle an external task in Qlik Sense Scheduler, but on the contrary handle Qlik Sense Task (and of course all other tasks) on an external scheduler.
You can reload a task calling this API (http://help.qlik.com/en-US/sense-developer/3.2/Subsystems/RepositoryServiceAPI/Content/RepositorySer...)
Or you can trigger a task calling this API (Task: Start asynchronous ‒ Qlik Sense)
But it is duplicating the existing functionality. Let say I want to trigger the external task for 5 different applications I don't want to trigger the tasks from API for all the 5 applications.
Let's say, you have a simple task (just an app to reload) or a more complex one (a number of apps chained all togheder in a dense network of dependencies). You define your task in the Qlik Sense scheduler, using the Qlik functionality. You just don't need to set starting time, because you'll "trigger" the start of the chain with a simple API call (in your case the syncronus version) and let's some other schedulr (eg. on borded AT) do it for you. After the execution AT can start some other tasks.
I can't see the duplication of functionality.