Class: StartBatchOperationRequest
workflowservice.v1.StartBatchOperationRequest
Represents a StartBatchOperationRequest.
Implements
Constructors
constructor
• new StartBatchOperationRequest(properties?
): StartBatchOperationRequest
Constructs a new StartBatchOperationRequest.
Parameters
Name | Type | Description |
---|---|---|
properties? | IStartBatchOperationRequest | Properties to set |
Returns
Properties
cancellationOperation
• Optional
cancellationOperation: null
| IBatchOperationCancellation
StartBatchOperationRequest cancellationOperation.
Implementation of
IStartBatchOperationRequest.cancellationOperation
deletionOperation
• Optional
deletionOperation: null
| IBatchOperationDeletion
StartBatchOperationRequest deletionOperation.
Implementation of
IStartBatchOperationRequest.deletionOperation
executions
• executions: IWorkflowExecution
[]
Executions to apply the batch operation
This field and visibility_query
are mutually exclusive
Implementation of
IStartBatchOperationRequest.executions
jobId
• jobId: string
Job ID defines the unique ID for the batch job
Implementation of
IStartBatchOperationRequest.jobId
maxOperationsPerSecond
• maxOperationsPerSecond: number
Limit for the number of operations processed per second within this batch.
Its purpose is to reduce the stress on the system caused by batch operations, which helps to prevent system
overload and minimize potential delays in executing ongoing tasks for user workers.
Note that when no explicit limit is provided, the server will operate according to its limit defined by the
dynamic configuration key worker.batcherRPS
. This also applies if the value in this field exceeds the
server's configured limit.
Implementation of
IStartBatchOperationRequest.maxOperationsPerSecond
namespace
• namespace: string
Namespace that contains the batch operation
Implementation of
IStartBatchOperationRequest.namespace
operation
• Optional
operation: "terminationOperation"
| "signalOperation"
| "cancellationOperation"
| "deletionOperation"
| "resetOperation"
Operation input
reason
• reason: string
Reason to perform the batch operation
Implementation of
IStartBatchOperationRequest.reason
resetOperation
• Optional
resetOperation: null
| IBatchOperationReset
StartBatchOperationRequest resetOperation.
Implementation of
IStartBatchOperationRequest.resetOperation
signalOperation
• Optional
signalOperation: null
| IBatchOperationSignal
StartBatchOperationRequest signalOperation.
Implementation of
IStartBatchOperationRequest.signalOperation
terminationOperation
• Optional
terminationOperation: null
| IBatchOperationTermination
StartBatchOperationRequest terminationOperation.
Implementation of
IStartBatchOperationRequest.terminationOperation
visibilityQuery
• visibilityQuery: string
Visibility query defines the the group of workflow to apply the batch operation
This field and executions
are mutually exclusive
Implementation of
IStartBatchOperationRequest.visibilityQuery
Methods
toJSON
▸ toJSON(): Object
Converts this StartBatchOperationRequest to JSON.
Returns
Object
JSON object
create
▸ create(properties?
): StartBatchOperationRequest
Creates a new StartBatchOperationRequest instance using the specified properties.
Parameters
Name | Type | Description |
---|---|---|
properties? | IStartBatchOperationRequest | Properties to set |