JavaScript
Run JavaScript Code
Runs the specified JavaScript code. If successful, it triggers the output object which holds the value returned by the custom code; otherwise triggers errors.
Title | Title |
---|
Multi input | ✔️ |
Multi output | ❌ |
No fixed input link points, all inputs are dynamic.
Output link points
Name | Type | Description |
---|
output | value | Output object(s) |
errors | list | Errors occurred during node execution |
Parameters
Name | Type | Description |
---|
JavaScript code | required | The JavaScript code to execute in a sandboxed environment. Return either a JSON object or an array of objects. If nothing returned, an empty JSON object will be returned as output. |
Return value model definition | required | The model definition of the code execution return value. |
Return value model | required | The model of the code execution return value. |
Return value model type | required | The JS code execution return value object model type.. |
Error management | required | Error handler type of processing errors raised by this node, either automatically or manually. |