You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi/openapiv2.json
+95-4Lines changed: 95 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6807,6 +6807,46 @@
6807
6807
}
6808
6808
}
6809
6809
},
6810
+
"PostResetOperationSignalWorkflow": {
6811
+
"type": "object",
6812
+
"properties": {
6813
+
"signalName": {
6814
+
"type": "string",
6815
+
"description": "The workflow author-defined name of the signal to send to the workflow."
6816
+
},
6817
+
"input": {
6818
+
"$ref": "#/definitions/v1Payloads",
6819
+
"description": "Serialized value(s) to provide with the signal."
6820
+
},
6821
+
"header": {
6822
+
"$ref": "#/definitions/v1Header",
6823
+
"description": "Headers that are passed with the signal to the processing workflow."
6824
+
},
6825
+
"links": {
6826
+
"type": "array",
6827
+
"items": {
6828
+
"type": "object",
6829
+
"$ref": "#/definitions/apicommonv1Link"
6830
+
},
6831
+
"description": "Links to be associated with the WorkflowExecutionSignaled event."
6832
+
}
6833
+
},
6834
+
"description": "SignalWorkflow represents sending a signal after a workflow reset.\nKeep the parameter in sync with temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest."
"description": "Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask."
6842
+
},
6843
+
"updateMask": {
6844
+
"type": "string",
6845
+
"description": "Controls which fields from `workflow_execution_options` will be applied.\nTo unset a field, set it to null and use the update mask to indicate that it should be mutated."
6846
+
}
6847
+
},
6848
+
"description": "UpdateWorkflowOptions represents updating workflow execution options after a workflow reset.\nKeep the parameters in sync with temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest."
6849
+
},
6810
6850
"StartOperationResponseAsync": {
6811
6851
"type": "object",
6812
6852
"properties": {
@@ -7329,6 +7369,14 @@
7329
7369
"$ref": "#/definitions/v1ResetReapplyExcludeType"
7330
7370
},
7331
7371
"title": "Event types not to be reapplied"
7372
+
},
7373
+
"postResetOperations": {
7374
+
"type": "array",
7375
+
"items": {
7376
+
"type": "object",
7377
+
"$ref": "#/definitions/v1PostResetOperation"
7378
+
},
7379
+
"title": "Operations to perform after the workflow has been reset. These operations will be applied\nto the *new* run of the workflow execution in the order they are provided.\nAll operations are applied to the workflow before the first new workflow task is generated"
7332
7380
}
7333
7381
}
7334
7382
},
@@ -7713,7 +7761,8 @@
7713
7761
},
7714
7762
"description": "Links to be associated with the WorkflowExecutionSignaled event."
7715
7763
}
7716
-
}
7764
+
},
7765
+
"description": "Keep the parameters in sync with:\n - temporal.api.batch.v1.BatchOperationSignal.\n - temporal.api.workflow.v1.PostResetOperation.SignalWorkflow."
7717
7766
},
7718
7767
"WorkflowServiceStartBatchOperationBody": {
7719
7768
"type": "object",
@@ -8146,7 +8195,8 @@
8146
8195
"type": "string",
8147
8196
"description": "Controls which fields from `workflow_execution_options` will be applied.\nTo unset a field, set it to null and use the update mask to indicate that it should be mutated."
8148
8197
}
8149
-
}
8198
+
},
8199
+
"description": "Keep the parameters in sync with:\n - temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions.\n - temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions."
8150
8200
},
8151
8201
"apicommonv1Link": {
8152
8202
"type": "object",
@@ -8775,6 +8825,14 @@
8775
8825
"resetReapplyType": {
8776
8826
"$ref": "#/definitions/v1ResetReapplyType",
8777
8827
"description": "History event reapply options (deprecated, use `options`)."
8828
+
},
8829
+
"postResetOperations": {
8830
+
"type": "array",
8831
+
"items": {
8832
+
"type": "object",
8833
+
"$ref": "#/definitions/v1PostResetOperation"
8834
+
},
8835
+
"title": "Operations to perform after the workflow has been reset. These operations will be applied\nto the *new* run of the workflow execution in the order they are provided.\nAll operations are applied to the workflow before the first new workflow task is generated"
8778
8836
}
8779
8837
},
8780
8838
"description": "BatchOperationReset sends reset requests to batch workflows.\nKeep the parameter in sync with temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest."
"description": "Workflow Execution options. Partial updates are accepted and controlled by update_mask."
8936
+
"description": "Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask."
8879
8937
},
8880
8938
"updateMask": {
8881
8939
"type": "string",
@@ -8972,6 +9030,14 @@
8972
9030
},
8973
9031
"internal": {
8974
9032
"$ref": "#/definitions/CallbackInternal"
9033
+
},
9034
+
"links": {
9035
+
"type": "array",
9036
+
"items": {
9037
+
"type": "object",
9038
+
"$ref": "#/definitions/apicommonv1Link"
9039
+
},
9040
+
"description": "Links associated with the callback. It can be used to link to underlying resources of the\ncallback."
8975
9041
}
8976
9042
},
8977
9043
"description": "Callback to attach to various events in the system, e.g. workflow run completion."
"description": "IMPORTANT: For [StartWorkflow, UpdateWorkflow] combination (\"Update-with-Start\") when both\n 1. the workflow update for the requested update ID has already completed, and\n 2. the workflow for the requested workflow ID has already been closed,\nthen you'll receive\n - an update response containing the update's outcome, and\n - a start response with a `status` field that reflects the workflow's current state."
10107
10174
},
10108
10175
"v1ExecuteMultiOperationResponseResponse": {
10109
10176
"type": "object",
@@ -12114,6 +12181,18 @@
12114
12181
},
12115
12182
"description": "Attached to task responses to give hints to the SDK about how it may adjust its number of\npollers."
"description": "Current execution status of the workflow. Typically remains WORKFLOW_EXECUTION_STATUS_RUNNING\nunless a de-dupe occurs or in specific scenarios handled within the ExecuteMultiOperation (refer to its docs)."
"description": "When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will\nreturn the first workflow task to be eagerly executed.\nThe caller is expected to have a worker available to process the task."
description: Workflow Execution options. Partial updates are accepted and controlled by update_mask.
6391
+
description: Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask.
6384
6392
updateMask:
6385
6393
type: string
6386
6394
description: |-
@@ -6508,6 +6516,13 @@ components:
6508
6516
$ref: '#/components/schemas/Callback_Nexus'
6509
6517
internal:
6510
6518
$ref: '#/components/schemas/Callback_Internal'
6519
+
links:
6520
+
type: array
6521
+
items:
6522
+
$ref: '#/components/schemas/Link'
6523
+
description: |-
6524
+
Links associated with the callback. It can be used to link to underlying resources of the
6525
+
callback.
6511
6526
description: Callback to attach to various events in the system, e.g. workflow run completion.
description: Update Workflow options that were originally specified via StartWorkflowExecution. Partial updates are accepted and controlled by update_mask.
9163
+
updateMask:
9164
+
type: string
9165
+
description: |-
9166
+
Controls which fields from `workflow_execution_options` will be applied.
9167
+
To unset a field, set it to null and use the update mask to indicate that it should be mutated.
9168
+
format: field-mask
9169
+
description: |-
9170
+
UpdateWorkflowOptions represents updating workflow execution options after a workflow reset.
9171
+
Keep the parameters in sync with temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest.
9104
9172
Priority:
9105
9173
type: object
9106
9174
properties:
@@ -9240,6 +9308,11 @@ components:
9240
9308
activityPaused:
9241
9309
type: boolean
9242
9310
description: Will be set to true if the activity is paused.
9311
+
activityReset:
9312
+
type: boolean
9313
+
description: |-
9314
+
Will be set to true if the activity was reset.
9315
+
Applies only to the current run.
9243
9316
RecordActivityTaskHeartbeatRequest:
9244
9317
type: object
9245
9318
properties:
@@ -9267,6 +9340,11 @@ components:
9267
9340
activityPaused:
9268
9341
type: boolean
9269
9342
description: Will be set to true if the activity is paused.
9343
+
activityReset:
9344
+
type: boolean
9345
+
description: |-
9346
+
Will be set to true if the activity was reset.
9347
+
Applies only to the current run.
9270
9348
RegisterNamespaceRequest:
9271
9349
type: object
9272
9350
properties:
@@ -9668,6 +9746,14 @@ components:
9668
9746
type: string
9669
9747
format: enum
9670
9748
description: Event types not to be reapplied
9749
+
postResetOperations:
9750
+
type: array
9751
+
items:
9752
+
$ref: '#/components/schemas/PostResetOperation'
9753
+
description: |-
9754
+
Operations to perform after the workflow has been reset. These operations will be applied
9755
+
to the *new* run of the workflow execution in the order they are provided.
9756
+
All operations are applied to the workflow before the first new workflow task is generated
9671
9757
ResetWorkflowExecutionResponse:
9672
9758
type: object
9673
9759
properties:
@@ -10708,6 +10794,10 @@ components:
10708
10794
items:
10709
10795
$ref: '#/components/schemas/Link'
10710
10796
description: Links to be associated with the WorkflowExecutionSignaled event.
0 commit comments