中文
Node Documentation

State metadata

DataTarget independentstate.metadata

Read a state slot revision and last-change time without exposing an untyped value.

Example use

Read a state revision and modification time to detect changes during observation.

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 2

RevisionrevisionInteger

Revision incremented after each successful change.

  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
Last changedchanged-atInteger

Unix millisecond time of the last change.

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

Version 1.0.0

sha256:9864293564213e6735548f1b17d004091cba9edc553ff02a20a9beb52495b2ed