Expression Functions in script task


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?


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.