Blocks
Controls
Execute JavaScript

This block allows to you execute javascript code.

You can specify parameters using :

// first argument is the name and second one its type
voltapp.getParam('paramName', 'text');

And return values using :

// first argument is the name and second one its type and third the value
voltapp.setReturn('return', 'text', result);