Using Scripts in Expressions
It is possible to call a script from an expression by inserting a reference to the execute function of the Script context. Function parameters specified in the reference will be passed to the script. The Execute Script function returns a value that may be referred from the other parts of expression.
![]() | Example. Here is the expression referring calculator script and passing some input to it:
The script will receive three strings "123", "456" and "789" as an input (see specifying context function input parameters in the reference for details). It may convert these strings to numbers, perform necessary calculations on them and return the result. |
Was this page helpful?