中文
Node Documentation

Read state

DataTarget independentstate.read

Read the current value of a typed Run-local state slot. This is a recorded data effect with no control-flow output.

Example use

Select a workflow state variable and connect its current value to a data input.

Node preview

Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.

This preview uses an integer variable named example with initial value 0. Select your own workflow variable when using the node.

Loading node preview…

This node has dynamic parameters or ports. The reference below describes the initial example; after editing, inspect the preview for the current ports.

Configuration 1

Workflow state variablevariablestate-variable

Select one explicitly declared typed state slot from this Workflow.

RequiredDefault: None
  • Minimum characters: 1
  • Maximum characters: 128
  • Pattern: ^[A-Za-z0-9_][A-Za-z0-9._-]*$

Data outputs 1

Current valueresultInteger

Current value with the exact state type.

  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
Version and node identity

Version 1.0.0

sha256:4c97571757d8e3145fe15aec00412731707ceb289bc37eb7db52a805fea30bbf