Function: workflowEventRunId()
@kortexya/reasoninglayer / workflowEventRunId
Function: workflowEventRunId()
Section titled “Function: workflowEventRunId()”workflowEventRunId(
identity):Promise<string>
Defined in: src/workflow-event-identity.ts:31
Resolve the stable native receipt address for an unconfirmed delivery.
Parameters
Section titled “Parameters”identity
Section titled “identity”The same actor, project, procedure and event as the original request.
Returns
Section titled “Returns”Promise<string>
The native UUIDv5 run id, suitable for client.workflows.getRun.
Throws
Section titled “Throws”When an identity field is invalid or Web Crypto is unavailable.
Remarks
Section titled “Remarks”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.
Example
Section titled “Example”`const receipt = await client.workflows.getRun(await workflowEventRunId(identity));`