Code


Stuff You Need to Know

This component executes JavaScript code that you write. Note that it executes whatever is entered and doesn't contain any security measures or scoping. Please use with care, for your own safety.

// 'value' is an {Object} that contains received data
// 'send(outputIndex, newValue) sends 'newValue' to the output at 'outputIndex'
// 'send can be used multiple times
// 'error(value)' sends an error
// 'instance' is an {Object} that represents the current component instance
// 'flowdata' is an {Object} that contains current flowdata
// 'repository' is an {Object} that contains a current repository of flowdata
// Example:

send(0, value);

How to Configure

Component-specific settings:
  • Number of outputs (spinner) - Select your number of outputs. The minimal number is 1.
  • Code (field) - Enter your JavaScript code here.

Standard settings:

Click here to view information on standard settings.