# Unknown expression

**URL:** <https://forum.flowable.org/t/unknown-expression/6262>\
**Category:** Flowable Application\
**Created:** [June 22, 2020, 1:32pm UTC](https://forum.flowable.org/t/unknown-expression/6262 "2020-06-22T13:32:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayrshid99](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/ayrshid99/32/1424_2.png) [@ayrshid99](https://forum.flowable.org/u/ayrshid99)\
**Post date:** [June 22, 2020, 1:32pm UTC](https://forum.flowable.org/t/unknown-expression/6262/1 "2020-06-22T13:32:17Z")

</div>

Hi  
I have spring boot application and flowable-task application running. i am trying to execute task listener on task complete event but i am getting the error mentioned below .i have bean defined in spring-boot application and in task application properties file i have

> flowable.async-executor-activate=false

if I register the task listener on create event instead of a complete event it works perfectly fine.

org.flowable.common.engine.api.FlowableException: Exception while invoking TaskListener: Unknown property used in expression: ${taskListener}

---

<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 28, 2020, 9:42am UTC](https://forum.flowable.org/t/unknown-expression/6262/2 "2020-06-28T09:42:26Z")

</div>

> [@ayrshid99](#):
>
> taskListener

You are referencing a spring bean that isn’t registered. Can you share how you’ve configured this task listener?

---

<div class="post-metadata">

**Author:** ![ayrshid99](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/ayrshid99/32/1424_2.png) [@ayrshid99](https://forum.flowable.org/u/ayrshid99)\
**Post date:** [July 1, 2020, 2:52am UTC](https://forum.flowable.org/t/unknown-expression/6262/3 "2020-07-01T02:52:20Z")

</div>

thanks for the response

the bean is in my spring boot application.if I register the tasklistener bean on create event instead of a complete event it works perfectly fine.

---

<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:** [July 6, 2020, 11:34am UTC](https://forum.flowable.org/t/unknown-expression/6262/4 "2020-07-06T11:34:08Z")

</div>

Can you share the xml of your process, so we can try to reproduce?
