File tree Expand file tree Collapse file tree
temporal/api/workflowservice/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1219412194 "activityPaused": {
1219512195 "type": "boolean",
1219612196 "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."
1219712201 }
1219812202 }
1219912203 },
Original file line number Diff line number Diff line change @@ -9240,6 +9240,11 @@ components:
92409240 activityPaused:
92419241 type: boolean
92429242 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.
92439248 RecordActivityTaskHeartbeatRequest:
92449249 type: object
92459250 properties:
Original file line number Diff line number Diff line change @@ -554,6 +554,10 @@ message RecordActivityTaskHeartbeatByIdResponse {
554554
555555 // Will be set to true if the activity is paused.
556556 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 ;
557561}
558562
559563message RespondActivityTaskCompletedRequest {
@@ -1835,13 +1839,13 @@ message UpdateActivityOptionsRequest {
18351839 // Controls which fields from `activity_options` will be applied
18361840 google.protobuf.FieldMask update_mask = 5 ;
18371841
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+ }
18451849}
18461850
18471851message UpdateActivityOptionsResponse {
You can’t perform that action at this time.
0 commit comments