Skip to content

Commit 47fdfcd

Browse files
committed
add start delay to StartActivityExecutionRequest
1 parent 0460021 commit 47fdfcd

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

openapi/openapiv2.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10470,6 +10470,10 @@
1047010470
"onConflictOptions": {
1047110471
"$ref": "#/definitions/apiCommonV1OnConflictOptions",
1047210472
"description": "Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING."
10473+
},
10474+
"startDelay": {
10475+
"type": "string",
10476+
"description": "Time to wait before dispatching the activity."
1047310477
}
1047410478
}
1047510479
},

openapi/openapiv3.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14375,6 +14375,10 @@ components:
1437514375
allOf:
1437614376
- $ref: '#/components/schemas/OnConflictOptions'
1437714377
description: Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
14378+
startDelay:
14379+
pattern: ^-?(?:0|[1-9][0-9]{0,11})(?:\.[0-9]{1,9})?s$
14380+
type: string
14381+
description: Time to wait before dispatching the activity.
1437814382
StartActivityExecutionResponse:
1437914383
type: object
1438014384
properties:

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3000,6 +3000,8 @@ message StartActivityExecutionRequest {
30003000
repeated temporal.api.common.v1.Link links = 20;
30013001
// Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
30023002
temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;
3003+
// Time to wait before dispatching the activity.
3004+
google.protobuf.Duration start_delay = 22;
30033005
}
30043006

30053007
message StartActivityExecutionResponse {

0 commit comments

Comments
 (0)