Skip to content

Commit 75d0492

Browse files
committed
add create_request_id to child init event
1 parent 50cbefb commit 75d0492

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

openapi/openapiv2.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13835,6 +13835,10 @@
1383513835
"priority": {
1383613836
"$ref": "#/definitions/v1Priority",
1383713837
"title": "Priority metadata"
13838+
},
13839+
"createRequestId": {
13840+
"type": "string",
13841+
"description": "A unique identifier for the request to start this child workflow execution. This is used to\ndeduplicate requests to start a child workflow execution with the same workflow ID."
1383813842
}
1383913843
}
1384013844
},

openapi/openapiv3.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11086,6 +11086,11 @@ components:
1108611086
allOf:
1108711087
- $ref: '#/components/schemas/Priority'
1108811088
description: Priority metadata
11089+
createRequestId:
11090+
type: string
11091+
description: |-
11092+
A unique identifier for the request to start this child workflow execution. This is used to
11093+
deduplicate requests to start a child workflow execution with the same workflow ID.
1108911094
StartWorkflowExecutionRequest:
1109011095
type: object
1109111096
properties:

temporal/api/history/v1/message.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,9 @@ message StartChildWorkflowExecutionInitiatedEventAttributes {
665665
bool inherit_build_id = 19;
666666
// Priority metadata
667667
temporal.api.common.v1.Priority priority = 20;
668+
// A unique identifier for the request to start this child workflow execution. This is used to
669+
// deduplicate requests to start a child workflow execution with the same workflow ID.
670+
string create_request_id = 21;
668671
}
669672

670673
message StartChildWorkflowExecutionFailedEventAttributes {

0 commit comments

Comments
 (0)