Skip to content

Constant

The Constant operation outputs a single, fixed value of a configurable type. It has no inputs and is not a trigger — it simply provides a static value that downstream operations can consume when they execute.

Constant operation

Inputs

This operation has no inputs.

Outputs

PortTypeDefaultDescription
OutString, Integer, Float, Boolean, or Nil(per type)The configured constant value. Type follows the Const type picker (Property-driven).
SlotNameStringThe name of the slot running this operation.

Properties

NameTypeDefaultDescription
Const typeStackedDataSetString ValueData type and value of the output. Sub-types:
 String ValueString""A text string.
 Integer ValueInteger0A signed 32-bit integer.
 Number ValueNumber (Double)0A floating-point number.
 Boolean ValueBooleantruetrue or false.

This Operation can never err: it has no Input to check and no completion that can fail, so its Node carries no On Error verb.

State on Reload

No state is preserved. The output is always determined by the configured properties.


  1. Read properties — The operation reads its Const type and the corresponding value.

  2. Set output — The configured value is exposed on the Out output as the appropriate MessagePack type. The SlotName output provides the name of the slot in which the operation is running.


Const type: Integer Value   Value: 42

Output (Out): 42


  • Providing fixed configuration parameters (thresholds, labels, flags)
  • Injecting test data into a workflow
  • Supplying default values for optional inputs of other operations

  • Outputs a single, fixed value. For dynamic or computed values, use other operations.
  • The Nil type is also available as a Const type option, producing an implicit Nil output.