Skip to main content

Class: WorkflowAlreadyStartedError

A start found an open run with the same workflow id (idConflictPolicy: FAIL) or a refused closed one.

Extends​

  • Error

Constructors​

Constructor​

new WorkflowAlreadyStartedError(workflowKey, workflowId, existingRunId): WorkflowAlreadyStartedError

Parameters​

workflowKey​

string

workflowId​

string

existingRunId​

string

Returns​

WorkflowAlreadyStartedError

Overrides​

Error.constructor

Properties​

cause?​

optional cause?: unknown

Inherited from​

Error.cause


existingRunId​

readonly existingRunId: string


message​

message: string

Inherited from​

Error.message


name​

name: string

Inherited from​

Error.name


stack?​

optional stack?: string

Inherited from​

Error.stack


workflowId​

readonly workflowId: string


workflowKey​

readonly workflowKey: string