Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Pavel_Kastner
Contributor II
Contributor II

QSB - Task Event Triggers

Hi Guys,

on QSE we're having a series of tasks running after midnight and waiting for each other (task event triggers). These tasks are storing QVDs. I need to create the same thing on Qlik Sense Cloud Business. Is it possible, or do you know any workaround to do this? I was not able to find this and don't believe this is not possible.

I also tried to create a workaround having each task storing status information into QVD and having all the tasks waiting in loops for preceding task to finish, but also without success (locked for read/write issues etc.).

Is there any possibility to start a task from a load script of another task or something similar?

Thanks for any ideas!

Pavel

Labels (3)
1 Solution

Accepted Solutions
msKarthikeyan
Employee
Employee

Hi Pavel,

Great. There are two API. First one is for initiating the reload job which will return with Queued Status. 

There is another API which u can use to retrieve the jobs status. The status be succeeded/ failed or running.

-Karthik 

View solution in original post

8 Replies
msKarthikeyan
Employee
Employee

Hi Pavel,

There are Reload API's which you can use for triggered the reload.

Regards,

Karthik 

Pavel_Kastner
Contributor II
Contributor II
Author

Hi Karthik,

thank you for the reply. I know the APIs exist but I believe these are available for the cloud editions of Qlik Sense Enterprise, not for QSB.

Regards,

Pavel 

msKarthikeyan
Employee
Employee

Hi Pavel,

 can you check?

tenanturl/console/api-keys/

i had a QSB trial version which had the  API options available. 

Regards,

Karthik 

Pavel_Kastner
Contributor II
Contributor II
Author

Hi Karthik,

i get an 403 error (Forbidden) when I try to access the attached link.

At the moment I have trial version of the QSE in Qlik cloud services available and I am experimenting with the API as you suggested. I am getting the "401 Authorization Required" error when trying to access the reloads API using Postman. I use this URL https:// tenantname .eu.qlikcloud.com/api/v1/reloads and the API Key as a Bearer sent in the Authorization Header.

Thanks for your help.

Regards

Pavel

johngouws
Partner - Specialist
Partner - Specialist

Hi, 

I have QSB and am scheduling the reloads in Administration > Management Console > Schedules. Unfortunately the schedule is very limited. I tried getting the API to work a while back, but unfortunately had to move on. 
I just tried the URL, with my tenant name, and received error  "401 Authorization Required". I would be very interested in getting this to work as well. 

Best - John

Pavel_Kastner
Contributor II
Contributor II
Author

Hi guys,

the good news is that I was able to get the Postman running with the reloads API. I have been using the API KEY ID (got it from the API Keys section in QMC) instead of the API Key itself (got it from the pop-up screen when generating new API Key). This might be John's issue as well, because it was the reason of the Authorizaton required response.

This time (trying to reload some test app) the POST request runs properly, but I get a response with status QUEUED. The app is reloaded, but I don't understand the response status.

Thanks for any ideas.

Pavel

 

msKarthikeyan
Employee
Employee

Hi Pavel,

Great. There are two API. First one is for initiating the reload job which will return with Queued Status. 

There is another API which u can use to retrieve the jobs status. The status be succeeded/ failed or running.

-Karthik 

msKarthikeyan
Employee
Employee

Adding on: 

The API is to get the reload job status is  /api/v1/reloads/" job_id". 

Job ID will be returned in response.links.self.href

-Karthik