# Global jobflow event listeners

**URL:** https://forum.cloverdx.com/t/global-jobflow-event-listeners/1329
**Category:** CloverDX Platform
**Created:** [January 16, 2014, 12:00am UTC](https://forum.cloverdx.com/t/global-jobflow-event-listeners/1329 "2014-01-16T00:00:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nct2013](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nct2013](https://forum.cloverdx.com/u/nct2013)
#### Post date: [January 16, 2014, 12:00am UTC](https://forum.cloverdx.com/t/global-jobflow-event-listeners/1329/1 "2014-01-16T00:00:00Z")

</div>

I want to be emailed when any CloverETL job fails or enters some other problematic states.

I see that I can configure jobflow event listeners to send alert emails when a job fails, but it appears to require a specific job to alert on.

Is there a way to set a jobflow event listener that automatically applies to all jobs?

I noticed there is a “Universal Event Listener” tab, but the form looks intimidating, requiring some Groovy code and whatnot.

---

<div class="post-metadata">

### Author: ![novakj](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@novakj](https://forum.cloverdx.com/u/novakj)
#### Post date: [January 20, 2014, 1:04pm UTC](https://forum.cloverdx.com/t/global-jobflow-event-listeners/1329/2 "2014-01-20T13:04:59Z")

</div>

Hello,

If you do not want to set event listener to every jobflow (in case you have many jobflows or you often create new jobflows), you can create graph which can check results of your jobflows. In your graph you can use server’s HTTP API, which has operation named **executions\_history**. By this way you can get details about your execution history and you can react when any jobflow fails (send email). This graph can be started repeatedly on the server by Scheduling.

For more details about HTTP API of CloverETL Server, please see documentation here:  
[http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.server.docs/docs/simple-http-api.html](http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.server.docs/docs/simple-http-api.html)

---

<div class="post-metadata">

### Author: ![nct2013](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nct2013](https://forum.cloverdx.com/u/nct2013)
#### Post date: [January 20, 2014, 5:20pm UTC](https://forum.cloverdx.com/t/global-jobflow-event-listeners/1329/3 "2014-01-20T17:20:46Z")

</div>

I _do_ want the event listener to capture failures for any jobflow.

I want to know if there is a way to do that simply via the web interface, without writing code.

---

<div class="post-metadata">

### Author: ![imriskal](https://avatars.discourse-cdn.com/v4/letter/i/b38774/32.png) [@imriskal](https://forum.cloverdx.com/u/imriskal)
#### Post date: [January 21, 2014, 12:16pm UTC](https://forum.cloverdx.com/t/global-jobflow-event-listeners/1329/4 "2014-01-21T12:16:40Z")

</div>

Hi,

If you leave Job file field empty and set only a sandbox, the listener works for all graphs or jobflows within the sandbox. You can see this functionality used e.g. here: [http://doc.cloveretl.com/documentation/ … ut-failure](http://doc.cloveretl.com/documentation/UserGuide/topic/com.cloveretl.server.docs/docs/use-cases.html#notification-about-failure)

Kind regards,

---

<div class="post-metadata">

### Author: ![nct2013](https://avatars.discourse-cdn.com/v4/letter/n/58956e/32.png) [@nct2013](https://forum.cloverdx.com/u/nct2013)
#### Post date: [January 21, 2014, 9:35pm UTC](https://forum.cloverdx.com/t/global-jobflow-event-listeners/1329/5 "2014-01-21T21:35:11Z")

</div>

Ah, that’s great! Thank you.
