# Expression Functions in script task

**URL:** <https://forum.flowable.org/t/expression-functions-in-script-task/6238>\
**Category:** Uncategorized\
**Created:** [June 18, 2020, 2:55am UTC](https://forum.flowable.org/t/expression-functions-in-script-task/6238 "2020-06-18T02:55:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![svijay](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@svijay](https://forum.flowable.org/u/svijay)\
**Post date:** [June 18, 2020, 2:55am UTC](https://forum.flowable.org/t/expression-functions-in-script-task/6238/1 "2020-06-18T02:55:36Z")

</div>

Hi,

Is it possible to use expression functions like variables:get(), variables:base64() etc that are added in 6.4 release in script task?

Methods like execution.getVariable(), execution.setVariable() are working in script task where as when i use variables:get() instead of execution.getVariable() that is not working and throwing error that expression is incorrect.

Is there a way that we can use expression functions in script task?

Regards,  
svijay

---

<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:22am UTC](https://forum.flowable.org/t/expression-functions-in-script-task/6238/2 "2020-06-28T09:22:57Z")

</div>

No, expression functions are possible in the expression language only.

A script task is executed by an independent interpreter (Groovy, javascript, etc.) and doesn’t have these functions.
