# Storage Question Decide

Question Decide in the current workflow workspace and configured namespace.

Canonical URL: https://opennodeflow.dev/wiki/reference-app-storage-storage-operation-question-decide/
JSON reference: https://opennodeflow.dev/wiki/reference-app-storage-storage-operation-question-decide/index.json
Source snapshot: 2026-10-23

## Storage Question Decide

Calls the durable storage operation `question.decide`. Set required **namespace** in node configuration. The workspace is always the executing workflow's workspace; a request cannot select another workspace.

Wire **Storage Question Decide Request Encode** into required `request`. Required `result` uses **Storage Decision**; use its Decode to extract fields. `exec`/`next` are control sockets. A successful request emits next; errors fail the node.

This operation changes encrypted durable state. Expected versions reject stale writes; never retry an uncertain external action by guessing.

Records and conversations use exact expectedVersion (0 creates a missing key). Questions enforce expiration, identity, correlation, actor policy and option IDs; deciding atomically records selection and enqueues work. Queue workers claim, mark start before external work, then acknowledge or fail with the current lease token and version. An ambiguous external outcome requires explicit recovery; recovery needs a reason. Scope clear requires exact workspace and namespace confirmation. No built-in business action or external model call is performed.

Library tests use isolated ephemeral storage and never the installed persistent namespace. JSON bodies are bounded and encrypted at rest. Do not log payloads, history, tokens or credentials.

## Catalog identity

| Field | Value |
| --- | --- |
| Source key | `app.storage.storage.operation.question.decide` |
| Kind | node |
| Family | app-storage |
| Pack | See library discovery |

[Integration guide](/wiki/storage/) · [Browse the catalog](/wiki/integration-catalog/)

## Inputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `exec` | Exec | control | No |  |
| `request` | Request | storage.type.question-decide-request v1 | Yes |  |

## Outputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `next` | Next | control | No |  |
| `result` | Result | storage.type.decision v1 | Yes |  |

## Configuration schema


```json
{
  "type": "object",
  "properties": {
    "namespace": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "title": "Namespace"
    }
  },
  "required": [
    "namespace"
  ],
  "additionalProperties": false
}
```





## Source and installed versions

This reference describes the maintained source catalog snapshot, not a live export of your installation. Published definitions use immutable versions; installed graphs retain their exact pins. Discover and read the installed definition and selected version before wiring it. See [versioning](/wiki/versioning/), [connections](/wiki/connections/) and [integration setup](/wiki/integration-setup/).

---

## Documentation provenance

- `../OpenNodeFlow-Library/work/catalog-all.mjs`
- `../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs`
- `shared/seed.ts`
- `shared/storage-library.ts`
- `shared/variable-library.ts`
- `shared/control-flow.ts`
- `shared/remote-routes.ts`
- `server/runtime-library.ts`
- `shared/error-library.ts`
- `shared/storage-model.ts`
- `shared/builtin-documentation.ts`

This page describes maintained source, not a live inventory or an authorization to perform actions.
