# How to access form properties in Mail task?

**URL:** <https://forum.flowable.org/t/how-to-access-form-properties-in-mail-task/1630>\
**Category:** Flowable Application\
**Created:** [February 11, 2018, 7:03pm UTC](https://forum.flowable.org/t/how-to-access-form-properties-in-mail-task/1630 "2018-02-11T19:03:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirby900](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@kirby900](https://forum.flowable.org/u/kirby900)\
**Post date:** [February 11, 2018, 7:03pm UTC](https://forum.flowable.org/t/how-to-access-form-properties-in-mail-task/1630/1 "2018-02-11T19:03:48Z")

</div>

I’m working on my first process with Flowable UI apps. I created a user task with a form to collect a couple details from the user, followed by a Mail task to send an email to someone. In the Mail task property Text, I put some static text and a couple references, ${name} and ${message}, to properties from the form. Running the process generates the following error in the Tomcat log:

11:38:30,816 [http-bio-8080-exec-8] ERROR org.flowable.rest.exception.BaseExceptionHandlerAdvice - Unhandled exception org.flowable.engine.common.api.FlowableException: Unknown property used in expression: Simple, plain text message. Nothing much to see here.  
From = ${from}  
Message = ${message}  
at org.flowable.engine.common.impl.el.JuelExpression.getValue(JuelExpression.java:50)  
…

What am I doing wrong?

---

<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:** [February 12, 2018, 3:00pm UTC](https://forum.flowable.org/t/how-to-access-form-properties-in-mail-task/1630/2 "2018-02-12T15:00:57Z")

</div>

Can you paste the xml of the mail task?  
Did you verify the ids of the form properties are exactly the same as used in the expression?

---

<div class="post-metadata">

**Author:** ![kirby900](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@kirby900](https://forum.flowable.org/u/kirby900)\
**Post date:** [February 12, 2018, 4:46pm UTC](https://forum.flowable.org/t/how-to-access-form-properties-in-mail-task/1630/3 "2018-02-12T16:46:14Z")

</div>

Joram, thanks for asking the questions. I _thought_ the IDs in the email body matched the form property IDs, but one reference was wrong. I corrected the bad ID and now all is well!
