Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Alaaeddin
Contributor
Contributor

Task status alert by API

Hi everybody, 

I got many tasks to supervise remotely, so, I want to create an alert in every task to be notified by API (POST method) about the task status when it finished. 
Is there any way to create this alert, if yes, how can I do that and where exaclty ? 
If no, I need your opinion about the best way to be notified by the task.

Regards, 
Alaaeddin

#task #alert #api #taskStatus 

Labels (5)
2 Replies
mountaindude
Partner Ambassador
Partner Ambassador

Are you looking at client-managed Qlik Sense or the Qlik Sense Cloud?

 

For client-managed there is nothing available out of the box.
Which is why I created the open source tool Butler.

It does almost what you ask for (and much more) via its webhooks feature.
Basically, you can define outgoing GET/PUT/POST webhooks that fire when a reload task fails or is aborted (or a Windows service is stopped, or when Sense license is about to expire, ..).
It does not send webhooks when reload tasks complete successfully, but that's pretty easy to add if needed. In fact, might just be coming in a near future release..

Right now Butler detects successful reload tasks and stores that information in its InfluxDB database, for viewing in Grafana etc. You *could* forward the event from Grafana to your system, but that would be a rather clunky solution.

Docs about failed reload alerts here
Docs about storing successful reload info in InfluxDB here

The beauty of Butler's solution is that you also get a bunch of metadata included in the webhook (or email or Slack/Teams message or MQTT message or...)  about the app that failed/aborted/completed, which is often useful.

 

If you are using Qlik Sense Cloud you can for sure define webhooks that fire when an app reload  fails.
Don't remember at top of my head if you can also define such webhooks that fire when a reload completes successfully. 

 

Please mark the post as a solution if it provided you with a solution to the topic at hand. Thanks!
PrashantSangle

Qlik have one more product for it

for On prem - Qlik Alerting https://help.qlik.com/en-US/alerting/July2023/Content/QlikAlerting/system-alerts.htm

for Cloud - this provision already there

 

Regards,

Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂