Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
jheasley
Luminary Alumni
Luminary Alumni

Trigger Automation for Specific Apps

Is it possible to have the "App Data Updated" or "App Reload Finished" webhook triggers listen for a specific app or apps? I am having trouble figuring out how to make an automation that does this:

When App 123 is Updated, take action XYZ

what is happening is - When ANY App is updated, take action XYZ.  

Due to rate limiting, I don't want the Automation to be triggered constantly, since one of the actions in XYZ is to reload a different app.

Qlik Application Automation 

10 Replies
abhijitnalekar
Specialist II
Specialist II

Hi @jheasley ,

 

If you want to trigger an application app2 to be a trigger for reloaded after app1 gets reloaded successfully. then it is easily can be done from QMC scheduling the task.

go to QMC --> task create the trigger select action--> create a new task event trigger-->add Task -->Task Successful--> application Name.

 

Still, external Events are not available in Qliksense. But in our environment, we have managed it through SQL table. If you need a code let me know.

 

 

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
Vincenzo_Esposito

1 - In the "Do Reload" select Run Mode : Wait for reload to complete

2 - Add a condition block on the "Do Reload > Status"

 

 

Schermata 2021-09-29 alle 14.10.40.png

 

Vincenzo_Esposito

@Adhijitnalekar

Your solution works on Qlik Sense Client Managed version, it doesn't for the SaaS version

PietMichielRappelet
Former Employee
Former Employee

@jheasley  good question and we are working on a solution that will have the option to specify an item id (e.g. app id) as input for the webhook. This is currently not possible, so you'll need to include a 'if' block as the first block after the start that checks if the webhook received is from the desired app. 

you can find an example in this article - section 'async approach': 

 https://community.qlik.com/t5/Knowledge/Slack-Send-notifications-based-on-app-successful-or-failed/t...

PietMichielRappelet_0-1632921534593.png

 

 

hope this helps

jheasley
Luminary Alumni
Luminary Alumni
Author

You're talking about standard task scheduling, not Qlik Application Automation. 

jheasley
Luminary Alumni
Luminary Alumni
Author

that is a helpful, albeit disappointing answer. It seems VERY shortsighted to have the Reload or Update trigger be fired off anytime an update or reload occurs.  If the solution is in development, filtering the listener to a single app or space would both be good add ons, but app is more important. 

is there any projected timeline or roadmap for enhancing triggering to make it more robust?

Carl_Hunter
Partner Ambassador
Partner Ambassador

I have just been looking for this functionality. My usecase is, when Qlik Data Transfer reloads, I have a dependent Qlik app which reloads in SaaS. I want to do a series of reloads etc once the dependent app is finished reloading. The only way I can figure this out is to have a webhook trigger on app reloaded and check for a particular appid - not ideal. 

Bjorn_Wedbratt
Former Employee
Former Employee

Hi @jheasley

För the statement " When App 123 is Updated, take action XYZ* one could create an automation with a triggered webhook and simply call the automations webhook url using Qlik REST connector in the script.

Maybe not "the" solution but should be doable.

Best, Björn

Madolfsson
Employee
Employee

You can call an automation to run in the load script. So it will only trigger when the specific app is reloaded.