Key-Value Storage icon

Key-Value Storage

Key-Value Storage Getter and Setter

List All KeyValues in Scope

AI-generated

Overview

This node operation lists all key-value pairs stored within a specified scope in the key-value storage system. It is useful for retrieving all stored data entries in a particular context, such as execution, workflow, or instance scope. For example, it can be used to audit or debug stored data by fetching all keys and their corresponding values within the workflow scope.

Use Case Examples

  1. Retrieve all key-value pairs in the current workflow scope to monitor stored data during workflow execution.
  2. List all key-value pairs in the instance scope to get a global view of stored data across workflows.

Properties

Name Meaning
Scope Defines the scope from which to list all key-value pairs. Options include ALL Scopes, Execution Scope, Workflow Scope, and Instance Scope.

Output

JSON

  • key - The key of the stored item in the specified scope.
  • value - The value associated with the key in the specified scope.

Dependencies

  • The node depends on an internal key-value storage service to retrieve stored data.

Troubleshooting

  • If no key-value pairs are returned, verify that the specified scope contains stored data.
  • Ensure the correct scope is selected to avoid empty results.
  • Check that the executionId parameter is correctly set when using the Execution scope, as it uniquely identifies the execution context.

Discussion