Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -18794,6 +18794,10 @@
"type": "string",
"description": "The run id of the workflow that was started - or just signaled, if it was already running."
},
"firstExecutionRunId": {
"type": "string",
"description": "If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain."
},
"started": {
"type": "boolean",
"description": "If true, a new workflow was started."
Expand Down Expand Up @@ -18982,6 +18986,10 @@
"type": "string",
"description": "The run id of the workflow that was started - or used (via WorkflowIdConflictPolicy USE_EXISTING)."
},
"firstExecutionRunId": {
"type": "string",
"description": "If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain."
},
"started": {
"type": "boolean",
"description": "If true, a new workflow was started."
Expand Down
6 changes: 6 additions & 0 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16133,6 +16133,9 @@ components:
runId:
type: string
description: The run id of the workflow that was started - or just signaled, if it was already running.
firstExecutionRunId:
type: string
description: If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
started:
type: boolean
description: If true, a new workflow was started.
Expand Down Expand Up @@ -16757,6 +16760,9 @@ components:
runId:
type: string
description: The run id of the workflow that was started - or used (via WorkflowIdConflictPolicy USE_EXISTING).
firstExecutionRunId:
type: string
description: If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
started:
type: boolean
description: If true, a new workflow was started.
Expand Down
1 change: 1 addition & 0 deletions temporal/api/errordetails/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ message NotFoundFailure {
message WorkflowExecutionAlreadyStartedFailure {
string start_request_id = 1;
string run_id = 2;
string first_execution_run_id = 3;
}

message NamespaceNotActiveFailure {
Expand Down
4 changes: 4 additions & 0 deletions temporal/api/workflowservice/v1/request_response.proto
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ message StartWorkflowExecutionRequest {
message StartWorkflowExecutionResponse {
// The run id of the workflow that was started - or used (via WorkflowIdConflictPolicy USE_EXISTING).
string run_id = 1;
// If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
string first_execution_run_id = 6;
// If true, a new workflow was started.
bool started = 3;
// Current execution status of the workflow. Typically remains WORKFLOW_EXECUTION_STATUS_RUNNING
Expand Down Expand Up @@ -901,6 +903,8 @@ message SignalWithStartWorkflowExecutionRequest {
message SignalWithStartWorkflowExecutionResponse {
// The run id of the workflow that was started - or just signaled, if it was already running.
string run_id = 1;
// If the workflow was started as a result of a de-dupe, this field will contain the run id of the first execution in the chain.
string first_execution_run_id = 4;
// If true, a new workflow was started.
bool started = 2;
// Link to be associated with the WorkflowExecutionSignaled event.
Expand Down
Loading