File tree 3 files changed +20
-7
lines changed
temporal/api/workflowservice/v1
3 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 12194
12194
"activityPaused": {
12195
12195
"type": "boolean",
12196
12196
"description": "Will be set to true if the activity is paused."
12197
+ },
12198
+ "activityReset": {
12199
+ "type": "boolean",
12200
+ "description": "Will be set to true if the activity was reset.\nApplies only to the current run."
12197
12201
}
12198
12202
}
12199
12203
},
Original file line number Diff line number Diff line change @@ -9240,6 +9240,11 @@ components:
9240
9240
activityPaused:
9241
9241
type: boolean
9242
9242
description: Will be set to true if the activity is paused.
9243
+ activityReset:
9244
+ type: boolean
9245
+ description: |-
9246
+ Will be set to true if the activity was reset.
9247
+ Applies only to the current run.
9243
9248
RecordActivityTaskHeartbeatRequest:
9244
9249
type: object
9245
9250
properties:
Original file line number Diff line number Diff line change @@ -554,6 +554,10 @@ message RecordActivityTaskHeartbeatByIdResponse {
554
554
555
555
// Will be set to true if the activity is paused.
556
556
bool activity_paused = 2 ;
557
+
558
+ // Will be set to true if the activity was reset.
559
+ // Applies only to the current run.
560
+ bool activity_reset = 3 ;
557
561
}
558
562
559
563
message RespondActivityTaskCompletedRequest {
@@ -1835,13 +1839,13 @@ message UpdateActivityOptionsRequest {
1835
1839
// Controls which fields from `activity_options` will be applied
1836
1840
google.protobuf.FieldMask update_mask = 5 ;
1837
1841
1838
- // either activity id or activity type must be provided
1839
- oneof activity {
1840
- // Only activity with this ID will be updated.
1841
- string id = 6 ;
1842
- // Update all running activities of this type.
1843
- string type = 7 ;
1844
- }
1842
+ // either activity id or activity type must be provided
1843
+ oneof activity {
1844
+ // Only activity with this ID will be updated.
1845
+ string id = 6 ;
1846
+ // Update all running activities of this type.
1847
+ string type = 7 ;
1848
+ }
1845
1849
}
1846
1850
1847
1851
message UpdateActivityOptionsResponse {
You can’t perform that action at this time.
0 commit comments