Skip to content

Define


Utility

Define is a widget flow node that allows you to create or modify context values.

Description

The Define node enables you to set custom context values that can be used throughout your widget flow. This is useful for creating variables, setting default values, or transforming data for use in subsequent nodes.

Configuration

The configuration consists of a list of key-value pairs that define context values.

Key

Key – the name of the context value to define. This will be the name used to reference the value in subsequent nodes.

Value

Value – the value to assign to the context value. You can use context values in the value to reference existing data or perform calculations.

TIP

You can use the Define node to create computed values, set default values, or transform (or rename) data from previous nodes into a more convenient format.

Limitations

NameValue
Max fields100
Max key input length32 characters
Max value input length1024 characters
Max compiled value lengthUnlimited
InputsExactly one
OutputsExactly one

Context values

This widget flow node doesn't provide any context values directly, but the defined keys become available as context values for subsequent nodes in the flow.