interface ResolveEscalationParams {
    id: string;
    metadata?: Record<string, unknown>;
    namespace?: string;
    resolverPayload?: Record<string, unknown>;
}

Properties

id: string
metadata?: Record<string, unknown>

Merged (not replaced) into the resolved row's metadata in the same atomic UPDATE — and only on the winning resolve. Records "what actually happened" into the GIN-indexed (@>-queryable) surface alongside the creation metadata. Distinct from resolverPayload, which is delivered to the waiting workflow as condition()'s return value and is not GIN-indexed.

namespace?: string
resolverPayload?: Record<string, unknown>