Key-Value Storage icon

Key-Value Storage

Key-Value Storage Getter and Setter

List All Keys in Scope

AI-generated

Overview

This node operation lists all keys stored within a specified scope in the key-value storage system. It is useful for scenarios where you need to retrieve all stored keys for inspection, management, or further processing within a particular context, such as execution, workflow, or instance scope.

Use Case Examples

  1. Listing all keys in the current workflow scope to audit stored data.
  2. Retrieving all keys in the execution scope to debug or analyze execution-specific data.

Properties

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

Output

JSON

  • keys - An array of all keys found within the specified scope.

Dependencies

  • Requires access to the key-value storage service to retrieve keys.

Troubleshooting

  • Ensure the correct scope is selected; using an incorrect scope may result in empty or unexpected key lists.
  • For Execution Scope, the executionId must be correctly provided; otherwise, keys may not be found.
  • If no keys are stored in the selected scope, the output will be an empty array.

Discussion