blokboard/ Open beta

Node reference

Delete State

Remove saved workflow memory

CoreData

Delete State removes a saved key from this workflow on the current runtime.

Try it step by step

  1. Initialize lastBalance, then connect Delete State with Key set to lastBalance.
  2. Run and inspect deleted. Run initialization again to recreate the key with its initial value.

What to expect

Deleting an existing key reports deleted: true. Deleting an absent key reports false. Later references to the missing key return undefined.

Things to check

  • Use deletion before initialization when a new run must start with a fresh temporary batch.
  • Deleting State does not undo external work such as sending a transaction.

Keep learning

Parameters

SettingDefaultWhat it does
Key(empty)A name private to this workflow. Expressions can choose it dynamically.
Node name(empty)Custom display name. References and connections keep their existing identifiers.

Node name: Double-brace expressions are not resolved in this field.

Inputs

PortValueDescription
inanyTrigger that removes the configured workflow State key.

Outputs

PortValueDescription
outobjectThe key and whether it existed before deletion.

out fields

FieldTypeDescription
keystringWorkflow-scoped State key.
deletedbooleanWhether a stored value was removed.