Skip to content

digestForLiveFlow

function digestForLiveFlow(flow): Promise<string>;

Digest of a live Flow for pinning onto a run.

Rehydrated flows (origin: 'definition') hash their stashed definition via flowDigest. A definition-origin Flow with no stash is corrupted — throw, do not silently fall back. Code-authored flows use the stable marker code:<flow.name>: they change only with a deploy, and the digest guard is about STORED redefinition (addDynamicFlows replace / catalog publish).

sha256 is computed once per Flow object.

Parameter Type

flow

Flow

Promise<string>