# Do we have Event Listeners for HTTP Task

**URL:** <https://forum.flowable.org/t/do-we-have-event-listeners-for-http-task/6123>\
**Category:** Flowable Engine\
**Created:** [June 1, 2020, 5:08pm UTC](https://forum.flowable.org/t/do-we-have-event-listeners-for-http-task/6123 "2020-06-01T17:08:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MAGICBEANSS](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/magicbeanss/32/1926_2.png) [@MAGICBEANSS](https://forum.flowable.org/u/MAGICBEANSS)\
**Post date:** [June 1, 2020, 5:08pm UTC](https://forum.flowable.org/t/do-we-have-event-listeners-for-http-task/6123/1 "2020-06-01T17:08:30Z")

</div>

The modeler says so ,but when I implemented

```
@Override
  public void notify(DelegateExecution execution) {
    log.info("execution going on ");
    String response = (String)execution.getVariable("response");
    String executionEventName = (String) eventName.getValue(execution);
    log.info("executionEventName {}",executionEventName);
    Map<String, Object> vars = Context.getProcessEngineConfiguration().getRuntimeService().getVariables(execution.getId());
    log.info("vars {}",vars);
  }
}

```

The flow never comes to the above , code .  
I am firing on start and end events.

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [June 3, 2020, 10:23am UTC](https://forum.flowable.org/t/do-we-have-event-listeners-for-http-task/6123/2 "2020-06-03T10:23:51Z")

</div>

Can you provide complete jUnit test?

---

<div class="post-metadata">

**Author:** ![MAGICBEANSS](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/magicbeanss/32/1926_2.png) [@MAGICBEANSS](https://forum.flowable.org/u/MAGICBEANSS)\
**Post date:** [June 4, 2020, 8:20am UTC](https://forum.flowable.org/t/do-we-have-event-listeners-for-http-task/6123/3 "2020-06-04T08:20:35Z")

</div>

I have not written any JUNIT Test for it.I have an http task in my process model, with Event Listener configured.My http task is fetching the response , and it proceeds to DMN for further action, But It never hits Execution listener.

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [June 11, 2020, 5:31pm UTC](https://forum.flowable.org/t/do-we-have-event-listeners-for-http-task/6123/4 "2020-06-11T17:31:47Z")

</div>

if you want us to have a look at it (and fix it), a process xml/unit test would speed up things.
