Skip to main content

Namespace: WorkflowService

workflowservice.v1.WorkflowService

Type Aliases

CountActivityExecutions

Ƭ CountActivityExecutions: Object

CountActivityExecutions is a visibility API to count activity executions in a specific namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestICountActivityExecutionsRequest
callbackCountActivityExecutionsCallback
Returns

void

▸ (request): Promise<CountActivityExecutionsResponse>

Parameters
NameType
requestICountActivityExecutionsRequest
Returns

Promise<CountActivityExecutionsResponse>

Type declaration

NameType
name"CountActivityExecutions"
path"/temporal.api.workflowservice.v1.WorkflowService/CountActivityExecutions"
requestStreamundefined
requestType"CountActivityExecutionsRequest"
responseStreamundefined
responseType"CountActivityExecutionsResponse"

CountActivityExecutionsCallback

Ƭ CountActivityExecutionsCallback: (error: Error | null, response?: CountActivityExecutionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#countActivityExecutions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?CountActivityExecutionsResponseCountActivityExecutionsResponse
Returns

void


CountNexusOperationExecutions

Ƭ CountNexusOperationExecutions: Object

CountNexusOperationExecutions is a visibility API to count Nexus operations in a specific namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestICountNexusOperationExecutionsRequest
callbackCountNexusOperationExecutionsCallback
Returns

void

▸ (request): Promise<CountNexusOperationExecutionsResponse>

Parameters
NameType
requestICountNexusOperationExecutionsRequest
Returns

Promise<CountNexusOperationExecutionsResponse>

Type declaration

NameType
name"CountNexusOperationExecutions"
path"/temporal.api.workflowservice.v1.WorkflowService/CountNexusOperationExecutions"
requestStreamundefined
requestType"CountNexusOperationExecutionsRequest"
responseStreamundefined
responseType"CountNexusOperationExecutionsResponse"

CountNexusOperationExecutionsCallback

Ƭ CountNexusOperationExecutionsCallback: (error: Error | null, response?: CountNexusOperationExecutionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#countNexusOperationExecutions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?CountNexusOperationExecutionsResponseCountNexusOperationExecutionsResponse
Returns

void


CountSchedules

Ƭ CountSchedules: Object

CountSchedules is a visibility API to count schedules in a specific namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestICountSchedulesRequest
callbackCountSchedulesCallback
Returns

void

▸ (request): Promise<CountSchedulesResponse>

Parameters
NameType
requestICountSchedulesRequest
Returns

Promise<CountSchedulesResponse>

Type declaration

NameType
name"CountSchedules"
path"/temporal.api.workflowservice.v1.WorkflowService/CountSchedules"
requestStreamundefined
requestType"CountSchedulesRequest"
responseStreamundefined
responseType"CountSchedulesResponse"

CountSchedulesCallback

Ƭ CountSchedulesCallback: (error: Error | null, response?: CountSchedulesResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#countSchedules.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?CountSchedulesResponseCountSchedulesResponse
Returns

void


CountWorkers

Ƭ CountWorkers: Object

CountWorkers counts the number of workers in a specific namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestICountWorkersRequest
callbackCountWorkersCallback
Returns

void

▸ (request): Promise<CountWorkersResponse>

Parameters
NameType
requestICountWorkersRequest
Returns

Promise<CountWorkersResponse>

Type declaration

NameType
name"CountWorkers"
path"/temporal.api.workflowservice.v1.WorkflowService/CountWorkers"
requestStreamundefined
requestType"CountWorkersRequest"
responseStreamundefined
responseType"CountWorkersResponse"

CountWorkersCallback

Ƭ CountWorkersCallback: (error: Error | null, response?: CountWorkersResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#countWorkers.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?CountWorkersResponseCountWorkersResponse
Returns

void


CountWorkflowExecutions

Ƭ CountWorkflowExecutions: Object

CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestICountWorkflowExecutionsRequest
callbackCountWorkflowExecutionsCallback
Returns

void

▸ (request): Promise<CountWorkflowExecutionsResponse>

Parameters
NameType
requestICountWorkflowExecutionsRequest
Returns

Promise<CountWorkflowExecutionsResponse>

Type declaration

NameType
name"CountWorkflowExecutions"
path"/temporal.api.workflowservice.v1.WorkflowService/CountWorkflowExecutions"
requestStreamundefined
requestType"CountWorkflowExecutionsRequest"
responseStreamundefined
responseType"CountWorkflowExecutionsResponse"

CountWorkflowExecutionsCallback

Ƭ CountWorkflowExecutionsCallback: (error: Error | null, response?: CountWorkflowExecutionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#countWorkflowExecutions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?CountWorkflowExecutionsResponseCountWorkflowExecutionsResponse
Returns

void


CreateSchedule

Ƭ CreateSchedule: Object

Creates a new schedule.

Call signature

▸ (request, callback): void

Parameters
NameType
requestICreateScheduleRequest
callbackCreateScheduleCallback
Returns

void

▸ (request): Promise<CreateScheduleResponse>

Parameters
NameType
requestICreateScheduleRequest
Returns

Promise<CreateScheduleResponse>

Type declaration

NameType
name"CreateSchedule"
path"/temporal.api.workflowservice.v1.WorkflowService/CreateSchedule"
requestStreamundefined
requestType"CreateScheduleRequest"
responseStreamundefined
responseType"CreateScheduleResponse"

CreateScheduleCallback

Ƭ CreateScheduleCallback: (error: Error | null, response?: CreateScheduleResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#createSchedule.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?CreateScheduleResponseCreateScheduleResponse
Returns

void


CreateWorkerDeployment

Ƭ CreateWorkerDeployment: Object

Creates a new Worker Deployment.

Experimental. This API might significantly change or be removed in a future release.

Call signature

▸ (request, callback): void

Parameters
NameType
requestICreateWorkerDeploymentRequest
callbackCreateWorkerDeploymentCallback
Returns

void

▸ (request): Promise<CreateWorkerDeploymentResponse>

Parameters
NameType
requestICreateWorkerDeploymentRequest
Returns

Promise<CreateWorkerDeploymentResponse>

Type declaration

NameType
name"CreateWorkerDeployment"
path"/temporal.api.workflowservice.v1.WorkflowService/CreateWorkerDeployment"
requestStreamundefined
requestType"CreateWorkerDeploymentRequest"
responseStreamundefined
responseType"CreateWorkerDeploymentResponse"

CreateWorkerDeploymentCallback

Ƭ CreateWorkerDeploymentCallback: (error: Error | null, response?: CreateWorkerDeploymentResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#createWorkerDeployment.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?CreateWorkerDeploymentResponseCreateWorkerDeploymentResponse
Returns

void


CreateWorkerDeploymentVersion

Ƭ CreateWorkerDeploymentVersion: Object

Creates a new Worker Deployment Version.

Experimental. This API might significantly change or be removed in a future release.

Call signature

▸ (request, callback): void

Parameters
NameType
requestICreateWorkerDeploymentVersionRequest
callbackCreateWorkerDeploymentVersionCallback
Returns

void

▸ (request): Promise<CreateWorkerDeploymentVersionResponse>

Parameters
NameType
requestICreateWorkerDeploymentVersionRequest
Returns

Promise<CreateWorkerDeploymentVersionResponse>

Type declaration

NameType
name"CreateWorkerDeploymentVersion"
path"/temporal.api.workflowservice.v1.WorkflowService/CreateWorkerDeploymentVersion"
requestStreamundefined
requestType"CreateWorkerDeploymentVersionRequest"
responseStreamundefined
responseType"CreateWorkerDeploymentVersionResponse"

CreateWorkerDeploymentVersionCallback

Ƭ CreateWorkerDeploymentVersionCallback: (error: Error | null, response?: CreateWorkerDeploymentVersionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#createWorkerDeploymentVersion.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?CreateWorkerDeploymentVersionResponseCreateWorkerDeploymentVersionResponse
Returns

void


CreateWorkflowRule

Ƭ CreateWorkflowRule: Object

Create a new workflow rule. The rules are used to control the workflow execution. The rule will be applied to all running and new workflows in the namespace. If the rule with such ID already exist this call will fail Note: the rules are part of namespace configuration and will be stored in the namespace config. Namespace config is eventually consistent.

Call signature

▸ (request, callback): void

Parameters
NameType
requestICreateWorkflowRuleRequest
callbackCreateWorkflowRuleCallback
Returns

void

▸ (request): Promise<CreateWorkflowRuleResponse>

Parameters
NameType
requestICreateWorkflowRuleRequest
Returns

Promise<CreateWorkflowRuleResponse>

Type declaration

NameType
name"CreateWorkflowRule"
path"/temporal.api.workflowservice.v1.WorkflowService/CreateWorkflowRule"
requestStreamundefined
requestType"CreateWorkflowRuleRequest"
responseStreamundefined
responseType"CreateWorkflowRuleResponse"

CreateWorkflowRuleCallback

Ƭ CreateWorkflowRuleCallback: (error: Error | null, response?: CreateWorkflowRuleResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#createWorkflowRule.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?CreateWorkflowRuleResponseCreateWorkflowRuleResponse
Returns

void


DeleteActivityExecution

Ƭ DeleteActivityExecution: Object

DeleteActivityExecution asynchronously deletes a specific activity execution (when ActivityExecution.run_id is provided) or the latest activity execution (when ActivityExecution.run_id is not provided). If the activity Execution is running, it will be terminated before deletion.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: Activity deletion not exposed to HTTP, users should use cancel or terminate. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDeleteActivityExecutionRequest
callbackDeleteActivityExecutionCallback
Returns

void

▸ (request): Promise<DeleteActivityExecutionResponse>

Parameters
NameType
requestIDeleteActivityExecutionRequest
Returns

Promise<DeleteActivityExecutionResponse>

Type declaration

NameType
name"DeleteActivityExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/DeleteActivityExecution"
requestStreamundefined
requestType"DeleteActivityExecutionRequest"
responseStreamundefined
responseType"DeleteActivityExecutionResponse"

DeleteActivityExecutionCallback

Ƭ DeleteActivityExecutionCallback: (error: Error | null, response?: DeleteActivityExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteActivityExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DeleteActivityExecutionResponseDeleteActivityExecutionResponse
Returns

void


DeleteNexusOperationExecution

Ƭ DeleteNexusOperationExecution: Object

DeleteNexusOperationExecution asynchronously deletes a specific Nexus operation run (when run_id is provided) or the latest run (when run_id is not provided). If the operation is running, it will be terminated before deletion.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: Nexus operation deletion not exposed to HTTP, users should use cancel or terminate. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDeleteNexusOperationExecutionRequest
callbackDeleteNexusOperationExecutionCallback
Returns

void

▸ (request): Promise<DeleteNexusOperationExecutionResponse>

Parameters
NameType
requestIDeleteNexusOperationExecutionRequest
Returns

Promise<DeleteNexusOperationExecutionResponse>

Type declaration

NameType
name"DeleteNexusOperationExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/DeleteNexusOperationExecution"
requestStreamundefined
requestType"DeleteNexusOperationExecutionRequest"
responseStreamundefined
responseType"DeleteNexusOperationExecutionResponse"

DeleteNexusOperationExecutionCallback

Ƭ DeleteNexusOperationExecutionCallback: (error: Error | null, response?: DeleteNexusOperationExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteNexusOperationExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DeleteNexusOperationExecutionResponseDeleteNexusOperationExecutionResponse
Returns

void


DeleteSchedule

Ƭ DeleteSchedule: Object

Deletes a schedule, removing it from the system.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDeleteScheduleRequest
callbackDeleteScheduleCallback
Returns

void

▸ (request): Promise<DeleteScheduleResponse>

Parameters
NameType
requestIDeleteScheduleRequest
Returns

Promise<DeleteScheduleResponse>

Type declaration

NameType
name"DeleteSchedule"
path"/temporal.api.workflowservice.v1.WorkflowService/DeleteSchedule"
requestStreamundefined
requestType"DeleteScheduleRequest"
responseStreamundefined
responseType"DeleteScheduleResponse"

DeleteScheduleCallback

Ƭ DeleteScheduleCallback: (error: Error | null, response?: DeleteScheduleResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteSchedule.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DeleteScheduleResponseDeleteScheduleResponse
Returns

void


DeleteWorkerDeployment

Ƭ DeleteWorkerDeployment: Object

Deletes records of (an old) Deployment. A deployment can only be deleted if it has no Version in it. Experimental. This API might significantly change or be removed in a future release.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDeleteWorkerDeploymentRequest
callbackDeleteWorkerDeploymentCallback
Returns

void

▸ (request): Promise<DeleteWorkerDeploymentResponse>

Parameters
NameType
requestIDeleteWorkerDeploymentRequest
Returns

Promise<DeleteWorkerDeploymentResponse>

Type declaration

NameType
name"DeleteWorkerDeployment"
path"/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeployment"
requestStreamundefined
requestType"DeleteWorkerDeploymentRequest"
responseStreamundefined
responseType"DeleteWorkerDeploymentResponse"

DeleteWorkerDeploymentCallback

Ƭ DeleteWorkerDeploymentCallback: (error: Error | null, response?: DeleteWorkerDeploymentResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteWorkerDeployment.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DeleteWorkerDeploymentResponseDeleteWorkerDeploymentResponse
Returns

void


DeleteWorkerDeploymentVersion

Ƭ DeleteWorkerDeploymentVersion: Object

Used for manual deletion of Versions. User can delete a Version only when all the following conditions are met:

  • It is not the Current or Ramping Version of its Deployment.
  • It has no active pollers (none of the task queues in the Version have pollers)
  • It is not draining (see WorkerDeploymentVersionInfo.drainage_info). This condition can be skipped by passing skip-drainage=true. Experimental. This API might significantly change or be removed in a future release.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDeleteWorkerDeploymentVersionRequest
callbackDeleteWorkerDeploymentVersionCallback
Returns

void

▸ (request): Promise<DeleteWorkerDeploymentVersionResponse>

Parameters
NameType
requestIDeleteWorkerDeploymentVersionRequest
Returns

Promise<DeleteWorkerDeploymentVersionResponse>

Type declaration

NameType
name"DeleteWorkerDeploymentVersion"
path"/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeploymentVersion"
requestStreamundefined
requestType"DeleteWorkerDeploymentVersionRequest"
responseStreamundefined
responseType"DeleteWorkerDeploymentVersionResponse"

DeleteWorkerDeploymentVersionCallback

Ƭ DeleteWorkerDeploymentVersionCallback: (error: Error | null, response?: DeleteWorkerDeploymentVersionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteWorkerDeploymentVersion.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DeleteWorkerDeploymentVersionResponseDeleteWorkerDeploymentVersionResponse
Returns

void


DeleteWorkflowExecution

Ƭ DeleteWorkflowExecution: Object

DeleteWorkflowExecution asynchronously deletes a specific Workflow Execution (when WorkflowExecution.run_id is provided) or the latest Workflow Execution (when WorkflowExecution.run_id is not provided). If the Workflow Execution is Running, it will be terminated before deletion.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: Workflow deletion not exposed to HTTP, users should use cancel or terminate. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDeleteWorkflowExecutionRequest
callbackDeleteWorkflowExecutionCallback
Returns

void

▸ (request): Promise<DeleteWorkflowExecutionResponse>

Parameters
NameType
requestIDeleteWorkflowExecutionRequest
Returns

Promise<DeleteWorkflowExecutionResponse>

Type declaration

NameType
name"DeleteWorkflowExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowExecution"
requestStreamundefined
requestType"DeleteWorkflowExecutionRequest"
responseStreamundefined
responseType"DeleteWorkflowExecutionResponse"

DeleteWorkflowExecutionCallback

Ƭ DeleteWorkflowExecutionCallback: (error: Error | null, response?: DeleteWorkflowExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteWorkflowExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DeleteWorkflowExecutionResponseDeleteWorkflowExecutionResponse
Returns

void


DeleteWorkflowRule

Ƭ DeleteWorkflowRule: Object

Delete rule by rule id

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDeleteWorkflowRuleRequest
callbackDeleteWorkflowRuleCallback
Returns

void

▸ (request): Promise<DeleteWorkflowRuleResponse>

Parameters
NameType
requestIDeleteWorkflowRuleRequest
Returns

Promise<DeleteWorkflowRuleResponse>

Type declaration

NameType
name"DeleteWorkflowRule"
path"/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowRule"
requestStreamundefined
requestType"DeleteWorkflowRuleRequest"
responseStreamundefined
responseType"DeleteWorkflowRuleResponse"

DeleteWorkflowRuleCallback

Ƭ DeleteWorkflowRuleCallback: (error: Error | null, response?: DeleteWorkflowRuleResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteWorkflowRule.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DeleteWorkflowRuleResponseDeleteWorkflowRuleResponse
Returns

void


DeprecateNamespace

Ƭ DeprecateNamespace: Object

DeprecateNamespace is used to update the state of a registered namespace to DEPRECATED.

Once the namespace is deprecated it cannot be used to start new workflow executions. Existing workflow executions will continue to run on deprecated namespaces. Deprecated.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: Deprecated --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDeprecateNamespaceRequest
callbackDeprecateNamespaceCallback
Returns

void

▸ (request): Promise<DeprecateNamespaceResponse>

Parameters
NameType
requestIDeprecateNamespaceRequest
Returns

Promise<DeprecateNamespaceResponse>

Type declaration

NameType
name"DeprecateNamespace"
path"/temporal.api.workflowservice.v1.WorkflowService/DeprecateNamespace"
requestStreamundefined
requestType"DeprecateNamespaceRequest"
responseStreamundefined
responseType"DeprecateNamespaceResponse"

DeprecateNamespaceCallback

Ƭ DeprecateNamespaceCallback: (error: Error | null, response?: DeprecateNamespaceResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#deprecateNamespace.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DeprecateNamespaceResponseDeprecateNamespaceResponse
Returns

void


DescribeActivityExecution

Ƭ DescribeActivityExecution: Object

DescribeActivityExecution returns information about an activity execution. It can be used to:

  • Get current activity info without waiting
  • Long-poll for next state change and return new activity info Response can optionally include activity input or outcome (if the activity has completed).

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDescribeActivityExecutionRequest
callbackDescribeActivityExecutionCallback
Returns

void

▸ (request): Promise<DescribeActivityExecutionResponse>

Parameters
NameType
requestIDescribeActivityExecutionRequest
Returns

Promise<DescribeActivityExecutionResponse>

Type declaration

NameType
name"DescribeActivityExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/DescribeActivityExecution"
requestStreamundefined
requestType"DescribeActivityExecutionRequest"
responseStreamundefined
responseType"DescribeActivityExecutionResponse"

DescribeActivityExecutionCallback

Ƭ DescribeActivityExecutionCallback: (error: Error | null, response?: DescribeActivityExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeActivityExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DescribeActivityExecutionResponseDescribeActivityExecutionResponse
Returns

void


DescribeBatchOperation

Ƭ DescribeBatchOperation: Object

DescribeBatchOperation returns the information about a batch operation

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDescribeBatchOperationRequest
callbackDescribeBatchOperationCallback
Returns

void

▸ (request): Promise<DescribeBatchOperationResponse>

Parameters
NameType
requestIDescribeBatchOperationRequest
Returns

Promise<DescribeBatchOperationResponse>

Type declaration

NameType
name"DescribeBatchOperation"
path"/temporal.api.workflowservice.v1.WorkflowService/DescribeBatchOperation"
requestStreamundefined
requestType"DescribeBatchOperationRequest"
responseStreamundefined
responseType"DescribeBatchOperationResponse"

DescribeBatchOperationCallback

Ƭ DescribeBatchOperationCallback: (error: Error | null, response?: DescribeBatchOperationResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeBatchOperation.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DescribeBatchOperationResponseDescribeBatchOperationResponse
Returns

void


DescribeDeployment

Ƭ DescribeDeployment: Object

Describes a worker deployment. Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced with DescribeWorkerDeploymentVersion.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDescribeDeploymentRequest
callbackDescribeDeploymentCallback
Returns

void

▸ (request): Promise<DescribeDeploymentResponse>

Parameters
NameType
requestIDescribeDeploymentRequest
Returns

Promise<DescribeDeploymentResponse>

Type declaration

NameType
name"DescribeDeployment"
path"/temporal.api.workflowservice.v1.WorkflowService/DescribeDeployment"
requestStreamundefined
requestType"DescribeDeploymentRequest"
responseStreamundefined
responseType"DescribeDeploymentResponse"

DescribeDeploymentCallback

Ƭ DescribeDeploymentCallback: (error: Error | null, response?: DescribeDeploymentResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeDeployment.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DescribeDeploymentResponseDescribeDeploymentResponse
Returns

void


DescribeNamespace

Ƭ DescribeNamespace: Object

DescribeNamespace returns the information and configuration for a registered namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDescribeNamespaceRequest
callbackDescribeNamespaceCallback
Returns

void

▸ (request): Promise<DescribeNamespaceResponse>

Parameters
NameType
requestIDescribeNamespaceRequest
Returns

Promise<DescribeNamespaceResponse>

Type declaration

NameType
name"DescribeNamespace"
path"/temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace"
requestStreamundefined
requestType"DescribeNamespaceRequest"
responseStreamundefined
responseType"DescribeNamespaceResponse"

DescribeNamespaceCallback

Ƭ DescribeNamespaceCallback: (error: Error | null, response?: DescribeNamespaceResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeNamespace.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DescribeNamespaceResponseDescribeNamespaceResponse
Returns

void


DescribeNexusOperationExecution

Ƭ DescribeNexusOperationExecution: Object

DescribeNexusOperationExecution returns information about a Nexus operation. Supported use cases include:

  • Get current operation info without waiting
  • Long-poll for next state change and return new operation info Response can optionally include operation input or outcome (if the operation has completed).

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDescribeNexusOperationExecutionRequest
callbackDescribeNexusOperationExecutionCallback
Returns

void

▸ (request): Promise<DescribeNexusOperationExecutionResponse>

Parameters
NameType
requestIDescribeNexusOperationExecutionRequest
Returns

Promise<DescribeNexusOperationExecutionResponse>

Type declaration

NameType
name"DescribeNexusOperationExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/DescribeNexusOperationExecution"
requestStreamundefined
requestType"DescribeNexusOperationExecutionRequest"
responseStreamundefined
responseType"DescribeNexusOperationExecutionResponse"

DescribeNexusOperationExecutionCallback

Ƭ DescribeNexusOperationExecutionCallback: (error: Error | null, response?: DescribeNexusOperationExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeNexusOperationExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DescribeNexusOperationExecutionResponseDescribeNexusOperationExecutionResponse
Returns

void


DescribeSchedule

Ƭ DescribeSchedule: Object

Returns the schedule description and current state of an existing schedule.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDescribeScheduleRequest
callbackDescribeScheduleCallback
Returns

void

▸ (request): Promise<DescribeScheduleResponse>

Parameters
NameType
requestIDescribeScheduleRequest
Returns

Promise<DescribeScheduleResponse>

Type declaration

NameType
name"DescribeSchedule"
path"/temporal.api.workflowservice.v1.WorkflowService/DescribeSchedule"
requestStreamundefined
requestType"DescribeScheduleRequest"
responseStreamundefined
responseType"DescribeScheduleResponse"

DescribeScheduleCallback

Ƭ DescribeScheduleCallback: (error: Error | null, response?: DescribeScheduleResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeSchedule.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DescribeScheduleResponseDescribeScheduleResponse
Returns

void


DescribeTaskQueue

Ƭ DescribeTaskQueue: Object

DescribeTaskQueue returns the following information about the target task queue, broken down by Build ID:

  • List of pollers
  • Workflow Reachability status
  • Backlog info for Workflow and/or Activity tasks

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDescribeTaskQueueRequest
callbackDescribeTaskQueueCallback
Returns

void

▸ (request): Promise<DescribeTaskQueueResponse>

Parameters
NameType
requestIDescribeTaskQueueRequest
Returns

Promise<DescribeTaskQueueResponse>

Type declaration

NameType
name"DescribeTaskQueue"
path"/temporal.api.workflowservice.v1.WorkflowService/DescribeTaskQueue"
requestStreamundefined
requestType"DescribeTaskQueueRequest"
responseStreamundefined
responseType"DescribeTaskQueueResponse"

DescribeTaskQueueCallback

Ƭ DescribeTaskQueueCallback: (error: Error | null, response?: DescribeTaskQueueResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeTaskQueue.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DescribeTaskQueueResponseDescribeTaskQueueResponse
Returns

void


DescribeWorker

Ƭ DescribeWorker: Object

DescribeWorker returns information about the specified worker.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDescribeWorkerRequest
callbackDescribeWorkerCallback
Returns

void

▸ (request): Promise<DescribeWorkerResponse>

Parameters
NameType
requestIDescribeWorkerRequest
Returns

Promise<DescribeWorkerResponse>

Type declaration

NameType
name"DescribeWorker"
path"/temporal.api.workflowservice.v1.WorkflowService/DescribeWorker"
requestStreamundefined
requestType"DescribeWorkerRequest"
responseStreamundefined
responseType"DescribeWorkerResponse"

DescribeWorkerCallback

Ƭ DescribeWorkerCallback: (error: Error | null, response?: DescribeWorkerResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeWorker.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DescribeWorkerResponseDescribeWorkerResponse
Returns

void


DescribeWorkerDeployment

Ƭ DescribeWorkerDeployment: Object

Describes a Worker Deployment. Experimental. This API might significantly change or be removed in a future release.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDescribeWorkerDeploymentRequest
callbackDescribeWorkerDeploymentCallback
Returns

void

▸ (request): Promise<DescribeWorkerDeploymentResponse>

Parameters
NameType
requestIDescribeWorkerDeploymentRequest
Returns

Promise<DescribeWorkerDeploymentResponse>

Type declaration

NameType
name"DescribeWorkerDeployment"
path"/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeployment"
requestStreamundefined
requestType"DescribeWorkerDeploymentRequest"
responseStreamundefined
responseType"DescribeWorkerDeploymentResponse"

DescribeWorkerDeploymentCallback

Ƭ DescribeWorkerDeploymentCallback: (error: Error | null, response?: DescribeWorkerDeploymentResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeWorkerDeployment.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DescribeWorkerDeploymentResponseDescribeWorkerDeploymentResponse
Returns

void


DescribeWorkerDeploymentVersion

Ƭ DescribeWorkerDeploymentVersion: Object

Describes a worker deployment version. Experimental. This API might significantly change or be removed in a future release.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDescribeWorkerDeploymentVersionRequest
callbackDescribeWorkerDeploymentVersionCallback
Returns

void

▸ (request): Promise<DescribeWorkerDeploymentVersionResponse>

Parameters
NameType
requestIDescribeWorkerDeploymentVersionRequest
Returns

Promise<DescribeWorkerDeploymentVersionResponse>

Type declaration

NameType
name"DescribeWorkerDeploymentVersion"
path"/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeploymentVersion"
requestStreamundefined
requestType"DescribeWorkerDeploymentVersionRequest"
responseStreamundefined
responseType"DescribeWorkerDeploymentVersionResponse"

DescribeWorkerDeploymentVersionCallback

Ƭ DescribeWorkerDeploymentVersionCallback: (error: Error | null, response?: DescribeWorkerDeploymentVersionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeWorkerDeploymentVersion.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DescribeWorkerDeploymentVersionResponseDescribeWorkerDeploymentVersionResponse
Returns

void


DescribeWorkflowExecution

Ƭ DescribeWorkflowExecution: Object

DescribeWorkflowExecution returns information about the specified workflow execution.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDescribeWorkflowExecutionRequest
callbackDescribeWorkflowExecutionCallback
Returns

void

▸ (request): Promise<DescribeWorkflowExecutionResponse>

Parameters
NameType
requestIDescribeWorkflowExecutionRequest
Returns

Promise<DescribeWorkflowExecutionResponse>

Type declaration

NameType
name"DescribeWorkflowExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowExecution"
requestStreamundefined
requestType"DescribeWorkflowExecutionRequest"
responseStreamundefined
responseType"DescribeWorkflowExecutionResponse"

DescribeWorkflowExecutionCallback

Ƭ DescribeWorkflowExecutionCallback: (error: Error | null, response?: DescribeWorkflowExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeWorkflowExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DescribeWorkflowExecutionResponseDescribeWorkflowExecutionResponse
Returns

void


DescribeWorkflowRule

Ƭ DescribeWorkflowRule: Object

DescribeWorkflowRule return the rule specification for existing rule id. If there is no rule with such id - NOT FOUND error will be returned.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIDescribeWorkflowRuleRequest
callbackDescribeWorkflowRuleCallback
Returns

void

▸ (request): Promise<DescribeWorkflowRuleResponse>

Parameters
NameType
requestIDescribeWorkflowRuleRequest
Returns

Promise<DescribeWorkflowRuleResponse>

Type declaration

NameType
name"DescribeWorkflowRule"
path"/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowRule"
requestStreamundefined
requestType"DescribeWorkflowRuleRequest"
responseStreamundefined
responseType"DescribeWorkflowRuleResponse"

DescribeWorkflowRuleCallback

Ƭ DescribeWorkflowRuleCallback: (error: Error | null, response?: DescribeWorkflowRuleResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeWorkflowRule.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?DescribeWorkflowRuleResponseDescribeWorkflowRuleResponse
Returns

void


ExecuteMultiOperation

Ƭ ExecuteMultiOperation: Object

ExecuteMultiOperation executes multiple operations within a single workflow.

Operations are started atomically, meaning if any operation fails to be started, none are, and the request fails. Upon start, the API returns only when all operations have a response.

Upon failure, it returns MultiOperationExecutionFailure where the status code equals the status code of the first operation that failed to be started.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: To be exposed over HTTP in the future. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIExecuteMultiOperationRequest
callbackExecuteMultiOperationCallback
Returns

void

▸ (request): Promise<ExecuteMultiOperationResponse>

Parameters
NameType
requestIExecuteMultiOperationRequest
Returns

Promise<ExecuteMultiOperationResponse>

Type declaration

NameType
name"ExecuteMultiOperation"
path"/temporal.api.workflowservice.v1.WorkflowService/ExecuteMultiOperation"
requestStreamundefined
requestType"ExecuteMultiOperationRequest"
responseStreamundefined
responseType"ExecuteMultiOperationResponse"

ExecuteMultiOperationCallback

Ƭ ExecuteMultiOperationCallback: (error: Error | null, response?: ExecuteMultiOperationResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#executeMultiOperation.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ExecuteMultiOperationResponseExecuteMultiOperationResponse
Returns

void


FetchWorkerConfig

Ƭ FetchWorkerConfig: Object

FetchWorkerConfig returns the worker configuration for a specific worker.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIFetchWorkerConfigRequest
callbackFetchWorkerConfigCallback
Returns

void

▸ (request): Promise<FetchWorkerConfigResponse>

Parameters
NameType
requestIFetchWorkerConfigRequest
Returns

Promise<FetchWorkerConfigResponse>

Type declaration

NameType
name"FetchWorkerConfig"
path"/temporal.api.workflowservice.v1.WorkflowService/FetchWorkerConfig"
requestStreamundefined
requestType"FetchWorkerConfigRequest"
responseStreamundefined
responseType"FetchWorkerConfigResponse"

FetchWorkerConfigCallback

Ƭ FetchWorkerConfigCallback: (error: Error | null, response?: FetchWorkerConfigResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#fetchWorkerConfig.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?FetchWorkerConfigResponseFetchWorkerConfigResponse
Returns

void


GetClusterInfo

Ƭ GetClusterInfo: Object

GetClusterInfo returns information about temporal cluster

Call signature

▸ (request, callback): void

Parameters
NameType
requestIGetClusterInfoRequest
callbackGetClusterInfoCallback
Returns

void

▸ (request): Promise<GetClusterInfoResponse>

Parameters
NameType
requestIGetClusterInfoRequest
Returns

Promise<GetClusterInfoResponse>

Type declaration

NameType
name"GetClusterInfo"
path"/temporal.api.workflowservice.v1.WorkflowService/GetClusterInfo"
requestStreamundefined
requestType"GetClusterInfoRequest"
responseStreamundefined
responseType"GetClusterInfoResponse"

GetClusterInfoCallback

Ƭ GetClusterInfoCallback: (error: Error | null, response?: GetClusterInfoResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#getClusterInfo.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?GetClusterInfoResponseGetClusterInfoResponse
Returns

void


GetCurrentDeployment

Ƭ GetCurrentDeployment: Object

Returns the current deployment (and its info) for a given deployment series. Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced by current_version returned by DescribeWorkerDeployment.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIGetCurrentDeploymentRequest
callbackGetCurrentDeploymentCallback
Returns

void

▸ (request): Promise<GetCurrentDeploymentResponse>

Parameters
NameType
requestIGetCurrentDeploymentRequest
Returns

Promise<GetCurrentDeploymentResponse>

Type declaration

NameType
name"GetCurrentDeployment"
path"/temporal.api.workflowservice.v1.WorkflowService/GetCurrentDeployment"
requestStreamundefined
requestType"GetCurrentDeploymentRequest"
responseStreamundefined
responseType"GetCurrentDeploymentResponse"

GetCurrentDeploymentCallback

Ƭ GetCurrentDeploymentCallback: (error: Error | null, response?: GetCurrentDeploymentResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#getCurrentDeployment.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?GetCurrentDeploymentResponseGetCurrentDeploymentResponse
Returns

void


GetDeploymentReachability

Ƭ GetDeploymentReachability: Object

Returns the reachability level of a worker deployment to help users decide when it is time to decommission a deployment. Reachability level is calculated based on the deployment's status and existing workflows that depend on the given deployment for their execution. Calculating reachability is relatively expensive. Therefore, server might return a recently cached value. In such a case, the last_update_time will inform you about the actual reachability calculation time. Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced with DrainageInfo returned by DescribeWorkerDeploymentVersion.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIGetDeploymentReachabilityRequest
callbackGetDeploymentReachabilityCallback
Returns

void

▸ (request): Promise<GetDeploymentReachabilityResponse>

Parameters
NameType
requestIGetDeploymentReachabilityRequest
Returns

Promise<GetDeploymentReachabilityResponse>

Type declaration

NameType
name"GetDeploymentReachability"
path"/temporal.api.workflowservice.v1.WorkflowService/GetDeploymentReachability"
requestStreamundefined
requestType"GetDeploymentReachabilityRequest"
responseStreamundefined
responseType"GetDeploymentReachabilityResponse"

GetDeploymentReachabilityCallback

Ƭ GetDeploymentReachabilityCallback: (error: Error | null, response?: GetDeploymentReachabilityResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#getDeploymentReachability.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?GetDeploymentReachabilityResponseGetDeploymentReachabilityResponse
Returns

void


GetSearchAttributes

Ƭ GetSearchAttributes: Object

GetSearchAttributes is a visibility API to get all legal keys that could be used in list APIs

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose this search attribute API to HTTP (but may expose on OperatorService). --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIGetSearchAttributesRequest
callbackGetSearchAttributesCallback
Returns

void

▸ (request): Promise<GetSearchAttributesResponse>

Parameters
NameType
requestIGetSearchAttributesRequest
Returns

Promise<GetSearchAttributesResponse>

Type declaration

NameType
name"GetSearchAttributes"
path"/temporal.api.workflowservice.v1.WorkflowService/GetSearchAttributes"
requestStreamundefined
requestType"GetSearchAttributesRequest"
responseStreamundefined
responseType"GetSearchAttributesResponse"

GetSearchAttributesCallback

Ƭ GetSearchAttributesCallback: (error: Error | null, response?: GetSearchAttributesResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#getSearchAttributes.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?GetSearchAttributesResponseGetSearchAttributesResponse
Returns

void


GetSystemInfo

Ƭ GetSystemInfo: Object

GetSystemInfo returns information about the system.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIGetSystemInfoRequest
callbackGetSystemInfoCallback
Returns

void

▸ (request): Promise<GetSystemInfoResponse>

Parameters
NameType
requestIGetSystemInfoRequest
Returns

Promise<GetSystemInfoResponse>

Type declaration

NameType
name"GetSystemInfo"
path"/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo"
requestStreamundefined
requestType"GetSystemInfoRequest"
responseStreamundefined
responseType"GetSystemInfoResponse"

GetSystemInfoCallback

Ƭ GetSystemInfoCallback: (error: Error | null, response?: GetSystemInfoResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#getSystemInfo.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?GetSystemInfoResponseGetSystemInfoResponse
Returns

void


GetWorkerBuildIdCompatibility

Ƭ GetWorkerBuildIdCompatibility: Object

Deprecated. Use GetWorkerVersioningRules. Will be removed in server version v1.32.0. Fetches the worker build id versioning sets for a task queue.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIGetWorkerBuildIdCompatibilityRequest
callbackGetWorkerBuildIdCompatibilityCallback
Returns

void

▸ (request): Promise<GetWorkerBuildIdCompatibilityResponse>

Parameters
NameType
requestIGetWorkerBuildIdCompatibilityRequest
Returns

Promise<GetWorkerBuildIdCompatibilityResponse>

Type declaration

NameType
name"GetWorkerBuildIdCompatibility"
path"/temporal.api.workflowservice.v1.WorkflowService/GetWorkerBuildIdCompatibility"
requestStreamundefined
requestType"GetWorkerBuildIdCompatibilityRequest"
responseStreamundefined
responseType"GetWorkerBuildIdCompatibilityResponse"

GetWorkerBuildIdCompatibilityCallback

Ƭ GetWorkerBuildIdCompatibilityCallback: (error: Error | null, response?: GetWorkerBuildIdCompatibilityResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#getWorkerBuildIdCompatibility.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?GetWorkerBuildIdCompatibilityResponseGetWorkerBuildIdCompatibilityResponse
Returns

void


GetWorkerTaskReachability

Ƭ GetWorkerTaskReachability: Object

Deprecated. Use DescribeTaskQueue. Will be removed in server version v1.32.0.

Fetches task reachability to determine whether a worker may be retired. The request may specify task queues to query for or let the server fetch all task queues mapped to the given build IDs.

When requesting a large number of task queues or all task queues associated with the given build ids in a namespace, all task queues will be listed in the response but some of them may not contain reachability information due to a server enforced limit. When reaching the limit, task queues that reachability information could not be retrieved for will be marked with a single TASK_REACHABILITY_UNSPECIFIED entry. The caller may issue another call to get the reachability for those task queues.

Open source users can adjust this limit by setting the server's dynamic config value for limit.reachabilityTaskQueueScan with the caveat that this call can strain the visibility store.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIGetWorkerTaskReachabilityRequest
callbackGetWorkerTaskReachabilityCallback
Returns

void

▸ (request): Promise<GetWorkerTaskReachabilityResponse>

Parameters
NameType
requestIGetWorkerTaskReachabilityRequest
Returns

Promise<GetWorkerTaskReachabilityResponse>

Type declaration

NameType
name"GetWorkerTaskReachability"
path"/temporal.api.workflowservice.v1.WorkflowService/GetWorkerTaskReachability"
requestStreamundefined
requestType"GetWorkerTaskReachabilityRequest"
responseStreamundefined
responseType"GetWorkerTaskReachabilityResponse"

GetWorkerTaskReachabilityCallback

Ƭ GetWorkerTaskReachabilityCallback: (error: Error | null, response?: GetWorkerTaskReachabilityResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#getWorkerTaskReachability.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?GetWorkerTaskReachabilityResponseGetWorkerTaskReachabilityResponse
Returns

void


GetWorkerVersioningRules

Ƭ GetWorkerVersioningRules: Object

Fetches the Build ID assignment and redirect rules for a Task Queue. Will be removed in server version v1.32.0.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIGetWorkerVersioningRulesRequest
callbackGetWorkerVersioningRulesCallback
Returns

void

▸ (request): Promise<GetWorkerVersioningRulesResponse>

Parameters
NameType
requestIGetWorkerVersioningRulesRequest
Returns

Promise<GetWorkerVersioningRulesResponse>

Type declaration

NameType
name"GetWorkerVersioningRules"
path"/temporal.api.workflowservice.v1.WorkflowService/GetWorkerVersioningRules"
requestStreamundefined
requestType"GetWorkerVersioningRulesRequest"
responseStreamundefined
responseType"GetWorkerVersioningRulesResponse"

GetWorkerVersioningRulesCallback

Ƭ GetWorkerVersioningRulesCallback: (error: Error | null, response?: GetWorkerVersioningRulesResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#getWorkerVersioningRules.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?GetWorkerVersioningRulesResponseGetWorkerVersioningRulesResponse
Returns

void


GetWorkflowExecutionHistory

Ƭ GetWorkflowExecutionHistory: Object

GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with NotFound if the specified workflow execution is unknown to the service.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIGetWorkflowExecutionHistoryRequest
callbackGetWorkflowExecutionHistoryCallback
Returns

void

▸ (request): Promise<GetWorkflowExecutionHistoryResponse>

Parameters
NameType
requestIGetWorkflowExecutionHistoryRequest
Returns

Promise<GetWorkflowExecutionHistoryResponse>

Type declaration

NameType
name"GetWorkflowExecutionHistory"
path"/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistory"
requestStreamundefined
requestType"GetWorkflowExecutionHistoryRequest"
responseStreamundefined
responseType"GetWorkflowExecutionHistoryResponse"

GetWorkflowExecutionHistoryCallback

Ƭ GetWorkflowExecutionHistoryCallback: (error: Error | null, response?: GetWorkflowExecutionHistoryResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#getWorkflowExecutionHistory.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?GetWorkflowExecutionHistoryResponseGetWorkflowExecutionHistoryResponse
Returns

void


GetWorkflowExecutionHistoryReverse

Ƭ GetWorkflowExecutionHistoryReverse: Object

GetWorkflowExecutionHistoryReverse returns the history of specified workflow execution in reverse order (starting from last event). Fails withNotFound if the specified workflow execution is unknown to the service.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIGetWorkflowExecutionHistoryReverseRequest
callbackGetWorkflowExecutionHistoryReverseCallback
Returns

void

▸ (request): Promise<GetWorkflowExecutionHistoryReverseResponse>

Parameters
NameType
requestIGetWorkflowExecutionHistoryReverseRequest
Returns

Promise<GetWorkflowExecutionHistoryReverseResponse>

Type declaration

NameType
name"GetWorkflowExecutionHistoryReverse"
path"/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse"
requestStreamundefined
requestType"GetWorkflowExecutionHistoryReverseRequest"
responseStreamundefined
responseType"GetWorkflowExecutionHistoryReverseResponse"

GetWorkflowExecutionHistoryReverseCallback

Ƭ GetWorkflowExecutionHistoryReverseCallback: (error: Error | null, response?: GetWorkflowExecutionHistoryReverseResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#getWorkflowExecutionHistoryReverse.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?GetWorkflowExecutionHistoryReverseResponseGetWorkflowExecutionHistoryReverseResponse
Returns

void


ListActivityExecutions

Ƭ ListActivityExecutions: Object

ListActivityExecutions is a visibility API to list activity executions in a specific namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListActivityExecutionsRequest
callbackListActivityExecutionsCallback
Returns

void

▸ (request): Promise<ListActivityExecutionsResponse>

Parameters
NameType
requestIListActivityExecutionsRequest
Returns

Promise<ListActivityExecutionsResponse>

Type declaration

NameType
name"ListActivityExecutions"
path"/temporal.api.workflowservice.v1.WorkflowService/ListActivityExecutions"
requestStreamundefined
requestType"ListActivityExecutionsRequest"
responseStreamundefined
responseType"ListActivityExecutionsResponse"

ListActivityExecutionsCallback

Ƭ ListActivityExecutionsCallback: (error: Error | null, response?: ListActivityExecutionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listActivityExecutions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListActivityExecutionsResponseListActivityExecutionsResponse
Returns

void


ListArchivedWorkflowExecutions

Ƭ ListArchivedWorkflowExecutions: Object

ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListArchivedWorkflowExecutionsRequest
callbackListArchivedWorkflowExecutionsCallback
Returns

void

▸ (request): Promise<ListArchivedWorkflowExecutionsResponse>

Parameters
NameType
requestIListArchivedWorkflowExecutionsRequest
Returns

Promise<ListArchivedWorkflowExecutionsResponse>

Type declaration

NameType
name"ListArchivedWorkflowExecutions"
path"/temporal.api.workflowservice.v1.WorkflowService/ListArchivedWorkflowExecutions"
requestStreamundefined
requestType"ListArchivedWorkflowExecutionsRequest"
responseStreamundefined
responseType"ListArchivedWorkflowExecutionsResponse"

ListArchivedWorkflowExecutionsCallback

Ƭ ListArchivedWorkflowExecutionsCallback: (error: Error | null, response?: ListArchivedWorkflowExecutionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listArchivedWorkflowExecutions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListArchivedWorkflowExecutionsResponseListArchivedWorkflowExecutionsResponse
Returns

void


ListBatchOperations

Ƭ ListBatchOperations: Object

ListBatchOperations returns a list of batch operations

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListBatchOperationsRequest
callbackListBatchOperationsCallback
Returns

void

▸ (request): Promise<ListBatchOperationsResponse>

Parameters
NameType
requestIListBatchOperationsRequest
Returns

Promise<ListBatchOperationsResponse>

Type declaration

NameType
name"ListBatchOperations"
path"/temporal.api.workflowservice.v1.WorkflowService/ListBatchOperations"
requestStreamundefined
requestType"ListBatchOperationsRequest"
responseStreamundefined
responseType"ListBatchOperationsResponse"

ListBatchOperationsCallback

Ƭ ListBatchOperationsCallback: (error: Error | null, response?: ListBatchOperationsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listBatchOperations.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListBatchOperationsResponseListBatchOperationsResponse
Returns

void


ListClosedWorkflowExecutions

Ƭ ListClosedWorkflowExecutions: Object

ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListClosedWorkflowExecutionsRequest
callbackListClosedWorkflowExecutionsCallback
Returns

void

▸ (request): Promise<ListClosedWorkflowExecutionsResponse>

Parameters
NameType
requestIListClosedWorkflowExecutionsRequest
Returns

Promise<ListClosedWorkflowExecutionsResponse>

Type declaration

NameType
name"ListClosedWorkflowExecutions"
path"/temporal.api.workflowservice.v1.WorkflowService/ListClosedWorkflowExecutions"
requestStreamundefined
requestType"ListClosedWorkflowExecutionsRequest"
responseStreamundefined
responseType"ListClosedWorkflowExecutionsResponse"

ListClosedWorkflowExecutionsCallback

Ƭ ListClosedWorkflowExecutionsCallback: (error: Error | null, response?: ListClosedWorkflowExecutionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listClosedWorkflowExecutions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListClosedWorkflowExecutionsResponseListClosedWorkflowExecutionsResponse
Returns

void


ListDeployments

Ƭ ListDeployments: Object

Lists worker deployments in the namespace. Optionally can filter based on deployment series name. Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced with ListWorkerDeployments.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListDeploymentsRequest
callbackListDeploymentsCallback
Returns

void

▸ (request): Promise<ListDeploymentsResponse>

Parameters
NameType
requestIListDeploymentsRequest
Returns

Promise<ListDeploymentsResponse>

Type declaration

NameType
name"ListDeployments"
path"/temporal.api.workflowservice.v1.WorkflowService/ListDeployments"
requestStreamundefined
requestType"ListDeploymentsRequest"
responseStreamundefined
responseType"ListDeploymentsResponse"

ListDeploymentsCallback

Ƭ ListDeploymentsCallback: (error: Error | null, response?: ListDeploymentsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listDeployments.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListDeploymentsResponseListDeploymentsResponse
Returns

void


ListNamespaces

Ƭ ListNamespaces: Object

ListNamespaces returns the information and configuration for all namespaces.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListNamespacesRequest
callbackListNamespacesCallback
Returns

void

▸ (request): Promise<ListNamespacesResponse>

Parameters
NameType
requestIListNamespacesRequest
Returns

Promise<ListNamespacesResponse>

Type declaration

NameType
name"ListNamespaces"
path"/temporal.api.workflowservice.v1.WorkflowService/ListNamespaces"
requestStreamundefined
requestType"ListNamespacesRequest"
responseStreamundefined
responseType"ListNamespacesResponse"

ListNamespacesCallback

Ƭ ListNamespacesCallback: (error: Error | null, response?: ListNamespacesResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listNamespaces.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListNamespacesResponseListNamespacesResponse
Returns

void


ListNexusOperationExecutions

Ƭ ListNexusOperationExecutions: Object

ListNexusOperationExecutions is a visibility API to list Nexus operations in a specific namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListNexusOperationExecutionsRequest
callbackListNexusOperationExecutionsCallback
Returns

void

▸ (request): Promise<ListNexusOperationExecutionsResponse>

Parameters
NameType
requestIListNexusOperationExecutionsRequest
Returns

Promise<ListNexusOperationExecutionsResponse>

Type declaration

NameType
name"ListNexusOperationExecutions"
path"/temporal.api.workflowservice.v1.WorkflowService/ListNexusOperationExecutions"
requestStreamundefined
requestType"ListNexusOperationExecutionsRequest"
responseStreamundefined
responseType"ListNexusOperationExecutionsResponse"

ListNexusOperationExecutionsCallback

Ƭ ListNexusOperationExecutionsCallback: (error: Error | null, response?: ListNexusOperationExecutionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listNexusOperationExecutions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListNexusOperationExecutionsResponseListNexusOperationExecutionsResponse
Returns

void


ListOpenWorkflowExecutions

Ƭ ListOpenWorkflowExecutions: Object

ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListOpenWorkflowExecutionsRequest
callbackListOpenWorkflowExecutionsCallback
Returns

void

▸ (request): Promise<ListOpenWorkflowExecutionsResponse>

Parameters
NameType
requestIListOpenWorkflowExecutionsRequest
Returns

Promise<ListOpenWorkflowExecutionsResponse>

Type declaration

NameType
name"ListOpenWorkflowExecutions"
path"/temporal.api.workflowservice.v1.WorkflowService/ListOpenWorkflowExecutions"
requestStreamundefined
requestType"ListOpenWorkflowExecutionsRequest"
responseStreamundefined
responseType"ListOpenWorkflowExecutionsResponse"

ListOpenWorkflowExecutionsCallback

Ƭ ListOpenWorkflowExecutionsCallback: (error: Error | null, response?: ListOpenWorkflowExecutionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listOpenWorkflowExecutions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListOpenWorkflowExecutionsResponseListOpenWorkflowExecutionsResponse
Returns

void


ListScheduleMatchingTimes

Ƭ ListScheduleMatchingTimes: Object

Lists matching times within a range.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListScheduleMatchingTimesRequest
callbackListScheduleMatchingTimesCallback
Returns

void

▸ (request): Promise<ListScheduleMatchingTimesResponse>

Parameters
NameType
requestIListScheduleMatchingTimesRequest
Returns

Promise<ListScheduleMatchingTimesResponse>

Type declaration

NameType
name"ListScheduleMatchingTimes"
path"/temporal.api.workflowservice.v1.WorkflowService/ListScheduleMatchingTimes"
requestStreamundefined
requestType"ListScheduleMatchingTimesRequest"
responseStreamundefined
responseType"ListScheduleMatchingTimesResponse"

ListScheduleMatchingTimesCallback

Ƭ ListScheduleMatchingTimesCallback: (error: Error | null, response?: ListScheduleMatchingTimesResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listScheduleMatchingTimes.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListScheduleMatchingTimesResponseListScheduleMatchingTimesResponse
Returns

void


ListSchedules

Ƭ ListSchedules: Object

List all schedules in a namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListSchedulesRequest
callbackListSchedulesCallback
Returns

void

▸ (request): Promise<ListSchedulesResponse>

Parameters
NameType
requestIListSchedulesRequest
Returns

Promise<ListSchedulesResponse>

Type declaration

NameType
name"ListSchedules"
path"/temporal.api.workflowservice.v1.WorkflowService/ListSchedules"
requestStreamundefined
requestType"ListSchedulesRequest"
responseStreamundefined
responseType"ListSchedulesResponse"

ListSchedulesCallback

Ƭ ListSchedulesCallback: (error: Error | null, response?: ListSchedulesResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listSchedules.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListSchedulesResponseListSchedulesResponse
Returns

void


ListTaskQueuePartitions

Ƭ ListTaskQueuePartitions: Object

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose this low-level API to HTTP. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListTaskQueuePartitionsRequest
callbackListTaskQueuePartitionsCallback
Returns

void

▸ (request): Promise<ListTaskQueuePartitionsResponse>

Parameters
NameType
requestIListTaskQueuePartitionsRequest
Returns

Promise<ListTaskQueuePartitionsResponse>

Type declaration

NameType
name"ListTaskQueuePartitions"
path"/temporal.api.workflowservice.v1.WorkflowService/ListTaskQueuePartitions"
requestStreamundefined
requestType"ListTaskQueuePartitionsRequest"
responseStreamundefined
responseType"ListTaskQueuePartitionsResponse"

ListTaskQueuePartitionsCallback

Ƭ ListTaskQueuePartitionsCallback: (error: Error | null, response?: ListTaskQueuePartitionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listTaskQueuePartitions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListTaskQueuePartitionsResponseListTaskQueuePartitionsResponse
Returns

void


ListWorkerDeployments

Ƭ ListWorkerDeployments: Object

Lists all Worker Deployments that are tracked in the Namespace. Experimental. This API might significantly change or be removed in a future release.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListWorkerDeploymentsRequest
callbackListWorkerDeploymentsCallback
Returns

void

▸ (request): Promise<ListWorkerDeploymentsResponse>

Parameters
NameType
requestIListWorkerDeploymentsRequest
Returns

Promise<ListWorkerDeploymentsResponse>

Type declaration

NameType
name"ListWorkerDeployments"
path"/temporal.api.workflowservice.v1.WorkflowService/ListWorkerDeployments"
requestStreamundefined
requestType"ListWorkerDeploymentsRequest"
responseStreamundefined
responseType"ListWorkerDeploymentsResponse"

ListWorkerDeploymentsCallback

Ƭ ListWorkerDeploymentsCallback: (error: Error | null, response?: ListWorkerDeploymentsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listWorkerDeployments.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListWorkerDeploymentsResponseListWorkerDeploymentsResponse
Returns

void


ListWorkers

Ƭ ListWorkers: Object

ListWorkers is a visibility API to list worker status information in a specific namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListWorkersRequest
callbackListWorkersCallback
Returns

void

▸ (request): Promise<ListWorkersResponse>

Parameters
NameType
requestIListWorkersRequest
Returns

Promise<ListWorkersResponse>

Type declaration

NameType
name"ListWorkers"
path"/temporal.api.workflowservice.v1.WorkflowService/ListWorkers"
requestStreamundefined
requestType"ListWorkersRequest"
responseStreamundefined
responseType"ListWorkersResponse"

ListWorkersCallback

Ƭ ListWorkersCallback: (error: Error | null, response?: ListWorkersResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listWorkers.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListWorkersResponseListWorkersResponse
Returns

void


ListWorkflowExecutions

Ƭ ListWorkflowExecutions: Object

ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListWorkflowExecutionsRequest
callbackListWorkflowExecutionsCallback
Returns

void

▸ (request): Promise<ListWorkflowExecutionsResponse>

Parameters
NameType
requestIListWorkflowExecutionsRequest
Returns

Promise<ListWorkflowExecutionsResponse>

Type declaration

NameType
name"ListWorkflowExecutions"
path"/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions"
requestStreamundefined
requestType"ListWorkflowExecutionsRequest"
responseStreamundefined
responseType"ListWorkflowExecutionsResponse"

ListWorkflowExecutionsCallback

Ƭ ListWorkflowExecutionsCallback: (error: Error | null, response?: ListWorkflowExecutionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listWorkflowExecutions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListWorkflowExecutionsResponseListWorkflowExecutionsResponse
Returns

void


ListWorkflowRules

Ƭ ListWorkflowRules: Object

Return all namespace workflow rules

Call signature

▸ (request, callback): void

Parameters
NameType
requestIListWorkflowRulesRequest
callbackListWorkflowRulesCallback
Returns

void

▸ (request): Promise<ListWorkflowRulesResponse>

Parameters
NameType
requestIListWorkflowRulesRequest
Returns

Promise<ListWorkflowRulesResponse>

Type declaration

NameType
name"ListWorkflowRules"
path"/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowRules"
requestStreamundefined
requestType"ListWorkflowRulesRequest"
responseStreamundefined
responseType"ListWorkflowRulesResponse"

ListWorkflowRulesCallback

Ƭ ListWorkflowRulesCallback: (error: Error | null, response?: ListWorkflowRulesResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#listWorkflowRules.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ListWorkflowRulesResponseListWorkflowRulesResponse
Returns

void


PatchSchedule

Ƭ PatchSchedule: Object

Makes a specific change to a schedule or triggers an immediate action.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIPatchScheduleRequest
callbackPatchScheduleCallback
Returns

void

▸ (request): Promise<PatchScheduleResponse>

Parameters
NameType
requestIPatchScheduleRequest
Returns

Promise<PatchScheduleResponse>

Type declaration

NameType
name"PatchSchedule"
path"/temporal.api.workflowservice.v1.WorkflowService/PatchSchedule"
requestStreamundefined
requestType"PatchScheduleRequest"
responseStreamundefined
responseType"PatchScheduleResponse"

PatchScheduleCallback

Ƭ PatchScheduleCallback: (error: Error | null, response?: PatchScheduleResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#patchSchedule.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?PatchScheduleResponsePatchScheduleResponse
Returns

void


PauseActivity

Ƭ PauseActivity: Object

PauseActivity pauses the execution of an activity specified by its ID or type. If there are multiple pending activities of the provided type - all of them will be paused

Pausing an activity means:

  • If the activity is currently waiting for a retry or is running and subsequently fails, it will not be rescheduled until it is unpaused.
  • If the activity is already paused, calling this method will have no effect.
  • If the activity is running and finishes successfully, the activity will be completed.
  • If the activity is running and finishes with failure:
  • if there is no retry left - the activity will be completed.
  • if there are more retries left - the activity will be paused. For long-running activities:
  • activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'.
  • The activity should respond to the cancellation accordingly.

Returns a NotFound error if there is no pending activity with the provided ID or type This API will be deprecated soon and replaced with a newer PauseActivityExecution that is better named and structured to work well for standalone activities.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIPauseActivityRequest
callbackPauseActivityCallback
Returns

void

▸ (request): Promise<PauseActivityResponse>

Parameters
NameType
requestIPauseActivityRequest
Returns

Promise<PauseActivityResponse>

Type declaration

NameType
name"PauseActivity"
path"/temporal.api.workflowservice.v1.WorkflowService/PauseActivity"
requestStreamundefined
requestType"PauseActivityRequest"
responseStreamundefined
responseType"PauseActivityResponse"

PauseActivityCallback

Ƭ PauseActivityCallback: (error: Error | null, response?: PauseActivityResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#pauseActivity.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?PauseActivityResponsePauseActivityResponse
Returns

void


PauseActivityExecution

Ƭ PauseActivityExecution: Object

PauseActivityExecution pauses the execution of an activity specified by its ID. This API can be used to target a workflow activity or a standalone activity

Pausing an activity means:

  • If the activity is currently waiting for a retry or is running and subsequently fails, it will not be rescheduled until it is unpaused.
  • If the activity is already paused, calling this method will have no effect.
  • If the activity is running and finishes successfully, the activity will be completed.
  • If the activity is running and finishes with failure:
  • if there is no retry left - the activity will be completed.
  • if there are more retries left - the activity will be paused. For long-running activities:
  • activities in paused state will send a cancellation with "activity_paused" set to 'true' in response to 'RecordActivityTaskHeartbeat'.

Returns a NotFound error if there is no pending activity with the provided ID

Call signature

▸ (request, callback): void

Parameters
NameType
requestIPauseActivityExecutionRequest
callbackPauseActivityExecutionCallback
Returns

void

▸ (request): Promise<PauseActivityExecutionResponse>

Parameters
NameType
requestIPauseActivityExecutionRequest
Returns

Promise<PauseActivityExecutionResponse>

Type declaration

NameType
name"PauseActivityExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/PauseActivityExecution"
requestStreamundefined
requestType"PauseActivityExecutionRequest"
responseStreamundefined
responseType"PauseActivityExecutionResponse"

PauseActivityExecutionCallback

Ƭ PauseActivityExecutionCallback: (error: Error | null, response?: PauseActivityExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#pauseActivityExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?PauseActivityExecutionResponsePauseActivityExecutionResponse
Returns

void


PauseWorkflowExecution

Ƭ PauseWorkflowExecution: Object

Note: This is an experimental API and the behavior may change in a future release. PauseWorkflowExecution pauses the workflow execution specified in the request. Pausing a workflow execution results in

  • The workflow execution status changes to PAUSED and a new WORKFLOW_EXECUTION_PAUSED event is added to the history
  • No new workflow tasks or activity tasks are dispatched.
  • Any workflow task currently executing on the worker will be allowed to complete.
  • Any activity task currently executing will be paused.
  • All server-side events will continue to be processed by the server.
  • Queries & Updates on a paused workflow will be rejected.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIPauseWorkflowExecutionRequest
callbackPauseWorkflowExecutionCallback
Returns

void

▸ (request): Promise<PauseWorkflowExecutionResponse>

Parameters
NameType
requestIPauseWorkflowExecutionRequest
Returns

Promise<PauseWorkflowExecutionResponse>

Type declaration

NameType
name"PauseWorkflowExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/PauseWorkflowExecution"
requestStreamundefined
requestType"PauseWorkflowExecutionRequest"
responseStreamundefined
responseType"PauseWorkflowExecutionResponse"

PauseWorkflowExecutionCallback

Ƭ PauseWorkflowExecutionCallback: (error: Error | null, response?: PauseWorkflowExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#pauseWorkflowExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?PauseWorkflowExecutionResponsePauseWorkflowExecutionResponse
Returns

void


PollActivityExecution

Ƭ PollActivityExecution: Object

PollActivityExecution long-polls for an activity execution to complete and returns the outcome (result or failure).

Call signature

▸ (request, callback): void

Parameters
NameType
requestIPollActivityExecutionRequest
callbackPollActivityExecutionCallback
Returns

void

▸ (request): Promise<PollActivityExecutionResponse>

Parameters
NameType
requestIPollActivityExecutionRequest
Returns

Promise<PollActivityExecutionResponse>

Type declaration

NameType
name"PollActivityExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/PollActivityExecution"
requestStreamundefined
requestType"PollActivityExecutionRequest"
responseStreamundefined
responseType"PollActivityExecutionResponse"

PollActivityExecutionCallback

Ƭ PollActivityExecutionCallback: (error: Error | null, response?: PollActivityExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollActivityExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?PollActivityExecutionResponsePollActivityExecutionResponse
Returns

void


PollActivityTaskQueue

Ƭ PollActivityTaskQueue: Object

PollActivityTaskQueue is called by workers to process activity tasks from a specific task queue.

The worker is expected to call one of the RespondActivityTaskXXX methods when it is done processing the task.

An activity task is dispatched whenever a SCHEDULE_ACTIVITY_TASK command is produced during workflow execution. An in memory ACTIVITY_TASK_STARTED event is written to mutable state before the task is dispatched to the worker. The started event, and the final event (ACTIVITY_TASK_COMPLETED / ACTIVITY_TASK_FAILED / ACTIVITY_TASK_TIMED_OUT) will both be written permanently to Workflow execution history when Activity is finished. This is done to avoid writing many events in the case of a failure/retry loop.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIPollActivityTaskQueueRequest
callbackPollActivityTaskQueueCallback
Returns

void

▸ (request): Promise<PollActivityTaskQueueResponse>

Parameters
NameType
requestIPollActivityTaskQueueRequest
Returns

Promise<PollActivityTaskQueueResponse>

Type declaration

NameType
name"PollActivityTaskQueue"
path"/temporal.api.workflowservice.v1.WorkflowService/PollActivityTaskQueue"
requestStreamundefined
requestType"PollActivityTaskQueueRequest"
responseStreamundefined
responseType"PollActivityTaskQueueResponse"

PollActivityTaskQueueCallback

Ƭ PollActivityTaskQueueCallback: (error: Error | null, response?: PollActivityTaskQueueResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollActivityTaskQueue.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?PollActivityTaskQueueResponsePollActivityTaskQueueResponse
Returns

void


PollNexusOperationExecution

Ƭ PollNexusOperationExecution: Object

PollNexusOperationExecution long-polls for a Nexus operation for a given wait stage to complete and returns the outcome (result or failure).

Call signature

▸ (request, callback): void

Parameters
NameType
requestIPollNexusOperationExecutionRequest
callbackPollNexusOperationExecutionCallback
Returns

void

▸ (request): Promise<PollNexusOperationExecutionResponse>

Parameters
NameType
requestIPollNexusOperationExecutionRequest
Returns

Promise<PollNexusOperationExecutionResponse>

Type declaration

NameType
name"PollNexusOperationExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/PollNexusOperationExecution"
requestStreamundefined
requestType"PollNexusOperationExecutionRequest"
responseStreamundefined
responseType"PollNexusOperationExecutionResponse"

PollNexusOperationExecutionCallback

Ƭ PollNexusOperationExecutionCallback: (error: Error | null, response?: PollNexusOperationExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollNexusOperationExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?PollNexusOperationExecutionResponsePollNexusOperationExecutionResponse
Returns

void


PollNexusTaskQueue

Ƭ PollNexusTaskQueue: Object

PollNexusTaskQueue is a long poll call used by workers to receive Nexus tasks. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIPollNexusTaskQueueRequest
callbackPollNexusTaskQueueCallback
Returns

void

▸ (request): Promise<PollNexusTaskQueueResponse>

Parameters
NameType
requestIPollNexusTaskQueueRequest
Returns

Promise<PollNexusTaskQueueResponse>

Type declaration

NameType
name"PollNexusTaskQueue"
path"/temporal.api.workflowservice.v1.WorkflowService/PollNexusTaskQueue"
requestStreamundefined
requestType"PollNexusTaskQueueRequest"
responseStreamundefined
responseType"PollNexusTaskQueueResponse"

PollNexusTaskQueueCallback

Ƭ PollNexusTaskQueueCallback: (error: Error | null, response?: PollNexusTaskQueueResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollNexusTaskQueue.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?PollNexusTaskQueueResponsePollNexusTaskQueueResponse
Returns

void


PollWorkflowExecutionTimeSkipping

Ƭ PollWorkflowExecutionTimeSkipping: Object

Calls PollWorkflowExecutionTimeSkipping.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIPollWorkflowExecutionTimeSkippingRequest
callbackPollWorkflowExecutionTimeSkippingCallback
Returns

void

▸ (request): Promise<PollWorkflowExecutionTimeSkippingResponse>

Parameters
NameType
requestIPollWorkflowExecutionTimeSkippingRequest
Returns

Promise<PollWorkflowExecutionTimeSkippingResponse>

Type declaration

NameType
name"PollWorkflowExecutionTimeSkipping"
path"/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionTimeSkipping"
requestStreamundefined
requestType"PollWorkflowExecutionTimeSkippingRequest"
responseStreamundefined
responseType"PollWorkflowExecutionTimeSkippingResponse"

PollWorkflowExecutionTimeSkippingCallback

Ƭ PollWorkflowExecutionTimeSkippingCallback: (error: Error | null, response?: PollWorkflowExecutionTimeSkippingResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollWorkflowExecutionTimeSkipping.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?PollWorkflowExecutionTimeSkippingResponsePollWorkflowExecutionTimeSkippingResponse
Returns

void


PollWorkflowExecutionUpdate

Ƭ PollWorkflowExecutionUpdate: Object

Polls a Workflow Execution for the outcome of a Workflow Update previously issued through the UpdateWorkflowExecution RPC. The effective timeout on this call will be shorter of the the caller-supplied gRPC timeout and the server's configured long-poll timeout.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We don't expose update polling API to HTTP in favor of a potential future non-blocking form. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIPollWorkflowExecutionUpdateRequest
callbackPollWorkflowExecutionUpdateCallback
Returns

void

▸ (request): Promise<PollWorkflowExecutionUpdateResponse>

Parameters
NameType
requestIPollWorkflowExecutionUpdateRequest
Returns

Promise<PollWorkflowExecutionUpdateResponse>

Type declaration

NameType
name"PollWorkflowExecutionUpdate"
path"/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionUpdate"
requestStreamundefined
requestType"PollWorkflowExecutionUpdateRequest"
responseStreamundefined
responseType"PollWorkflowExecutionUpdateResponse"

PollWorkflowExecutionUpdateCallback

Ƭ PollWorkflowExecutionUpdateCallback: (error: Error | null, response?: PollWorkflowExecutionUpdateResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollWorkflowExecutionUpdate.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?PollWorkflowExecutionUpdateResponsePollWorkflowExecutionUpdateResponse
Returns

void


PollWorkflowTaskQueue

Ƭ PollWorkflowTaskQueue: Object

PollWorkflowTaskQueue is called by workers to make progress on workflows.

A WorkflowTask is dispatched to callers for active workflow executions with pending workflow tasks. The worker is expected to call RespondWorkflowTaskCompleted when it is done processing the task. The service will create a WorkflowTaskStarted event in the history for this task before handing it to the worker.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIPollWorkflowTaskQueueRequest
callbackPollWorkflowTaskQueueCallback
Returns

void

▸ (request): Promise<PollWorkflowTaskQueueResponse>

Parameters
NameType
requestIPollWorkflowTaskQueueRequest
Returns

Promise<PollWorkflowTaskQueueResponse>

Type declaration

NameType
name"PollWorkflowTaskQueue"
path"/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue"
requestStreamundefined
requestType"PollWorkflowTaskQueueRequest"
responseStreamundefined
responseType"PollWorkflowTaskQueueResponse"

PollWorkflowTaskQueueCallback

Ƭ PollWorkflowTaskQueueCallback: (error: Error | null, response?: PollWorkflowTaskQueueResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollWorkflowTaskQueue.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?PollWorkflowTaskQueueResponsePollWorkflowTaskQueueResponse
Returns

void


QueryWorkflow

Ƭ QueryWorkflow: Object

QueryWorkflow requests a query be executed for a specified workflow execution.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIQueryWorkflowRequest
callbackQueryWorkflowCallback
Returns

void

▸ (request): Promise<QueryWorkflowResponse>

Parameters
NameType
requestIQueryWorkflowRequest
Returns

Promise<QueryWorkflowResponse>

Type declaration

NameType
name"QueryWorkflow"
path"/temporal.api.workflowservice.v1.WorkflowService/QueryWorkflow"
requestStreamundefined
requestType"QueryWorkflowRequest"
responseStreamundefined
responseType"QueryWorkflowResponse"

QueryWorkflowCallback

Ƭ QueryWorkflowCallback: (error: Error | null, response?: QueryWorkflowResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#queryWorkflow.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?QueryWorkflowResponseQueryWorkflowResponse
Returns

void


RecordActivityTaskHeartbeat

Ƭ RecordActivityTaskHeartbeat: Object

RecordActivityTaskHeartbeat is optionally called by workers while they execute activities.

If a worker fails to heartbeat within the heartbeat_timeout interval for the activity task, then the current attempt times out. Depending on RetryPolicy, this may trigger a retry or time out the activity.

For workflow activities, an ACTIVITY_TASK_TIMED_OUT event will be written to the workflow history. Calling RecordActivityTaskHeartbeat will fail with NotFound in such situations, in that event, the SDK should request cancellation of the activity.

The request may contain response details which will be persisted by the server and may be used by the activity to checkpoint progress. The cancel_requested field in the response indicates whether cancellation has been requested for the activity.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRecordActivityTaskHeartbeatRequest
callbackRecordActivityTaskHeartbeatCallback
Returns

void

▸ (request): Promise<RecordActivityTaskHeartbeatResponse>

Parameters
NameType
requestIRecordActivityTaskHeartbeatRequest
Returns

Promise<RecordActivityTaskHeartbeatResponse>

Type declaration

NameType
name"RecordActivityTaskHeartbeat"
path"/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeat"
requestStreamundefined
requestType"RecordActivityTaskHeartbeatRequest"
responseStreamundefined
responseType"RecordActivityTaskHeartbeatResponse"

RecordActivityTaskHeartbeatById

Ƭ RecordActivityTaskHeartbeatById: Object

See RecordActivityTaskHeartbeat. This version allows clients to record heartbeats by namespace/workflow id/activity id instead of task token.

(-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "By" is used to indicate request type. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRecordActivityTaskHeartbeatByIdRequest
callbackRecordActivityTaskHeartbeatByIdCallback
Returns

void

▸ (request): Promise<RecordActivityTaskHeartbeatByIdResponse>

Parameters
NameType
requestIRecordActivityTaskHeartbeatByIdRequest
Returns

Promise<RecordActivityTaskHeartbeatByIdResponse>

Type declaration

NameType
name"RecordActivityTaskHeartbeatById"
path"/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeatById"
requestStreamundefined
requestType"RecordActivityTaskHeartbeatByIdRequest"
responseStreamundefined
responseType"RecordActivityTaskHeartbeatByIdResponse"

RecordActivityTaskHeartbeatByIdCallback

Ƭ RecordActivityTaskHeartbeatByIdCallback: (error: Error | null, response?: RecordActivityTaskHeartbeatByIdResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#recordActivityTaskHeartbeatById.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RecordActivityTaskHeartbeatByIdResponseRecordActivityTaskHeartbeatByIdResponse
Returns

void


RecordActivityTaskHeartbeatCallback

Ƭ RecordActivityTaskHeartbeatCallback: (error: Error | null, response?: RecordActivityTaskHeartbeatResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#recordActivityTaskHeartbeat.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RecordActivityTaskHeartbeatResponseRecordActivityTaskHeartbeatResponse
Returns

void


RecordWorkerHeartbeat

Ƭ RecordWorkerHeartbeat: Object

WorkerHeartbeat receive heartbeat request from the worker.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRecordWorkerHeartbeatRequest
callbackRecordWorkerHeartbeatCallback
Returns

void

▸ (request): Promise<RecordWorkerHeartbeatResponse>

Parameters
NameType
requestIRecordWorkerHeartbeatRequest
Returns

Promise<RecordWorkerHeartbeatResponse>

Type declaration

NameType
name"RecordWorkerHeartbeat"
path"/temporal.api.workflowservice.v1.WorkflowService/RecordWorkerHeartbeat"
requestStreamundefined
requestType"RecordWorkerHeartbeatRequest"
responseStreamundefined
responseType"RecordWorkerHeartbeatResponse"

RecordWorkerHeartbeatCallback

Ƭ RecordWorkerHeartbeatCallback: (error: Error | null, response?: RecordWorkerHeartbeatResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#recordWorkerHeartbeat.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RecordWorkerHeartbeatResponseRecordWorkerHeartbeatResponse
Returns

void


RegisterNamespace

Ƭ RegisterNamespace: Object

RegisterNamespace creates a new namespace which can be used as a container for all resources.

A Namespace is a top level entity within Temporal, and is used as a container for resources like workflow executions, task queues, etc. A Namespace acts as a sandbox and provides isolation for all resources within the namespace. All resources belongs to exactly one namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRegisterNamespaceRequest
callbackRegisterNamespaceCallback
Returns

void

▸ (request): Promise<RegisterNamespaceResponse>

Parameters
NameType
requestIRegisterNamespaceRequest
Returns

Promise<RegisterNamespaceResponse>

Type declaration

NameType
name"RegisterNamespace"
path"/temporal.api.workflowservice.v1.WorkflowService/RegisterNamespace"
requestStreamundefined
requestType"RegisterNamespaceRequest"
responseStreamundefined
responseType"RegisterNamespaceResponse"

RegisterNamespaceCallback

Ƭ RegisterNamespaceCallback: (error: Error | null, response?: RegisterNamespaceResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#registerNamespace.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RegisterNamespaceResponseRegisterNamespaceResponse
Returns

void


RequestCancelActivityExecution

Ƭ RequestCancelActivityExecution: Object

RequestCancelActivityExecution requests cancellation of an activity execution.

Cancellation is cooperative: this call records the request, but the activity must detect and acknowledge it for the activity to reach CANCELED status. The cancellation signal is delivered via cancel_requested in the heartbeat response; SDKs surface this via language-idiomatic mechanisms (context cancellation, exceptions, abort signals).

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRequestCancelActivityExecutionRequest
callbackRequestCancelActivityExecutionCallback
Returns

void

▸ (request): Promise<RequestCancelActivityExecutionResponse>

Parameters
NameType
requestIRequestCancelActivityExecutionRequest
Returns

Promise<RequestCancelActivityExecutionResponse>

Type declaration

NameType
name"RequestCancelActivityExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/RequestCancelActivityExecution"
requestStreamundefined
requestType"RequestCancelActivityExecutionRequest"
responseStreamundefined
responseType"RequestCancelActivityExecutionResponse"

RequestCancelActivityExecutionCallback

Ƭ RequestCancelActivityExecutionCallback: (error: Error | null, response?: RequestCancelActivityExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#requestCancelActivityExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RequestCancelActivityExecutionResponseRequestCancelActivityExecutionResponse
Returns

void


RequestCancelNexusOperationExecution

Ƭ RequestCancelNexusOperationExecution: Object

RequestCancelNexusOperationExecution requests cancellation of a Nexus operation.

Requesting to cancel an operation does not automatically transition the operation to canceled status. The operation will only transition to canceled status if it supports cancellation and the handler processes the cancellation request.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRequestCancelNexusOperationExecutionRequest
callbackRequestCancelNexusOperationExecutionCallback
Returns

void

▸ (request): Promise<RequestCancelNexusOperationExecutionResponse>

Parameters
NameType
requestIRequestCancelNexusOperationExecutionRequest
Returns

Promise<RequestCancelNexusOperationExecutionResponse>

Type declaration

NameType
name"RequestCancelNexusOperationExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/RequestCancelNexusOperationExecution"
requestStreamundefined
requestType"RequestCancelNexusOperationExecutionRequest"
responseStreamundefined
responseType"RequestCancelNexusOperationExecutionResponse"

RequestCancelNexusOperationExecutionCallback

Ƭ RequestCancelNexusOperationExecutionCallback: (error: Error | null, response?: RequestCancelNexusOperationExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#requestCancelNexusOperationExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RequestCancelNexusOperationExecutionResponseRequestCancelNexusOperationExecutionResponse
Returns

void


RequestCancelWorkflowExecution

Ƭ RequestCancelWorkflowExecution: Object

RequestCancelWorkflowExecution is called by workers when they want to request cancellation of a workflow execution.

This results in a new WORKFLOW_EXECUTION_CANCEL_REQUESTED event being written to the workflow history and a new workflow task created for the workflow. It returns success if the requested workflow is already closed. It fails with 'NotFound' if the requested workflow doesn't exist.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRequestCancelWorkflowExecutionRequest
callbackRequestCancelWorkflowExecutionCallback
Returns

void

▸ (request): Promise<RequestCancelWorkflowExecutionResponse>

Parameters
NameType
requestIRequestCancelWorkflowExecutionRequest
Returns

Promise<RequestCancelWorkflowExecutionResponse>

Type declaration

NameType
name"RequestCancelWorkflowExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/RequestCancelWorkflowExecution"
requestStreamundefined
requestType"RequestCancelWorkflowExecutionRequest"
responseStreamundefined
responseType"RequestCancelWorkflowExecutionResponse"

RequestCancelWorkflowExecutionCallback

Ƭ RequestCancelWorkflowExecutionCallback: (error: Error | null, response?: RequestCancelWorkflowExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#requestCancelWorkflowExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RequestCancelWorkflowExecutionResponseRequestCancelWorkflowExecutionResponse
Returns

void


ResetActivity

Ƭ ResetActivity: Object

ResetActivity resets the execution of an activity specified by its ID or type. If there are multiple pending activities of the provided type - all of them will be reset.

Resetting an activity means:

  • number of attempts will be reset to 0.
  • activity timeouts will be reset.
  • if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided: it will be scheduled immediately (* see 'jitter' flag),

Flags:

'jitter': the activity will be scheduled at a random time within the jitter duration. If the activity currently paused it will be unpaused, unless 'keep_paused' flag is provided. 'reset_heartbeats': the activity heartbeat timer and heartbeats will be reset. 'keep_paused': if the activity is paused, it will remain paused.

Returns a NotFound error if there is no pending activity with the provided ID or type. This API will be deprecated soon and replaced with a newer ResetActivityExecution that is better named and structured to work well for standalone activities.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIResetActivityRequest
callbackResetActivityCallback
Returns

void

▸ (request): Promise<ResetActivityResponse>

Parameters
NameType
requestIResetActivityRequest
Returns

Promise<ResetActivityResponse>

Type declaration

NameType
name"ResetActivity"
path"/temporal.api.workflowservice.v1.WorkflowService/ResetActivity"
requestStreamundefined
requestType"ResetActivityRequest"
responseStreamundefined
responseType"ResetActivityResponse"

ResetActivityCallback

Ƭ ResetActivityCallback: (error: Error | null, response?: ResetActivityResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#resetActivity.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ResetActivityResponseResetActivityResponse
Returns

void


ResetActivityExecution

Ƭ ResetActivityExecution: Object

ResetActivityExecution resets the execution of an activity specified by its ID. This API can be used to target a workflow activity or a standalone activity.

Resetting an activity means:

  • number of attempts will be reset to 0.
  • activity timeouts will be reset.
  • if the activity is waiting for retry, and it is not paused or 'keep_paused' is not provided: it will be scheduled immediately (* see 'jitter' flag)

Returns a NotFound error if there is no pending activity with the provided ID or type.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIResetActivityExecutionRequest
callbackResetActivityExecutionCallback
Returns

void

▸ (request): Promise<ResetActivityExecutionResponse>

Parameters
NameType
requestIResetActivityExecutionRequest
Returns

Promise<ResetActivityExecutionResponse>

Type declaration

NameType
name"ResetActivityExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/ResetActivityExecution"
requestStreamundefined
requestType"ResetActivityExecutionRequest"
responseStreamundefined
responseType"ResetActivityExecutionResponse"

ResetActivityExecutionCallback

Ƭ ResetActivityExecutionCallback: (error: Error | null, response?: ResetActivityExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#resetActivityExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ResetActivityExecutionResponseResetActivityExecutionResponse
Returns

void


ResetStickyTaskQueue

Ƭ ResetStickyTaskQueue: Object

ResetStickyTaskQueue resets the sticky task queue related information in the mutable state of a given workflow. This is prudent for workers to perform if a workflow has been paged out of their cache.

Things cleared are:

  1. StickyTaskQueue
  2. StickyScheduleToStartTimeout

When possible, ShutdownWorker should be preferred over ResetStickyTaskQueue (particularly when a worker is shutting down or cycling).

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIResetStickyTaskQueueRequest
callbackResetStickyTaskQueueCallback
Returns

void

▸ (request): Promise<ResetStickyTaskQueueResponse>

Parameters
NameType
requestIResetStickyTaskQueueRequest
Returns

Promise<ResetStickyTaskQueueResponse>

Type declaration

NameType
name"ResetStickyTaskQueue"
path"/temporal.api.workflowservice.v1.WorkflowService/ResetStickyTaskQueue"
requestStreamundefined
requestType"ResetStickyTaskQueueRequest"
responseStreamundefined
responseType"ResetStickyTaskQueueResponse"

ResetStickyTaskQueueCallback

Ƭ ResetStickyTaskQueueCallback: (error: Error | null, response?: ResetStickyTaskQueueResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#resetStickyTaskQueue.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ResetStickyTaskQueueResponseResetStickyTaskQueueResponse
Returns

void


ResetWorkflowExecution

Ƭ ResetWorkflowExecution: Object

ResetWorkflowExecution will reset an existing workflow execution to a specified WORKFLOW_TASK_COMPLETED event (exclusive). It will immediately terminate the current execution instance. "Exclusive" means the identified completed event itself is not replayed in the reset history; the preceding WORKFLOW_TASK_STARTED event remains and will be marked as failed immediately, and a new workflow task will be scheduled to retry it.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIResetWorkflowExecutionRequest
callbackResetWorkflowExecutionCallback
Returns

void

▸ (request): Promise<ResetWorkflowExecutionResponse>

Parameters
NameType
requestIResetWorkflowExecutionRequest
Returns

Promise<ResetWorkflowExecutionResponse>

Type declaration

NameType
name"ResetWorkflowExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/ResetWorkflowExecution"
requestStreamundefined
requestType"ResetWorkflowExecutionRequest"
responseStreamundefined
responseType"ResetWorkflowExecutionResponse"

ResetWorkflowExecutionCallback

Ƭ ResetWorkflowExecutionCallback: (error: Error | null, response?: ResetWorkflowExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#resetWorkflowExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ResetWorkflowExecutionResponseResetWorkflowExecutionResponse
Returns

void


RespondActivityTaskCanceled

Ƭ RespondActivityTaskCanceled: Object

RespondActivityTaskFailed is called by workers when processing an activity task fails.

For workflow activities, this results in a new ACTIVITY_TASK_CANCELED event being written to the workflow history and a new workflow task created for the workflow. Fails with NotFound if the task token is no longer valid due to activity timeout, already being completed, or never having existed.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRespondActivityTaskCanceledRequest
callbackRespondActivityTaskCanceledCallback
Returns

void

▸ (request): Promise<RespondActivityTaskCanceledResponse>

Parameters
NameType
requestIRespondActivityTaskCanceledRequest
Returns

Promise<RespondActivityTaskCanceledResponse>

Type declaration

NameType
name"RespondActivityTaskCanceled"
path"/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceled"
requestStreamundefined
requestType"RespondActivityTaskCanceledRequest"
responseStreamundefined
responseType"RespondActivityTaskCanceledResponse"

RespondActivityTaskCanceledById

Ƭ RespondActivityTaskCanceledById: Object

See RespondActivityTaskCanceled. This version allows clients to record failures by namespace/workflow id/activity id instead of task token.

(-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "By" is used to indicate request type. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRespondActivityTaskCanceledByIdRequest
callbackRespondActivityTaskCanceledByIdCallback
Returns

void

▸ (request): Promise<RespondActivityTaskCanceledByIdResponse>

Parameters
NameType
requestIRespondActivityTaskCanceledByIdRequest
Returns

Promise<RespondActivityTaskCanceledByIdResponse>

Type declaration

NameType
name"RespondActivityTaskCanceledById"
path"/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceledById"
requestStreamundefined
requestType"RespondActivityTaskCanceledByIdRequest"
responseStreamundefined
responseType"RespondActivityTaskCanceledByIdResponse"

RespondActivityTaskCanceledByIdCallback

Ƭ RespondActivityTaskCanceledByIdCallback: (error: Error | null, response?: RespondActivityTaskCanceledByIdResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondActivityTaskCanceledById.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RespondActivityTaskCanceledByIdResponseRespondActivityTaskCanceledByIdResponse
Returns

void


RespondActivityTaskCanceledCallback

Ƭ RespondActivityTaskCanceledCallback: (error: Error | null, response?: RespondActivityTaskCanceledResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondActivityTaskCanceled.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RespondActivityTaskCanceledResponseRespondActivityTaskCanceledResponse
Returns

void


RespondActivityTaskCompleted

Ƭ RespondActivityTaskCompleted: Object

RespondActivityTaskCompleted is called by workers when they successfully complete an activity task.

For workflow activities, this results in a new ACTIVITY_TASK_COMPLETED event being written to the workflow history and a new workflow task created for the workflow. Fails with NotFound if the task token is no longer valid due to activity timeout, already being completed, or never having existed.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRespondActivityTaskCompletedRequest
callbackRespondActivityTaskCompletedCallback
Returns

void

▸ (request): Promise<RespondActivityTaskCompletedResponse>

Parameters
NameType
requestIRespondActivityTaskCompletedRequest
Returns

Promise<RespondActivityTaskCompletedResponse>

Type declaration

NameType
name"RespondActivityTaskCompleted"
path"/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompleted"
requestStreamundefined
requestType"RespondActivityTaskCompletedRequest"
responseStreamundefined
responseType"RespondActivityTaskCompletedResponse"

RespondActivityTaskCompletedById

Ƭ RespondActivityTaskCompletedById: Object

See RespondActivityTaskCompleted. This version allows clients to record completions by namespace/workflow id/activity id instead of task token.

(-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "By" is used to indicate request type. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRespondActivityTaskCompletedByIdRequest
callbackRespondActivityTaskCompletedByIdCallback
Returns

void

▸ (request): Promise<RespondActivityTaskCompletedByIdResponse>

Parameters
NameType
requestIRespondActivityTaskCompletedByIdRequest
Returns

Promise<RespondActivityTaskCompletedByIdResponse>

Type declaration

NameType
name"RespondActivityTaskCompletedById"
path"/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompletedById"
requestStreamundefined
requestType"RespondActivityTaskCompletedByIdRequest"
responseStreamundefined
responseType"RespondActivityTaskCompletedByIdResponse"

RespondActivityTaskCompletedByIdCallback

Ƭ RespondActivityTaskCompletedByIdCallback: (error: Error | null, response?: RespondActivityTaskCompletedByIdResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondActivityTaskCompletedById.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RespondActivityTaskCompletedByIdResponseRespondActivityTaskCompletedByIdResponse
Returns

void


RespondActivityTaskCompletedCallback

Ƭ RespondActivityTaskCompletedCallback: (error: Error | null, response?: RespondActivityTaskCompletedResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondActivityTaskCompleted.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RespondActivityTaskCompletedResponseRespondActivityTaskCompletedResponse
Returns

void


RespondActivityTaskFailed

Ƭ RespondActivityTaskFailed: Object

RespondActivityTaskFailed is called by workers when processing an activity task fails.

This results in a new ACTIVITY_TASK_FAILED event being written to the workflow history and a new workflow task created for the workflow. Fails with NotFound if the task token is no longer valid due to activity timeout, already being completed, or never having existed.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRespondActivityTaskFailedRequest
callbackRespondActivityTaskFailedCallback
Returns

void

▸ (request): Promise<RespondActivityTaskFailedResponse>

Parameters
NameType
requestIRespondActivityTaskFailedRequest
Returns

Promise<RespondActivityTaskFailedResponse>

Type declaration

NameType
name"RespondActivityTaskFailed"
path"/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailed"
requestStreamundefined
requestType"RespondActivityTaskFailedRequest"
responseStreamundefined
responseType"RespondActivityTaskFailedResponse"

RespondActivityTaskFailedById

Ƭ RespondActivityTaskFailedById: Object

See RecordActivityTaskFailed. This version allows clients to record failures by namespace/workflow id/activity id instead of task token.

(-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "By" is used to indicate request type. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRespondActivityTaskFailedByIdRequest
callbackRespondActivityTaskFailedByIdCallback
Returns

void

▸ (request): Promise<RespondActivityTaskFailedByIdResponse>

Parameters
NameType
requestIRespondActivityTaskFailedByIdRequest
Returns

Promise<RespondActivityTaskFailedByIdResponse>

Type declaration

NameType
name"RespondActivityTaskFailedById"
path"/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailedById"
requestStreamundefined
requestType"RespondActivityTaskFailedByIdRequest"
responseStreamundefined
responseType"RespondActivityTaskFailedByIdResponse"

RespondActivityTaskFailedByIdCallback

Ƭ RespondActivityTaskFailedByIdCallback: (error: Error | null, response?: RespondActivityTaskFailedByIdResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondActivityTaskFailedById.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RespondActivityTaskFailedByIdResponseRespondActivityTaskFailedByIdResponse
Returns

void


RespondActivityTaskFailedCallback

Ƭ RespondActivityTaskFailedCallback: (error: Error | null, response?: RespondActivityTaskFailedResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondActivityTaskFailed.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RespondActivityTaskFailedResponseRespondActivityTaskFailedResponse
Returns

void


RespondNexusTaskCompleted

Ƭ RespondNexusTaskCompleted: Object

RespondNexusTaskCompleted is called by workers to respond to Nexus tasks received via PollNexusTaskQueue. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRespondNexusTaskCompletedRequest
callbackRespondNexusTaskCompletedCallback
Returns

void

▸ (request): Promise<RespondNexusTaskCompletedResponse>

Parameters
NameType
requestIRespondNexusTaskCompletedRequest
Returns

Promise<RespondNexusTaskCompletedResponse>

Type declaration

NameType
name"RespondNexusTaskCompleted"
path"/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskCompleted"
requestStreamundefined
requestType"RespondNexusTaskCompletedRequest"
responseStreamundefined
responseType"RespondNexusTaskCompletedResponse"

RespondNexusTaskCompletedCallback

Ƭ RespondNexusTaskCompletedCallback: (error: Error | null, response?: RespondNexusTaskCompletedResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondNexusTaskCompleted.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RespondNexusTaskCompletedResponseRespondNexusTaskCompletedResponse
Returns

void


RespondNexusTaskFailed

Ƭ RespondNexusTaskFailed: Object

RespondNexusTaskFailed is called by workers to fail Nexus tasks received via PollNexusTaskQueue. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRespondNexusTaskFailedRequest
callbackRespondNexusTaskFailedCallback
Returns

void

▸ (request): Promise<RespondNexusTaskFailedResponse>

Parameters
NameType
requestIRespondNexusTaskFailedRequest
Returns

Promise<RespondNexusTaskFailedResponse>

Type declaration

NameType
name"RespondNexusTaskFailed"
path"/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskFailed"
requestStreamundefined
requestType"RespondNexusTaskFailedRequest"
responseStreamundefined
responseType"RespondNexusTaskFailedResponse"

RespondNexusTaskFailedCallback

Ƭ RespondNexusTaskFailedCallback: (error: Error | null, response?: RespondNexusTaskFailedResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondNexusTaskFailed.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RespondNexusTaskFailedResponseRespondNexusTaskFailedResponse
Returns

void


RespondQueryTaskCompleted

Ƭ RespondQueryTaskCompleted: Object

RespondQueryTaskCompleted is called by workers to complete queries which were delivered on the query (not queries) field of a PollWorkflowTaskQueueResponse.

Completing the query will unblock the corresponding client call to QueryWorkflow and return the query result a response.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRespondQueryTaskCompletedRequest
callbackRespondQueryTaskCompletedCallback
Returns

void

▸ (request): Promise<RespondQueryTaskCompletedResponse>

Parameters
NameType
requestIRespondQueryTaskCompletedRequest
Returns

Promise<RespondQueryTaskCompletedResponse>

Type declaration

NameType
name"RespondQueryTaskCompleted"
path"/temporal.api.workflowservice.v1.WorkflowService/RespondQueryTaskCompleted"
requestStreamundefined
requestType"RespondQueryTaskCompletedRequest"
responseStreamundefined
responseType"RespondQueryTaskCompletedResponse"

RespondQueryTaskCompletedCallback

Ƭ RespondQueryTaskCompletedCallback: (error: Error | null, response?: RespondQueryTaskCompletedResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondQueryTaskCompleted.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RespondQueryTaskCompletedResponseRespondQueryTaskCompletedResponse
Returns

void


RespondWorkflowTaskCompleted

Ƭ RespondWorkflowTaskCompleted: Object

RespondWorkflowTaskCompleted is called by workers to successfully complete workflow tasks they received from PollWorkflowTaskQueue.

Completing a WorkflowTask will write a WORKFLOW_TASK_COMPLETED event to the workflow's history, along with events corresponding to whatever commands the SDK generated while executing the task (ex timer started, activity task scheduled, etc).

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRespondWorkflowTaskCompletedRequest
callbackRespondWorkflowTaskCompletedCallback
Returns

void

▸ (request): Promise<RespondWorkflowTaskCompletedResponse>

Parameters
NameType
requestIRespondWorkflowTaskCompletedRequest
Returns

Promise<RespondWorkflowTaskCompletedResponse>

Type declaration

NameType
name"RespondWorkflowTaskCompleted"
path"/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskCompleted"
requestStreamundefined
requestType"RespondWorkflowTaskCompletedRequest"
responseStreamundefined
responseType"RespondWorkflowTaskCompletedResponse"

RespondWorkflowTaskCompletedCallback

Ƭ RespondWorkflowTaskCompletedCallback: (error: Error | null, response?: RespondWorkflowTaskCompletedResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondWorkflowTaskCompleted.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RespondWorkflowTaskCompletedResponseRespondWorkflowTaskCompletedResponse
Returns

void


RespondWorkflowTaskFailed

Ƭ RespondWorkflowTaskFailed: Object

RespondWorkflowTaskFailed is called by workers to indicate the processing of a workflow task failed.

This results in a WORKFLOW_TASK_FAILED event written to the history, and a new workflow task will be scheduled. This API can be used to report unhandled failures resulting from applying the workflow task.

Temporal will only append first WorkflowTaskFailed event to the history of workflow execution for consecutive failures.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIRespondWorkflowTaskFailedRequest
callbackRespondWorkflowTaskFailedCallback
Returns

void

▸ (request): Promise<RespondWorkflowTaskFailedResponse>

Parameters
NameType
requestIRespondWorkflowTaskFailedRequest
Returns

Promise<RespondWorkflowTaskFailedResponse>

Type declaration

NameType
name"RespondWorkflowTaskFailed"
path"/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskFailed"
requestStreamundefined
requestType"RespondWorkflowTaskFailedRequest"
responseStreamundefined
responseType"RespondWorkflowTaskFailedResponse"

RespondWorkflowTaskFailedCallback

Ƭ RespondWorkflowTaskFailedCallback: (error: Error | null, response?: RespondWorkflowTaskFailedResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondWorkflowTaskFailed.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?RespondWorkflowTaskFailedResponseRespondWorkflowTaskFailedResponse
Returns

void


ScanWorkflowExecutions

Ƭ ScanWorkflowExecutions: Object

ScanWorkflowExecutions was a visibility API to list large amount of workflow executions in a specific namespace without order. It has since been deprecated in favor of ListWorkflowExecutions and rewritten to use ListWorkflowExecutions internally.

Deprecated: Replaced with ListWorkflowExecutions. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: HTTP users should use ListWorkflowExecutions instead. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIScanWorkflowExecutionsRequest
callbackScanWorkflowExecutionsCallback
Returns

void

▸ (request): Promise<ScanWorkflowExecutionsResponse>

Parameters
NameType
requestIScanWorkflowExecutionsRequest
Returns

Promise<ScanWorkflowExecutionsResponse>

Type declaration

NameType
name"ScanWorkflowExecutions"
path"/temporal.api.workflowservice.v1.WorkflowService/ScanWorkflowExecutions"
requestStreamundefined
requestType"ScanWorkflowExecutionsRequest"
responseStreamundefined
responseType"ScanWorkflowExecutionsResponse"

ScanWorkflowExecutionsCallback

Ƭ ScanWorkflowExecutionsCallback: (error: Error | null, response?: ScanWorkflowExecutionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#scanWorkflowExecutions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ScanWorkflowExecutionsResponseScanWorkflowExecutionsResponse
Returns

void


SetCurrentDeployment

Ƭ SetCurrentDeployment: Object

Sets a deployment as the current deployment for its deployment series. Can optionally update the metadata of the deployment as well. Experimental. This API might significantly change or be removed in a future release. Deprecated. Replaced by SetWorkerDeploymentCurrentVersion.

Call signature

▸ (request, callback): void

Parameters
NameType
requestISetCurrentDeploymentRequest
callbackSetCurrentDeploymentCallback
Returns

void

▸ (request): Promise<SetCurrentDeploymentResponse>

Parameters
NameType
requestISetCurrentDeploymentRequest
Returns

Promise<SetCurrentDeploymentResponse>

Type declaration

NameType
name"SetCurrentDeployment"
path"/temporal.api.workflowservice.v1.WorkflowService/SetCurrentDeployment"
requestStreamundefined
requestType"SetCurrentDeploymentRequest"
responseStreamundefined
responseType"SetCurrentDeploymentResponse"

SetCurrentDeploymentCallback

Ƭ SetCurrentDeploymentCallback: (error: Error | null, response?: SetCurrentDeploymentResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#setCurrentDeployment.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?SetCurrentDeploymentResponseSetCurrentDeploymentResponse
Returns

void


SetWorkerDeploymentCurrentVersion

Ƭ SetWorkerDeploymentCurrentVersion: Object

Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping Version if it is the Version being set as Current. Experimental. This API might significantly change or be removed in a future release.

Call signature

▸ (request, callback): void

Parameters
NameType
requestISetWorkerDeploymentCurrentVersionRequest
callbackSetWorkerDeploymentCurrentVersionCallback
Returns

void

▸ (request): Promise<SetWorkerDeploymentCurrentVersionResponse>

Parameters
NameType
requestISetWorkerDeploymentCurrentVersionRequest
Returns

Promise<SetWorkerDeploymentCurrentVersionResponse>

Type declaration

NameType
name"SetWorkerDeploymentCurrentVersion"
path"/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentCurrentVersion"
requestStreamundefined
requestType"SetWorkerDeploymentCurrentVersionRequest"
responseStreamundefined
responseType"SetWorkerDeploymentCurrentVersionResponse"

SetWorkerDeploymentCurrentVersionCallback

Ƭ SetWorkerDeploymentCurrentVersionCallback: (error: Error | null, response?: SetWorkerDeploymentCurrentVersionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#setWorkerDeploymentCurrentVersion.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?SetWorkerDeploymentCurrentVersionResponseSetWorkerDeploymentCurrentVersionResponse
Returns

void


SetWorkerDeploymentManager

Ƭ SetWorkerDeploymentManager: Object

Set/unset the ManagerIdentity of a Worker Deployment. Experimental. This API might significantly change or be removed in a future release.

Call signature

▸ (request, callback): void

Parameters
NameType
requestISetWorkerDeploymentManagerRequest
callbackSetWorkerDeploymentManagerCallback
Returns

void

▸ (request): Promise<SetWorkerDeploymentManagerResponse>

Parameters
NameType
requestISetWorkerDeploymentManagerRequest
Returns

Promise<SetWorkerDeploymentManagerResponse>

Type declaration

NameType
name"SetWorkerDeploymentManager"
path"/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentManager"
requestStreamundefined
requestType"SetWorkerDeploymentManagerRequest"
responseStreamundefined
responseType"SetWorkerDeploymentManagerResponse"

SetWorkerDeploymentManagerCallback

Ƭ SetWorkerDeploymentManagerCallback: (error: Error | null, response?: SetWorkerDeploymentManagerResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#setWorkerDeploymentManager.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?SetWorkerDeploymentManagerResponseSetWorkerDeploymentManagerResponse
Returns

void


SetWorkerDeploymentRampingVersion

Ƭ SetWorkerDeploymentRampingVersion: Object

Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for gradual ramp to unversioned workers too. Experimental. This API might significantly change or be removed in a future release.

Call signature

▸ (request, callback): void

Parameters
NameType
requestISetWorkerDeploymentRampingVersionRequest
callbackSetWorkerDeploymentRampingVersionCallback
Returns

void

▸ (request): Promise<SetWorkerDeploymentRampingVersionResponse>

Parameters
NameType
requestISetWorkerDeploymentRampingVersionRequest
Returns

Promise<SetWorkerDeploymentRampingVersionResponse>

Type declaration

NameType
name"SetWorkerDeploymentRampingVersion"
path"/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentRampingVersion"
requestStreamundefined
requestType"SetWorkerDeploymentRampingVersionRequest"
responseStreamundefined
responseType"SetWorkerDeploymentRampingVersionResponse"

SetWorkerDeploymentRampingVersionCallback

Ƭ SetWorkerDeploymentRampingVersionCallback: (error: Error | null, response?: SetWorkerDeploymentRampingVersionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#setWorkerDeploymentRampingVersion.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?SetWorkerDeploymentRampingVersionResponseSetWorkerDeploymentRampingVersionResponse
Returns

void


ShutdownWorker

Ƭ ShutdownWorker: Object

ShutdownWorker is used to indicate that the given sticky task queue is no longer being polled by its worker. Following the completion of ShutdownWorker, newly-added workflow tasks will instead be placed in the normal task queue, eligible for any worker to pick up.

ShutdownWorker should be called by workers while shutting down, after they've shut down their pollers. If another sticky poll request is issued, the sticky task queue will be revived.

As of Temporal Server v1.25.0, ShutdownWorker hasn't yet been implemented.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose worker API to HTTP. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIShutdownWorkerRequest
callbackShutdownWorkerCallback
Returns

void

▸ (request): Promise<ShutdownWorkerResponse>

Parameters
NameType
requestIShutdownWorkerRequest
Returns

Promise<ShutdownWorkerResponse>

Type declaration

NameType
name"ShutdownWorker"
path"/temporal.api.workflowservice.v1.WorkflowService/ShutdownWorker"
requestStreamundefined
requestType"ShutdownWorkerRequest"
responseStreamundefined
responseType"ShutdownWorkerResponse"

ShutdownWorkerCallback

Ƭ ShutdownWorkerCallback: (error: Error | null, response?: ShutdownWorkerResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#shutdownWorker.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ShutdownWorkerResponseShutdownWorkerResponse
Returns

void


SignalWithStartWorkflowExecution

Ƭ SignalWithStartWorkflowExecution: Object

SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if it isn't yet started.

If the workflow is running, a WORKFLOW_EXECUTION_SIGNALED event is recorded in the history and a workflow task is generated.

If the workflow is not running or not found, then the workflow is created with WORKFLOW_EXECUTION_STARTED and WORKFLOW_EXECUTION_SIGNALED events in its history, and a workflow task is generated.

(-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "With" is used to indicate combined operation. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestISignalWithStartWorkflowExecutionRequest
callbackSignalWithStartWorkflowExecutionCallback
Returns

void

▸ (request): Promise<SignalWithStartWorkflowExecutionResponse>

Parameters
NameType
requestISignalWithStartWorkflowExecutionRequest
Returns

Promise<SignalWithStartWorkflowExecutionResponse>

Type declaration

NameType
name"SignalWithStartWorkflowExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/SignalWithStartWorkflowExecution"
requestStreamundefined
requestType"SignalWithStartWorkflowExecutionRequest"
responseStreamundefined
responseType"SignalWithStartWorkflowExecutionResponse"

SignalWithStartWorkflowExecutionCallback

Ƭ SignalWithStartWorkflowExecutionCallback: (error: Error | null, response?: SignalWithStartWorkflowExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#signalWithStartWorkflowExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?SignalWithStartWorkflowExecutionResponseSignalWithStartWorkflowExecutionResponse
Returns

void


SignalWorkflowExecution

Ƭ SignalWorkflowExecution: Object

SignalWorkflowExecution is used to send a signal to a running workflow execution.

This results in a WORKFLOW_EXECUTION_SIGNALED event recorded in the history and a workflow task being created for the execution.

Call signature

▸ (request, callback): void

Parameters
NameType
requestISignalWorkflowExecutionRequest
callbackSignalWorkflowExecutionCallback
Returns

void

▸ (request): Promise<SignalWorkflowExecutionResponse>

Parameters
NameType
requestISignalWorkflowExecutionRequest
Returns

Promise<SignalWorkflowExecutionResponse>

Type declaration

NameType
name"SignalWorkflowExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/SignalWorkflowExecution"
requestStreamundefined
requestType"SignalWorkflowExecutionRequest"
responseStreamundefined
responseType"SignalWorkflowExecutionResponse"

SignalWorkflowExecutionCallback

Ƭ SignalWorkflowExecutionCallback: (error: Error | null, response?: SignalWorkflowExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#signalWorkflowExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?SignalWorkflowExecutionResponseSignalWorkflowExecutionResponse
Returns

void


StartActivityExecution

Ƭ StartActivityExecution: Object

StartActivityExecution starts a new activity execution.

Returns an ActivityExecutionAlreadyStarted error if an instance already exists with same activity ID in this namespace unless permitted by the specified ID conflict policy.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIStartActivityExecutionRequest
callbackStartActivityExecutionCallback
Returns

void

▸ (request): Promise<StartActivityExecutionResponse>

Parameters
NameType
requestIStartActivityExecutionRequest
Returns

Promise<StartActivityExecutionResponse>

Type declaration

NameType
name"StartActivityExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/StartActivityExecution"
requestStreamundefined
requestType"StartActivityExecutionRequest"
responseStreamundefined
responseType"StartActivityExecutionResponse"

StartActivityExecutionCallback

Ƭ StartActivityExecutionCallback: (error: Error | null, response?: StartActivityExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#startActivityExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?StartActivityExecutionResponseStartActivityExecutionResponse
Returns

void


StartBatchOperation

Ƭ StartBatchOperation: Object

StartBatchOperation starts a new batch operation

Call signature

▸ (request, callback): void

Parameters
NameType
requestIStartBatchOperationRequest
callbackStartBatchOperationCallback
Returns

void

▸ (request): Promise<StartBatchOperationResponse>

Parameters
NameType
requestIStartBatchOperationRequest
Returns

Promise<StartBatchOperationResponse>

Type declaration

NameType
name"StartBatchOperation"
path"/temporal.api.workflowservice.v1.WorkflowService/StartBatchOperation"
requestStreamundefined
requestType"StartBatchOperationRequest"
responseStreamundefined
responseType"StartBatchOperationResponse"

StartBatchOperationCallback

Ƭ StartBatchOperationCallback: (error: Error | null, response?: StartBatchOperationResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#startBatchOperation.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?StartBatchOperationResponseStartBatchOperationResponse
Returns

void


StartNexusOperationExecution

Ƭ StartNexusOperationExecution: Object

StartNexusOperationExecution starts a new Nexus operation.

Returns a NexusOperationExecutionAlreadyStarted error if an instance already exists with same operation ID in this namespace unless permitted by the specified ID conflict policy.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIStartNexusOperationExecutionRequest
callbackStartNexusOperationExecutionCallback
Returns

void

▸ (request): Promise<StartNexusOperationExecutionResponse>

Parameters
NameType
requestIStartNexusOperationExecutionRequest
Returns

Promise<StartNexusOperationExecutionResponse>

Type declaration

NameType
name"StartNexusOperationExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/StartNexusOperationExecution"
requestStreamundefined
requestType"StartNexusOperationExecutionRequest"
responseStreamundefined
responseType"StartNexusOperationExecutionResponse"

StartNexusOperationExecutionCallback

Ƭ StartNexusOperationExecutionCallback: (error: Error | null, response?: StartNexusOperationExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#startNexusOperationExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?StartNexusOperationExecutionResponseStartNexusOperationExecutionResponse
Returns

void


StartWorkflowExecution

Ƭ StartWorkflowExecution: Object

StartWorkflowExecution starts a new workflow execution.

It will create the execution with a WORKFLOW_EXECUTION_STARTED event in its history and also schedule the first workflow task. Returns WorkflowExecutionAlreadyStarted, if an instance already exists with same workflow id.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIStartWorkflowExecutionRequest
callbackStartWorkflowExecutionCallback
Returns

void

▸ (request): Promise<StartWorkflowExecutionResponse>

Parameters
NameType
requestIStartWorkflowExecutionRequest
Returns

Promise<StartWorkflowExecutionResponse>

Type declaration

NameType
name"StartWorkflowExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/StartWorkflowExecution"
requestStreamundefined
requestType"StartWorkflowExecutionRequest"
responseStreamundefined
responseType"StartWorkflowExecutionResponse"

StartWorkflowExecutionCallback

Ƭ StartWorkflowExecutionCallback: (error: Error | null, response?: StartWorkflowExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#startWorkflowExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?StartWorkflowExecutionResponseStartWorkflowExecutionResponse
Returns

void


StopBatchOperation

Ƭ StopBatchOperation: Object

StopBatchOperation stops a batch operation

Call signature

▸ (request, callback): void

Parameters
NameType
requestIStopBatchOperationRequest
callbackStopBatchOperationCallback
Returns

void

▸ (request): Promise<StopBatchOperationResponse>

Parameters
NameType
requestIStopBatchOperationRequest
Returns

Promise<StopBatchOperationResponse>

Type declaration

NameType
name"StopBatchOperation"
path"/temporal.api.workflowservice.v1.WorkflowService/StopBatchOperation"
requestStreamundefined
requestType"StopBatchOperationRequest"
responseStreamundefined
responseType"StopBatchOperationResponse"

StopBatchOperationCallback

Ƭ StopBatchOperationCallback: (error: Error | null, response?: StopBatchOperationResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#stopBatchOperation.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?StopBatchOperationResponseStopBatchOperationResponse
Returns

void


TerminateActivityExecution

Ƭ TerminateActivityExecution: Object

TerminateActivityExecution terminates an existing activity execution immediately.

Termination does not reach the worker and the activity code cannot react to it. A terminated activity may have a running attempt.

Call signature

▸ (request, callback): void

Parameters
NameType
requestITerminateActivityExecutionRequest
callbackTerminateActivityExecutionCallback
Returns

void

▸ (request): Promise<TerminateActivityExecutionResponse>

Parameters
NameType
requestITerminateActivityExecutionRequest
Returns

Promise<TerminateActivityExecutionResponse>

Type declaration

NameType
name"TerminateActivityExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/TerminateActivityExecution"
requestStreamundefined
requestType"TerminateActivityExecutionRequest"
responseStreamundefined
responseType"TerminateActivityExecutionResponse"

TerminateActivityExecutionCallback

Ƭ TerminateActivityExecutionCallback: (error: Error | null, response?: TerminateActivityExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#terminateActivityExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?TerminateActivityExecutionResponseTerminateActivityExecutionResponse
Returns

void


TerminateNexusOperationExecution

Ƭ TerminateNexusOperationExecution: Object

TerminateNexusOperationExecution terminates an existing Nexus operation immediately.

Termination happens immediately and the operation handler cannot react to it. A terminated operation will have its outcome set to a failure with a termination reason.

Call signature

▸ (request, callback): void

Parameters
NameType
requestITerminateNexusOperationExecutionRequest
callbackTerminateNexusOperationExecutionCallback
Returns

void

▸ (request): Promise<TerminateNexusOperationExecutionResponse>

Parameters
NameType
requestITerminateNexusOperationExecutionRequest
Returns

Promise<TerminateNexusOperationExecutionResponse>

Type declaration

NameType
name"TerminateNexusOperationExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/TerminateNexusOperationExecution"
requestStreamundefined
requestType"TerminateNexusOperationExecutionRequest"
responseStreamundefined
responseType"TerminateNexusOperationExecutionResponse"

TerminateNexusOperationExecutionCallback

Ƭ TerminateNexusOperationExecutionCallback: (error: Error | null, response?: TerminateNexusOperationExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#terminateNexusOperationExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?TerminateNexusOperationExecutionResponseTerminateNexusOperationExecutionResponse
Returns

void


TerminateWorkflowExecution

Ƭ TerminateWorkflowExecution: Object

TerminateWorkflowExecution terminates an existing workflow execution by recording a WORKFLOW_EXECUTION_TERMINATED event in the history and immediately terminating the execution instance.

Call signature

▸ (request, callback): void

Parameters
NameType
requestITerminateWorkflowExecutionRequest
callbackTerminateWorkflowExecutionCallback
Returns

void

▸ (request): Promise<TerminateWorkflowExecutionResponse>

Parameters
NameType
requestITerminateWorkflowExecutionRequest
Returns

Promise<TerminateWorkflowExecutionResponse>

Type declaration

NameType
name"TerminateWorkflowExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/TerminateWorkflowExecution"
requestStreamundefined
requestType"TerminateWorkflowExecutionRequest"
responseStreamundefined
responseType"TerminateWorkflowExecutionResponse"

TerminateWorkflowExecutionCallback

Ƭ TerminateWorkflowExecutionCallback: (error: Error | null, response?: TerminateWorkflowExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#terminateWorkflowExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?TerminateWorkflowExecutionResponseTerminateWorkflowExecutionResponse
Returns

void


TriggerWorkflowRule

Ƭ TriggerWorkflowRule: Object

TriggerWorkflowRule allows to:

  • trigger existing rule for a specific workflow execution;
  • trigger rule for a specific workflow execution without creating a rule; This is useful for one-off operations.

Call signature

▸ (request, callback): void

Parameters
NameType
requestITriggerWorkflowRuleRequest
callbackTriggerWorkflowRuleCallback
Returns

void

▸ (request): Promise<TriggerWorkflowRuleResponse>

Parameters
NameType
requestITriggerWorkflowRuleRequest
Returns

Promise<TriggerWorkflowRuleResponse>

Type declaration

NameType
name"TriggerWorkflowRule"
path"/temporal.api.workflowservice.v1.WorkflowService/TriggerWorkflowRule"
requestStreamundefined
requestType"TriggerWorkflowRuleRequest"
responseStreamundefined
responseType"TriggerWorkflowRuleResponse"

TriggerWorkflowRuleCallback

Ƭ TriggerWorkflowRuleCallback: (error: Error | null, response?: TriggerWorkflowRuleResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#triggerWorkflowRule.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?TriggerWorkflowRuleResponseTriggerWorkflowRuleResponse
Returns

void


UnpauseActivity

Ƭ UnpauseActivity: Object

UnpauseActivity unpauses the execution of an activity specified by its ID or type. If there are multiple pending activities of the provided type - all of them will be unpaused.

If activity is not paused, this call will have no effect. If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag). Once the activity is unpaused, all timeout timers will be regenerated.

Flags: 'jitter': the activity will be scheduled at a random time within the jitter duration. 'reset_attempts': the number of attempts will be reset. 'reset_heartbeat': the activity heartbeat timer and heartbeats will be reset.

Returns a NotFound error if there is no pending activity with the provided ID or type This API will be deprecated soon and replaced with a newer UnpauseActivityExecution that is better named and structured to work well for standalone activities.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUnpauseActivityRequest
callbackUnpauseActivityCallback
Returns

void

▸ (request): Promise<UnpauseActivityResponse>

Parameters
NameType
requestIUnpauseActivityRequest
Returns

Promise<UnpauseActivityResponse>

Type declaration

NameType
name"UnpauseActivity"
path"/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivity"
requestStreamundefined
requestType"UnpauseActivityRequest"
responseStreamundefined
responseType"UnpauseActivityResponse"

UnpauseActivityCallback

Ƭ UnpauseActivityCallback: (error: Error | null, response?: UnpauseActivityResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#unpauseActivity.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UnpauseActivityResponseUnpauseActivityResponse
Returns

void


UnpauseActivityExecution

Ƭ UnpauseActivityExecution: Object

UnpauseActivityExecution unpauses the execution of an activity specified by its ID. This API can be used to target a workflow activity or a standalone activity.

If activity is not paused, this call will have no effect. If the activity was paused while waiting for retry, it will be scheduled immediately (* see 'jitter' flag). Once the activity is unpaused, all timeout timers will be regenerated.

Returns a NotFound error if there is no pending activity with the provided ID

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUnpauseActivityExecutionRequest
callbackUnpauseActivityExecutionCallback
Returns

void

▸ (request): Promise<UnpauseActivityExecutionResponse>

Parameters
NameType
requestIUnpauseActivityExecutionRequest
Returns

Promise<UnpauseActivityExecutionResponse>

Type declaration

NameType
name"UnpauseActivityExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivityExecution"
requestStreamundefined
requestType"UnpauseActivityExecutionRequest"
responseStreamundefined
responseType"UnpauseActivityExecutionResponse"

UnpauseActivityExecutionCallback

Ƭ UnpauseActivityExecutionCallback: (error: Error | null, response?: UnpauseActivityExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#unpauseActivityExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UnpauseActivityExecutionResponseUnpauseActivityExecutionResponse
Returns

void


UnpauseWorkflowExecution

Ƭ UnpauseWorkflowExecution: Object

Note: This is an experimental API and the behavior may change in a future release. UnpauseWorkflowExecution unpauses a previously paused workflow execution specified in the request. Unpausing a workflow execution results in

  • The workflow execution status changes to RUNNING and a new WORKFLOW_EXECUTION_UNPAUSED event is added to the history
  • Workflow tasks and activity tasks are resumed.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUnpauseWorkflowExecutionRequest
callbackUnpauseWorkflowExecutionCallback
Returns

void

▸ (request): Promise<UnpauseWorkflowExecutionResponse>

Parameters
NameType
requestIUnpauseWorkflowExecutionRequest
Returns

Promise<UnpauseWorkflowExecutionResponse>

Type declaration

NameType
name"UnpauseWorkflowExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/UnpauseWorkflowExecution"
requestStreamundefined
requestType"UnpauseWorkflowExecutionRequest"
responseStreamundefined
responseType"UnpauseWorkflowExecutionResponse"

UnpauseWorkflowExecutionCallback

Ƭ UnpauseWorkflowExecutionCallback: (error: Error | null, response?: UnpauseWorkflowExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#unpauseWorkflowExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UnpauseWorkflowExecutionResponseUnpauseWorkflowExecutionResponse
Returns

void


UpdateActivityExecutionOptions

Ƭ UpdateActivityExecutionOptions: Object

UpdateActivityExecutionOptions is called by the client to update the options of an activity by its ID. This API can be used to target a workflow activity or a standalone activity.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUpdateActivityExecutionOptionsRequest
callbackUpdateActivityExecutionOptionsCallback
Returns

void

▸ (request): Promise<UpdateActivityExecutionOptionsResponse>

Parameters
NameType
requestIUpdateActivityExecutionOptionsRequest
Returns

Promise<UpdateActivityExecutionOptionsResponse>

Type declaration

NameType
name"UpdateActivityExecutionOptions"
path"/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityExecutionOptions"
requestStreamundefined
requestType"UpdateActivityExecutionOptionsRequest"
responseStreamundefined
responseType"UpdateActivityExecutionOptionsResponse"

UpdateActivityExecutionOptionsCallback

Ƭ UpdateActivityExecutionOptionsCallback: (error: Error | null, response?: UpdateActivityExecutionOptionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateActivityExecutionOptions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UpdateActivityExecutionOptionsResponseUpdateActivityExecutionOptionsResponse
Returns

void


UpdateActivityOptions

Ƭ UpdateActivityOptions: Object

UpdateActivityOptions is called by the client to update the options of an activity by its ID or type. If there are multiple pending activities of the provided type - all of them will be updated. This API will be deprecated soon and replaced with a newer UpdateActivityExecutionOptions that is better named and structured to work well for standalone activities.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUpdateActivityOptionsRequest
callbackUpdateActivityOptionsCallback
Returns

void

▸ (request): Promise<UpdateActivityOptionsResponse>

Parameters
NameType
requestIUpdateActivityOptionsRequest
Returns

Promise<UpdateActivityOptionsResponse>

Type declaration

NameType
name"UpdateActivityOptions"
path"/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityOptions"
requestStreamundefined
requestType"UpdateActivityOptionsRequest"
responseStreamundefined
responseType"UpdateActivityOptionsResponse"

UpdateActivityOptionsCallback

Ƭ UpdateActivityOptionsCallback: (error: Error | null, response?: UpdateActivityOptionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateActivityOptions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UpdateActivityOptionsResponseUpdateActivityOptionsResponse
Returns

void


UpdateNamespace

Ƭ UpdateNamespace: Object

UpdateNamespace is used to update the information and configuration of a registered namespace.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUpdateNamespaceRequest
callbackUpdateNamespaceCallback
Returns

void

▸ (request): Promise<UpdateNamespaceResponse>

Parameters
NameType
requestIUpdateNamespaceRequest
Returns

Promise<UpdateNamespaceResponse>

Type declaration

NameType
name"UpdateNamespace"
path"/temporal.api.workflowservice.v1.WorkflowService/UpdateNamespace"
requestStreamundefined
requestType"UpdateNamespaceRequest"
responseStreamundefined
responseType"UpdateNamespaceResponse"

UpdateNamespaceCallback

Ƭ UpdateNamespaceCallback: (error: Error | null, response?: UpdateNamespaceResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateNamespace.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UpdateNamespaceResponseUpdateNamespaceResponse
Returns

void


UpdateSchedule

Ƭ UpdateSchedule: Object

Changes the configuration or state of an existing schedule.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUpdateScheduleRequest
callbackUpdateScheduleCallback
Returns

void

▸ (request): Promise<UpdateScheduleResponse>

Parameters
NameType
requestIUpdateScheduleRequest
Returns

Promise<UpdateScheduleResponse>

Type declaration

NameType
name"UpdateSchedule"
path"/temporal.api.workflowservice.v1.WorkflowService/UpdateSchedule"
requestStreamundefined
requestType"UpdateScheduleRequest"
responseStreamundefined
responseType"UpdateScheduleResponse"

UpdateScheduleCallback

Ƭ UpdateScheduleCallback: (error: Error | null, response?: UpdateScheduleResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateSchedule.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UpdateScheduleResponseUpdateScheduleResponse
Returns

void


UpdateTaskQueueConfig

Ƭ UpdateTaskQueueConfig: Object

Updates task queue configuration. For the overall queue rate limit: the rate limit set by this api overrides the worker-set rate limit, which uncouples the rate limit from the worker lifecycle. If the overall queue rate limit is unset, the worker-set rate limit takes effect.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUpdateTaskQueueConfigRequest
callbackUpdateTaskQueueConfigCallback
Returns

void

▸ (request): Promise<UpdateTaskQueueConfigResponse>

Parameters
NameType
requestIUpdateTaskQueueConfigRequest
Returns

Promise<UpdateTaskQueueConfigResponse>

Type declaration

NameType
name"UpdateTaskQueueConfig"
path"/temporal.api.workflowservice.v1.WorkflowService/UpdateTaskQueueConfig"
requestStreamundefined
requestType"UpdateTaskQueueConfigRequest"
responseStreamundefined
responseType"UpdateTaskQueueConfigResponse"

UpdateTaskQueueConfigCallback

Ƭ UpdateTaskQueueConfigCallback: (error: Error | null, response?: UpdateTaskQueueConfigResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateTaskQueueConfig.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UpdateTaskQueueConfigResponseUpdateTaskQueueConfigResponse
Returns

void


UpdateWorkerBuildIdCompatibility

Ƭ UpdateWorkerBuildIdCompatibility: Object

Deprecated. Use UpdateWorkerVersioningRules. Will be removed in server version v1.32.0.

Allows users to specify sets of worker build id versions on a per task queue basis. Versions are ordered, and may be either compatible with some extant version, or a new incompatible version, forming sets of ids which are incompatible with each other, but whose contained members are compatible with one another.

A single build id may be mapped to multiple task queues using this API for cases where a single process hosts multiple workers.

To query which workers can be retired, use the GetWorkerTaskReachability API.

NOTE: The number of task queues mapped to a single build id is limited by the limit.taskQueuesPerBuildId (default is 20), if this limit is exceeded this API will error with a FailedPrecondition.

(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do yet expose versioning API to HTTP. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUpdateWorkerBuildIdCompatibilityRequest
callbackUpdateWorkerBuildIdCompatibilityCallback
Returns

void

▸ (request): Promise<UpdateWorkerBuildIdCompatibilityResponse>

Parameters
NameType
requestIUpdateWorkerBuildIdCompatibilityRequest
Returns

Promise<UpdateWorkerBuildIdCompatibilityResponse>

Type declaration

NameType
name"UpdateWorkerBuildIdCompatibility"
path"/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerBuildIdCompatibility"
requestStreamundefined
requestType"UpdateWorkerBuildIdCompatibilityRequest"
responseStreamundefined
responseType"UpdateWorkerBuildIdCompatibilityResponse"

UpdateWorkerBuildIdCompatibilityCallback

Ƭ UpdateWorkerBuildIdCompatibilityCallback: (error: Error | null, response?: UpdateWorkerBuildIdCompatibilityResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateWorkerBuildIdCompatibility.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UpdateWorkerBuildIdCompatibilityResponseUpdateWorkerBuildIdCompatibilityResponse
Returns

void


UpdateWorkerConfig

Ƭ UpdateWorkerConfig: Object

UpdateWorkerConfig updates the worker configuration of one or more workers. Can be used to partially update the worker configuration. Can be used to update the configuration of multiple workers.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUpdateWorkerConfigRequest
callbackUpdateWorkerConfigCallback
Returns

void

▸ (request): Promise<UpdateWorkerConfigResponse>

Parameters
NameType
requestIUpdateWorkerConfigRequest
Returns

Promise<UpdateWorkerConfigResponse>

Type declaration

NameType
name"UpdateWorkerConfig"
path"/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerConfig"
requestStreamundefined
requestType"UpdateWorkerConfigRequest"
responseStreamundefined
responseType"UpdateWorkerConfigResponse"

UpdateWorkerConfigCallback

Ƭ UpdateWorkerConfigCallback: (error: Error | null, response?: UpdateWorkerConfigResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateWorkerConfig.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UpdateWorkerConfigResponseUpdateWorkerConfigResponse
Returns

void


UpdateWorkerDeploymentVersionComputeConfig

Ƭ UpdateWorkerDeploymentVersionComputeConfig: Object

Updates the compute config attached to a Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUpdateWorkerDeploymentVersionComputeConfigRequest
callbackUpdateWorkerDeploymentVersionComputeConfigCallback
Returns

void

▸ (request): Promise<UpdateWorkerDeploymentVersionComputeConfigResponse>

Parameters
NameType
requestIUpdateWorkerDeploymentVersionComputeConfigRequest
Returns

Promise<UpdateWorkerDeploymentVersionComputeConfigResponse>

Type declaration

NameType
name"UpdateWorkerDeploymentVersionComputeConfig"
path"/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionComputeConfig"
requestStreamundefined
requestType"UpdateWorkerDeploymentVersionComputeConfigRequest"
responseStreamundefined
responseType"UpdateWorkerDeploymentVersionComputeConfigResponse"

UpdateWorkerDeploymentVersionComputeConfigCallback

Ƭ UpdateWorkerDeploymentVersionComputeConfigCallback: (error: Error | null, response?: UpdateWorkerDeploymentVersionComputeConfigResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateWorkerDeploymentVersionComputeConfig.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UpdateWorkerDeploymentVersionComputeConfigResponseUpdateWorkerDeploymentVersionComputeConfigResponse
Returns

void


UpdateWorkerDeploymentVersionMetadata

Ƭ UpdateWorkerDeploymentVersionMetadata: Object

Updates the user-given metadata attached to a Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUpdateWorkerDeploymentVersionMetadataRequest
callbackUpdateWorkerDeploymentVersionMetadataCallback
Returns

void

▸ (request): Promise<UpdateWorkerDeploymentVersionMetadataResponse>

Parameters
NameType
requestIUpdateWorkerDeploymentVersionMetadataRequest
Returns

Promise<UpdateWorkerDeploymentVersionMetadataResponse>

Type declaration

NameType
name"UpdateWorkerDeploymentVersionMetadata"
path"/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionMetadata"
requestStreamundefined
requestType"UpdateWorkerDeploymentVersionMetadataRequest"
responseStreamundefined
responseType"UpdateWorkerDeploymentVersionMetadataResponse"

UpdateWorkerDeploymentVersionMetadataCallback

Ƭ UpdateWorkerDeploymentVersionMetadataCallback: (error: Error | null, response?: UpdateWorkerDeploymentVersionMetadataResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateWorkerDeploymentVersionMetadata.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UpdateWorkerDeploymentVersionMetadataResponseUpdateWorkerDeploymentVersionMetadataResponse
Returns

void


UpdateWorkerVersioningRules

Ƭ UpdateWorkerVersioningRules: Object

Use this API to manage Worker Versioning Rules for a given Task Queue. There are two types of rules: Build ID Assignment rules and Compatible Build ID Redirect rules.

Assignment rules determine how to assign new executions to a Build IDs. Their primary use case is to specify the latest Build ID but they have powerful features for gradual rollout of a new Build ID.

Once a workflow execution is assigned to a Build ID and it completes its first Workflow Task, the workflow stays on the assigned Build ID regardless of changes in assignment rules. This eliminates the need for compatibility between versions when you only care about using the new version for new workflows and let existing workflows finish in their own version.

Activities, Child Workflows and Continue-as-New executions have the option to inherit the Build ID of their parent/previous workflow or use the latest assignment rules to independently select a Build ID.

Redirect rules should only be used when you want to move workflows and activities assigned to one Build ID (source) to another compatible Build ID (target). You are responsible to make sure the target Build ID of a redirect rule is able to process event histories made by the source Build ID by using Patching or other means.

Will be removed in server version v1.32.0. (-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do yet expose versioning API to HTTP. --)

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUpdateWorkerVersioningRulesRequest
callbackUpdateWorkerVersioningRulesCallback
Returns

void

▸ (request): Promise<UpdateWorkerVersioningRulesResponse>

Parameters
NameType
requestIUpdateWorkerVersioningRulesRequest
Returns

Promise<UpdateWorkerVersioningRulesResponse>

Type declaration

NameType
name"UpdateWorkerVersioningRules"
path"/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerVersioningRules"
requestStreamundefined
requestType"UpdateWorkerVersioningRulesRequest"
responseStreamundefined
responseType"UpdateWorkerVersioningRulesResponse"

UpdateWorkerVersioningRulesCallback

Ƭ UpdateWorkerVersioningRulesCallback: (error: Error | null, response?: UpdateWorkerVersioningRulesResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateWorkerVersioningRules.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UpdateWorkerVersioningRulesResponseUpdateWorkerVersioningRulesResponse
Returns

void


UpdateWorkflowExecution

Ƭ UpdateWorkflowExecution: Object

Invokes the specified Update function on user Workflow code.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUpdateWorkflowExecutionRequest
callbackUpdateWorkflowExecutionCallback
Returns

void

▸ (request): Promise<UpdateWorkflowExecutionResponse>

Parameters
NameType
requestIUpdateWorkflowExecutionRequest
Returns

Promise<UpdateWorkflowExecutionResponse>

Type declaration

NameType
name"UpdateWorkflowExecution"
path"/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecution"
requestStreamundefined
requestType"UpdateWorkflowExecutionRequest"
responseStreamundefined
responseType"UpdateWorkflowExecutionResponse"

UpdateWorkflowExecutionCallback

Ƭ UpdateWorkflowExecutionCallback: (error: Error | null, response?: UpdateWorkflowExecutionResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateWorkflowExecution.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UpdateWorkflowExecutionResponseUpdateWorkflowExecutionResponse
Returns

void


UpdateWorkflowExecutionOptions

Ƭ UpdateWorkflowExecutionOptions: Object

UpdateWorkflowExecutionOptions partially updates the WorkflowExecutionOptions of an existing workflow execution.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIUpdateWorkflowExecutionOptionsRequest
callbackUpdateWorkflowExecutionOptionsCallback
Returns

void

▸ (request): Promise<UpdateWorkflowExecutionOptionsResponse>

Parameters
NameType
requestIUpdateWorkflowExecutionOptionsRequest
Returns

Promise<UpdateWorkflowExecutionOptionsResponse>

Type declaration

NameType
name"UpdateWorkflowExecutionOptions"
path"/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkflowExecutionOptions"
requestStreamundefined
requestType"UpdateWorkflowExecutionOptionsRequest"
responseStreamundefined
responseType"UpdateWorkflowExecutionOptionsResponse"

UpdateWorkflowExecutionOptionsCallback

Ƭ UpdateWorkflowExecutionOptionsCallback: (error: Error | null, response?: UpdateWorkflowExecutionOptionsResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateWorkflowExecutionOptions.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?UpdateWorkflowExecutionOptionsResponseUpdateWorkflowExecutionOptionsResponse
Returns

void


ValidateWorkerDeploymentVersionComputeConfig

Ƭ ValidateWorkerDeploymentVersionComputeConfig: Object

Validates the compute config without attaching it to a Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release.

Call signature

▸ (request, callback): void

Parameters
NameType
requestIValidateWorkerDeploymentVersionComputeConfigRequest
callbackValidateWorkerDeploymentVersionComputeConfigCallback
Returns

void

▸ (request): Promise<ValidateWorkerDeploymentVersionComputeConfigResponse>

Parameters
NameType
requestIValidateWorkerDeploymentVersionComputeConfigRequest
Returns

Promise<ValidateWorkerDeploymentVersionComputeConfigResponse>

Type declaration

NameType
name"ValidateWorkerDeploymentVersionComputeConfig"
path"/temporal.api.workflowservice.v1.WorkflowService/ValidateWorkerDeploymentVersionComputeConfig"
requestStreamundefined
requestType"ValidateWorkerDeploymentVersionComputeConfigRequest"
responseStreamundefined
responseType"ValidateWorkerDeploymentVersionComputeConfigResponse"

ValidateWorkerDeploymentVersionComputeConfigCallback

Ƭ ValidateWorkerDeploymentVersionComputeConfigCallback: (error: Error | null, response?: ValidateWorkerDeploymentVersionComputeConfigResponse) => void

Callback as used by temporal.api.workflowservice.v1.WorkflowService#validateWorkerDeploymentVersionComputeConfig.

Type declaration

▸ (error, response?): void

Parameters
NameTypeDescription
errorError | nullError, if any
response?ValidateWorkerDeploymentVersionComputeConfigResponseValidateWorkerDeploymentVersionComputeConfigResponse
Returns

void