Skip to main content

Suggest an Idea

Vote for your favorite Qlik product ideas and add your own suggestions.

Launch natively a task from script

simonaubert
Partner - Specialist II
Partner - Specialist II

Launch natively a task from script

Hello all,

Ok, I managed to launch a task from script by juggling with certificate and then creating a Rest connection and all that stuff. Frankly, it's hard and time-consumin. I think this kind of thing should be native, and useable without any effort. This is not a big stuff to develop and that would change life.

Something easy to use like "Launch_Task(Task_Id)" maybe also with task name

image.png
Best regards,

Simon

Bi Consultant (Dataviz & Dataprep) @ Business & Decision
Tags (2)
6 Comments
Henri_Rufin
Luminary
Luminary

I couldn’t agree more. I am looking for a workaround and I would be very interested in your solution in the meantime. But definitely a function for that would be great.

Ian_Crosland
Employee
Employee
 
Status changed to: Open - Collecting Feedback
mountaindude
Partner Ambassador
Partner Ambassador

Agree 100%.

Same thing for partial reloads - would be very nice having it as an option for reload tasks and also from load script.

Lacking these features in Sense itself I added them to the open source (free!) Butler tool.

I know, I know - you trade one challenge for another - you have to get Butler running instead of messing around with the REST connector calls. Your options are Docker, as a Windows service, Linux, mac OS, Raspberry Pi, Kubernetes and probably a few other platforms.

Still it's not that hard and what you get is the ability to start a task (video showing this here) . 

 

 

Call StartTask('fbf645f0-0c92-40a4-af9a-6e3eb1d3c35c')

 

 

 

or do a partial reload of an app (video showing this here) .

 

 

Call ReloadSenseApp('060b33f1-a291-40aa-87e2-9fd89d63f5cf', 'true', 0, '["e3b27f50-b1c0-4879-88fc-c7cdd9c1cf3e","7552d9fc-d1bb-4975-9a38-18357de531ea"]', '["fb0f317d-da91-4b86-aafa-0174ae1e8c8f", "fa93345c-f7a3-4f43-ab24-4da4245e16e8"]')

 

 

The last couple parameters are used to tell Butler which tasks to start after the app has reloaded or failed reloading, respectively.

Extra bonus is that you also get a bunch of other APIs with helper Subs for things like copy/move/delete files in a controlled way, cron-based task scheduling, really good reload failure alerting and more.
So it's not such a bad option.

 

Oh yes - I am the creator of Butler. In case that wasn't clear.  🤓

 

mountaindude
Partner Ambassador
Partner Ambassador

Ping @Henri_Rufin in case you're still looking for a solution for this.

Or maybe @Ian_Crosland will bring us a magic in-product solution... please...?

Meghann_MacDonald

From now on, please track this idea from the Ideation portal. 

Link to new idea

Meghann

NOTE: Upon clicking this link 2 tabs may open - please feel free to close the one with a login page. If you only see 1 tab with the login page, please try clicking this link first: Authenticate me! then try the link above again. Ensure pop-up blocker is off.

Ideation
Explorer II
Explorer II
 
Status changed to: Closed - Archived