Skip to content

Function: workflowEventRunId()

@kortexya/reasoninglayer


@kortexya/reasoninglayer / workflowEventRunId

workflowEventRunId(identity): Promise<string>

Defined in: src/workflow-event-identity.ts:31

Resolve the stable native receipt address for an unconfirmed delivery.

WorkflowEventIdentity

The same actor, project, procedure and event as the original request.

Promise<string>

The native UUIDv5 run id, suitable for client.workflows.getRun.

When an identity field is invalid or Web Crypto is unavailable.

Implements the native workflow-start-v1 / workflow-capture-v1 wire identity with RFC 4122 UUIDv5. It creates no run and never bypasses the native receipt owner check.

`const receipt = await client.workflows.getRun(await workflowEventRunId(identity));`