WorkflowService
Type Aliases
CountActivityExecutions()
CountActivityExecutions =
void
CountActivityExecutions is a visibility API to count activity executions in a specific namespace.
Call Signature
CountActivityExecutions(
request,callback):void
CountActivityExecutions is a visibility API to count activity executions in a specific namespace.
Parameters
request
ICountActivityExecutionsRequest
callback
CountActivityExecutionsCallback
Returns
void
Call Signature
CountActivityExecutions(
request):Promise<CountActivityExecutionsResponse>
CountActivityExecutions is a visibility API to count activity executions in a specific namespace.
Parameters
request
ICountActivityExecutionsRequest
Returns
Promise<CountActivityExecutionsResponse>
Properties
name
readonlyname:"CountActivityExecutions"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/CountActivityExecutions"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"CountActivityExecutionsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"CountActivityExecutionsResponse"
CountActivityExecutionsCallback
CountActivityExecutionsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#countActivityExecutions.
Parameters
error
Error | null
Error, if any
response?
CountActivityExecutionsResponse
CountActivityExecutionsResponse
Returns
void
CountNexusOperationExecutions()
CountNexusOperationExecutions =
void
CountNexusOperationExecutions is a visibility API to count Nexus operations in a specific namespace.
Call Signature
CountNexusOperationExecutions(
request,callback):void
CountNexusOperationExecutions is a visibility API to count Nexus operations in a specific namespace.
Parameters
request
ICountNexusOperationExecutionsRequest
callback
CountNexusOperationExecutionsCallback
Returns
void
Call Signature
CountNexusOperationExecutions(
request):Promise<CountNexusOperationExecutionsResponse>
CountNexusOperationExecutions is a visibility API to count Nexus operations in a specific namespace.
Parameters
request
ICountNexusOperationExecutionsRequest
Returns
Promise<CountNexusOperationExecutionsResponse>
Properties
name
readonlyname:"CountNexusOperationExecutions"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/CountNexusOperationExecutions"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"CountNexusOperationExecutionsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"CountNexusOperationExecutionsResponse"
CountNexusOperationExecutionsCallback
CountNexusOperationExecutionsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#countNexusOperationExecutions.
Parameters
error
Error | null
Error, if any
response?
CountNexusOperationExecutionsResponse
CountNexusOperationExecutionsResponse
Returns
void
CountSchedules()
CountSchedules =
void
CountSchedules is a visibility API to count schedules in a specific namespace.
Call Signature
CountSchedules(
request,callback):void
CountSchedules is a visibility API to count schedules in a specific namespace.
Parameters
request
callback
Returns
void
Call Signature
CountSchedules(
request):Promise<CountSchedulesResponse>
CountSchedules is a visibility API to count schedules in a specific namespace.
Parameters
request
Returns
Promise<CountSchedulesResponse>
Properties
name
readonlyname:"CountSchedules"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/CountSchedules"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"CountSchedulesRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"CountSchedulesResponse"
CountSchedulesCallback
CountSchedulesCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#countSchedules.
Parameters
error
Error | null
Error, if any
response?
CountSchedulesResponse
Returns
void
CountWorkers()
CountWorkers =
void
CountWorkers counts the number of workers in a specific namespace.
Call Signature
CountWorkers(
request,callback):void
CountWorkers counts the number of workers in a specific namespace.
Parameters
request
callback
Returns
void
Call Signature
CountWorkers(
request):Promise<CountWorkersResponse>
CountWorkers counts the number of workers in a specific namespace.
Parameters
request
Returns
Promise<CountWorkersResponse>
Properties
name
readonlyname:"CountWorkers"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/CountWorkers"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"CountWorkersRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"CountWorkersResponse"
CountWorkersCallback
CountWorkersCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#countWorkers.
Parameters
error
Error | null
Error, if any
response?
CountWorkersResponse
Returns
void
CountWorkflowExecutions()
CountWorkflowExecutions =
void
CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.
Call Signature
CountWorkflowExecutions(
request,callback):void
CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.
Parameters
request
ICountWorkflowExecutionsRequest
callback
CountWorkflowExecutionsCallback
Returns
void
Call Signature
CountWorkflowExecutions(
request):Promise<CountWorkflowExecutionsResponse>
CountWorkflowExecutions is a visibility API to count of workflow executions in a specific namespace.
Parameters
request
ICountWorkflowExecutionsRequest
Returns
Promise<CountWorkflowExecutionsResponse>
Properties
name
readonlyname:"CountWorkflowExecutions"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/CountWorkflowExecutions"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"CountWorkflowExecutionsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"CountWorkflowExecutionsResponse"
CountWorkflowExecutionsCallback
CountWorkflowExecutionsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#countWorkflowExecutions.
Parameters
error
Error | null
Error, if any
response?
CountWorkflowExecutionsResponse
CountWorkflowExecutionsResponse
Returns
void
CreateSchedule()
CreateSchedule =
void
Creates a new schedule.
Call Signature
CreateSchedule(
request,callback):void
Creates a new schedule.
Parameters
request
callback
Returns
void
Call Signature
CreateSchedule(
request):Promise<CreateScheduleResponse>
Creates a new schedule.
Parameters
request
Returns
Promise<CreateScheduleResponse>
Properties
name
readonlyname:"CreateSchedule"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/CreateSchedule"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"CreateScheduleRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"CreateScheduleResponse"
CreateScheduleCallback
CreateScheduleCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#createSchedule.
Parameters
error
Error | null
Error, if any
response?
CreateScheduleResponse
Returns
void
CreateWorkerDeployment()
CreateWorkerDeployment =
void
Creates a new Worker Deployment.
Experimental. This API might significantly change or be removed in a future release.
Call Signature
CreateWorkerDeployment(
request,callback):void
Creates a new Worker Deployment.
Experimental. This API might significantly change or be removed in a future release.
Parameters
request
ICreateWorkerDeploymentRequest
callback
CreateWorkerDeploymentCallback
Returns
void
Call Signature
CreateWorkerDeployment(
request):Promise<CreateWorkerDeploymentResponse>
Creates a new Worker Deployment.
Experimental. This API might significantly change or be removed in a future release.
Parameters
request
ICreateWorkerDeploymentRequest
Returns
Promise<CreateWorkerDeploymentResponse>
Properties
name
readonlyname:"CreateWorkerDeployment"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/CreateWorkerDeployment"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"CreateWorkerDeploymentRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"CreateWorkerDeploymentResponse"
CreateWorkerDeploymentCallback
CreateWorkerDeploymentCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#createWorkerDeployment.
Parameters
error
Error | null
Error, if any
response?
CreateWorkerDeploymentResponse
CreateWorkerDeploymentResponse
Returns
void
CreateWorkerDeploymentVersion()
CreateWorkerDeploymentVersion =
void
Creates a new Worker Deployment Version.
Experimental. This API might significantly change or be removed in a future release.
Call Signature
CreateWorkerDeploymentVersion(
request,callback):void
Creates a new Worker Deployment Version.
Experimental. This API might significantly change or be removed in a future release.
Parameters
request
ICreateWorkerDeploymentVersionRequest
callback
CreateWorkerDeploymentVersionCallback
Returns
void
Call Signature
CreateWorkerDeploymentVersion(
request):Promise<CreateWorkerDeploymentVersionResponse>
Creates a new Worker Deployment Version.
Experimental. This API might significantly change or be removed in a future release.
Parameters
request
ICreateWorkerDeploymentVersionRequest
Returns
Promise<CreateWorkerDeploymentVersionResponse>
Properties
name
readonlyname:"CreateWorkerDeploymentVersion"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/CreateWorkerDeploymentVersion"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"CreateWorkerDeploymentVersionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"CreateWorkerDeploymentVersionResponse"
CreateWorkerDeploymentVersionCallback
CreateWorkerDeploymentVersionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#createWorkerDeploymentVersion.
Parameters
error
Error | null
Error, if any
response?
CreateWorkerDeploymentVersionResponse
CreateWorkerDeploymentVersionResponse
Returns
void
CreateWorkflowRule()
CreateWorkflowRule =
void
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
CreateWorkflowRule(
request,callback):void
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.
Parameters
request
callback
Returns
void
Call Signature
CreateWorkflowRule(
request):Promise<CreateWorkflowRuleResponse>
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.
Parameters
request
Returns
Promise<CreateWorkflowRuleResponse>
Properties
name
readonlyname:"CreateWorkflowRule"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/CreateWorkflowRule"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"CreateWorkflowRuleRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"CreateWorkflowRuleResponse"
CreateWorkflowRuleCallback
CreateWorkflowRuleCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#createWorkflowRule.
Parameters
error
Error | null
Error, if any
response?
CreateWorkflowRuleResponse
Returns
void
DeleteActivityExecution()
DeleteActivityExecution =
void
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
DeleteActivityExecution(
request,callback):void
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. --)
Parameters
request
IDeleteActivityExecutionRequest
callback
DeleteActivityExecutionCallback
Returns
void
Call Signature
DeleteActivityExecution(
request):Promise<DeleteActivityExecutionResponse>
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. --)
Parameters
request
IDeleteActivityExecutionRequest
Returns
Promise<DeleteActivityExecutionResponse>
Properties
name
readonlyname:"DeleteActivityExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DeleteActivityExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DeleteActivityExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DeleteActivityExecutionResponse"
DeleteActivityExecutionCallback
DeleteActivityExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteActivityExecution.
Parameters
error
Error | null
Error, if any
response?
DeleteActivityExecutionResponse
DeleteActivityExecutionResponse
Returns
void
DeleteNexusOperationExecution()
DeleteNexusOperationExecution =
void
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
DeleteNexusOperationExecution(
request,callback):void
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. --)
Parameters
request
IDeleteNexusOperationExecutionRequest
callback
DeleteNexusOperationExecutionCallback
Returns
void
Call Signature
DeleteNexusOperationExecution(
request):Promise<DeleteNexusOperationExecutionResponse>
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. --)
Parameters
request
IDeleteNexusOperationExecutionRequest
Returns
Promise<DeleteNexusOperationExecutionResponse>
Properties
name
readonlyname:"DeleteNexusOperationExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DeleteNexusOperationExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DeleteNexusOperationExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DeleteNexusOperationExecutionResponse"
DeleteNexusOperationExecutionCallback
DeleteNexusOperationExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteNexusOperationExecution.
Parameters
error
Error | null
Error, if any
response?
DeleteNexusOperationExecutionResponse
DeleteNexusOperationExecutionResponse
Returns
void
DeleteSchedule()
DeleteSchedule =
void
Deletes a schedule, removing it from the system.
Call Signature
DeleteSchedule(
request,callback):void
Deletes a schedule, removing it from the system.
Parameters
request
callback
Returns
void
Call Signature
DeleteSchedule(
request):Promise<DeleteScheduleResponse>
Deletes a schedule, removing it from the system.
Parameters
request
Returns
Promise<DeleteScheduleResponse>
Properties
name
readonlyname:"DeleteSchedule"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DeleteSchedule"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DeleteScheduleRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DeleteScheduleResponse"
DeleteScheduleCallback
DeleteScheduleCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteSchedule.
Parameters
error
Error | null
Error, if any
response?
DeleteScheduleResponse
Returns
void
DeleteWorkerDeployment()
DeleteWorkerDeployment =
void
Deletes records of (an old) Deployment. A deployment can only be deleted if it has no Version in it.
Call Signature
DeleteWorkerDeployment(
request,callback):void
Deletes records of (an old) Deployment. A deployment can only be deleted if it has no Version in it.
Parameters
request
IDeleteWorkerDeploymentRequest
callback
DeleteWorkerDeploymentCallback
Returns
void
Call Signature
DeleteWorkerDeployment(
request):Promise<DeleteWorkerDeploymentResponse>
Deletes records of (an old) Deployment. A deployment can only be deleted if it has no Version in it.
Parameters
request
IDeleteWorkerDeploymentRequest
Returns
Promise<DeleteWorkerDeploymentResponse>
Properties
name
readonlyname:"DeleteWorkerDeployment"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeployment"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DeleteWorkerDeploymentRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DeleteWorkerDeploymentResponse"
DeleteWorkerDeploymentCallback
DeleteWorkerDeploymentCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteWorkerDeployment.
Parameters
error
Error | null
Error, if any
response?
DeleteWorkerDeploymentResponse
DeleteWorkerDeploymentResponse
Returns
void
DeleteWorkerDeploymentVersion()
DeleteWorkerDeploymentVersion =
void
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.
Call Signature
DeleteWorkerDeploymentVersion(
request,callback):void
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.
Parameters
request
IDeleteWorkerDeploymentVersionRequest
callback
DeleteWorkerDeploymentVersionCallback
Returns
void
Call Signature
DeleteWorkerDeploymentVersion(
request):Promise<DeleteWorkerDeploymentVersionResponse>
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.
Parameters
request
IDeleteWorkerDeploymentVersionRequest
Returns
Promise<DeleteWorkerDeploymentVersionResponse>
Properties
name
readonlyname:"DeleteWorkerDeploymentVersion"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkerDeploymentVersion"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DeleteWorkerDeploymentVersionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DeleteWorkerDeploymentVersionResponse"
DeleteWorkerDeploymentVersionCallback
DeleteWorkerDeploymentVersionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteWorkerDeploymentVersion.
Parameters
error
Error | null
Error, if any
response?
DeleteWorkerDeploymentVersionResponse
DeleteWorkerDeploymentVersionResponse
Returns
void
DeleteWorkflowExecution()
DeleteWorkflowExecution =
void
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
DeleteWorkflowExecution(
request,callback):void
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. --)
Parameters
request
IDeleteWorkflowExecutionRequest
callback
DeleteWorkflowExecutionCallback
Returns
void
Call Signature
DeleteWorkflowExecution(
request):Promise<DeleteWorkflowExecutionResponse>
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. --)
Parameters
request
IDeleteWorkflowExecutionRequest
Returns
Promise<DeleteWorkflowExecutionResponse>
Properties
name
readonlyname:"DeleteWorkflowExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DeleteWorkflowExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DeleteWorkflowExecutionResponse"
DeleteWorkflowExecutionCallback
DeleteWorkflowExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteWorkflowExecution.
Parameters
error
Error | null
Error, if any
response?
DeleteWorkflowExecutionResponse
DeleteWorkflowExecutionResponse
Returns
void
DeleteWorkflowRule()
DeleteWorkflowRule =
void
Delete rule by rule id
Call Signature
DeleteWorkflowRule(
request,callback):void
Delete rule by rule id
Parameters
request
callback
Returns
void
Call Signature
DeleteWorkflowRule(
request):Promise<DeleteWorkflowRuleResponse>
Delete rule by rule id
Parameters
request
Returns
Promise<DeleteWorkflowRuleResponse>
Properties
name
readonlyname:"DeleteWorkflowRule"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DeleteWorkflowRule"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DeleteWorkflowRuleRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DeleteWorkflowRuleResponse"
DeleteWorkflowRuleCallback
DeleteWorkflowRuleCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#deleteWorkflowRule.
Parameters
error
Error | null
Error, if any
response?
DeleteWorkflowRuleResponse
Returns
void
DeprecateNamespace()
DeprecateNamespace =
void
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
DeprecateNamespace(
request,callback):void
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 --)
Parameters
request
callback
Returns
void
Call Signature
DeprecateNamespace(
request):Promise<DeprecateNamespaceResponse>
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 --)
Parameters
request
Returns
Promise<DeprecateNamespaceResponse>
Properties
name
readonlyname:"DeprecateNamespace"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DeprecateNamespace"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DeprecateNamespaceRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DeprecateNamespaceResponse"
DeprecateNamespaceCallback
DeprecateNamespaceCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#deprecateNamespace.
Parameters
error
Error | null
Error, if any
response?
DeprecateNamespaceResponse
Returns
void
DescribeActivityExecution()
DescribeActivityExecution =
void
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
DescribeActivityExecution(
request,callback):void
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).
Parameters
request
IDescribeActivityExecutionRequest
callback
DescribeActivityExecutionCallback
Returns
void
Call Signature
DescribeActivityExecution(
request):Promise<DescribeActivityExecutionResponse>
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).
Parameters
request
IDescribeActivityExecutionRequest
Returns
Promise<DescribeActivityExecutionResponse>
Properties
name
readonlyname:"DescribeActivityExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DescribeActivityExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DescribeActivityExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DescribeActivityExecutionResponse"
DescribeActivityExecutionCallback
DescribeActivityExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeActivityExecution.
Parameters
error
Error | null
Error, if any
response?
DescribeActivityExecutionResponse
DescribeActivityExecutionResponse
Returns
void
DescribeBatchOperation()
DescribeBatchOperation =
void
DescribeBatchOperation returns the information about a batch operation
Call Signature
DescribeBatchOperation(
request,callback):void
DescribeBatchOperation returns the information about a batch operation
Parameters
request
IDescribeBatchOperationRequest
callback
DescribeBatchOperationCallback
Returns
void
Call Signature
DescribeBatchOperation(
request):Promise<DescribeBatchOperationResponse>
DescribeBatchOperation returns the information about a batch operation
Parameters
request
IDescribeBatchOperationRequest
Returns
Promise<DescribeBatchOperationResponse>
Properties
name
readonlyname:"DescribeBatchOperation"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DescribeBatchOperation"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DescribeBatchOperationRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DescribeBatchOperationResponse"
DescribeBatchOperationCallback
DescribeBatchOperationCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeBatchOperation.
Parameters
error
Error | null
Error, if any
response?
DescribeBatchOperationResponse
DescribeBatchOperationResponse
Returns
void
DescribeDeployment()
DescribeDeployment =
void
Describes a worker deployment.
Deprecated. Replaced with DescribeWorkerDeploymentVersion.
Call Signature
DescribeDeployment(
request,callback):void
Describes a worker deployment.
Deprecated. Replaced with DescribeWorkerDeploymentVersion.
Parameters
request
callback
Returns
void
Call Signature
DescribeDeployment(
request):Promise<DescribeDeploymentResponse>
Describes a worker deployment.
Deprecated. Replaced with DescribeWorkerDeploymentVersion.
Parameters
request
Returns
Promise<DescribeDeploymentResponse>
Properties
name
readonlyname:"DescribeDeployment"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DescribeDeployment"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DescribeDeploymentRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DescribeDeploymentResponse"
DescribeDeploymentCallback
DescribeDeploymentCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeDeployment.
Parameters
error
Error | null
Error, if any
response?
DescribeDeploymentResponse
Returns
void
DescribeNamespace()
DescribeNamespace =
void
DescribeNamespace returns the information and configuration for a registered namespace.
Call Signature
DescribeNamespace(
request,callback):void
DescribeNamespace returns the information and configuration for a registered namespace.
Parameters
request
callback
Returns
void
Call Signature
DescribeNamespace(
request):Promise<DescribeNamespaceResponse>
DescribeNamespace returns the information and configuration for a registered namespace.
Parameters
request
Returns
Promise<DescribeNamespaceResponse>
Properties
name
readonlyname:"DescribeNamespace"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DescribeNamespace"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DescribeNamespaceRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DescribeNamespaceResponse"
DescribeNamespaceCallback
DescribeNamespaceCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeNamespace.
Parameters
error
Error | null
Error, if any
response?
DescribeNamespaceResponse
Returns
void
DescribeNexusOperationExecution()
DescribeNexusOperationExecution =
void
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
DescribeNexusOperationExecution(
request,callback):void
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).
Parameters
request
IDescribeNexusOperationExecutionRequest
callback
DescribeNexusOperationExecutionCallback
Returns
void
Call Signature
DescribeNexusOperationExecution(
request):Promise<DescribeNexusOperationExecutionResponse>
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).
Parameters
request
IDescribeNexusOperationExecutionRequest
Returns
Promise<DescribeNexusOperationExecutionResponse>
Properties
name
readonlyname:"DescribeNexusOperationExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DescribeNexusOperationExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DescribeNexusOperationExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DescribeNexusOperationExecutionResponse"
DescribeNexusOperationExecutionCallback
DescribeNexusOperationExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeNexusOperationExecution.
Parameters
error
Error | null
Error, if any
response?
DescribeNexusOperationExecutionResponse
DescribeNexusOperationExecutionResponse
Returns
void
DescribeSchedule()
DescribeSchedule =
void
Returns the schedule description and current state of an existing schedule.
Call Signature
DescribeSchedule(
request,callback):void
Returns the schedule description and current state of an existing schedule.
Parameters
request
callback
Returns
void
Call Signature
DescribeSchedule(
request):Promise<DescribeScheduleResponse>
Returns the schedule description and current state of an existing schedule.
Parameters
request
Returns
Promise<DescribeScheduleResponse>
Properties
name
readonlyname:"DescribeSchedule"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DescribeSchedule"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DescribeScheduleRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DescribeScheduleResponse"
DescribeScheduleCallback
DescribeScheduleCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeSchedule.
Parameters
error
Error | null
Error, if any
response?
DescribeScheduleResponse
Returns
void
DescribeTaskQueue()
DescribeTaskQueue =
void
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
DescribeTaskQueue(
request,callback):void
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
Parameters
request
callback
Returns
void
Call Signature
DescribeTaskQueue(
request):Promise<DescribeTaskQueueResponse>
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
Parameters
request
Returns
Promise<DescribeTaskQueueResponse>
Properties
name
readonlyname:"DescribeTaskQueue"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DescribeTaskQueue"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DescribeTaskQueueRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DescribeTaskQueueResponse"
DescribeTaskQueueCallback
DescribeTaskQueueCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeTaskQueue.
Parameters
error
Error | null
Error, if any
response?
DescribeTaskQueueResponse
Returns
void
DescribeWorker()
DescribeWorker =
void
DescribeWorker returns information about the specified worker.
Call Signature
DescribeWorker(
request,callback):void
DescribeWorker returns information about the specified worker.
Parameters
request
callback
Returns
void
Call Signature
DescribeWorker(
request):Promise<DescribeWorkerResponse>
DescribeWorker returns information about the specified worker.
Parameters
request
Returns
Promise<DescribeWorkerResponse>
Properties
name
readonlyname:"DescribeWorker"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DescribeWorker"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DescribeWorkerRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DescribeWorkerResponse"
DescribeWorkerCallback
DescribeWorkerCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeWorker.
Parameters
error
Error | null
Error, if any
response?
DescribeWorkerResponse
Returns
void
DescribeWorkerDeployment()
DescribeWorkerDeployment =
void
Describes a Worker Deployment.
Call Signature
DescribeWorkerDeployment(
request,callback):void
Describes a Worker Deployment.
Parameters
request
IDescribeWorkerDeploymentRequest
callback
DescribeWorkerDeploymentCallback
Returns
void
Call Signature
DescribeWorkerDeployment(
request):Promise<DescribeWorkerDeploymentResponse>
Describes a Worker Deployment.
Parameters
request
IDescribeWorkerDeploymentRequest
Returns
Promise<DescribeWorkerDeploymentResponse>
Properties
name
readonlyname:"DescribeWorkerDeployment"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeployment"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DescribeWorkerDeploymentRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DescribeWorkerDeploymentResponse"
DescribeWorkerDeploymentCallback
DescribeWorkerDeploymentCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeWorkerDeployment.
Parameters
error
Error | null
Error, if any
response?
DescribeWorkerDeploymentResponse
DescribeWorkerDeploymentResponse
Returns
void
DescribeWorkerDeploymentVersion()
DescribeWorkerDeploymentVersion =
void
Describes a worker deployment version.
Call Signature
DescribeWorkerDeploymentVersion(
request,callback):void
Describes a worker deployment version.
Parameters
request
IDescribeWorkerDeploymentVersionRequest
callback
DescribeWorkerDeploymentVersionCallback
Returns
void
Call Signature
DescribeWorkerDeploymentVersion(
request):Promise<DescribeWorkerDeploymentVersionResponse>
Describes a worker deployment version.
Parameters
request
IDescribeWorkerDeploymentVersionRequest
Returns
Promise<DescribeWorkerDeploymentVersionResponse>
Properties
name
readonlyname:"DescribeWorkerDeploymentVersion"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkerDeploymentVersion"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DescribeWorkerDeploymentVersionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DescribeWorkerDeploymentVersionResponse"
DescribeWorkerDeploymentVersionCallback
DescribeWorkerDeploymentVersionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeWorkerDeploymentVersion.
Parameters
error
Error | null
Error, if any
response?
DescribeWorkerDeploymentVersionResponse
DescribeWorkerDeploymentVersionResponse
Returns
void
DescribeWorkflowExecution()
DescribeWorkflowExecution =
void
DescribeWorkflowExecution returns information about the specified workflow execution.
Call Signature
DescribeWorkflowExecution(
request,callback):void
DescribeWorkflowExecution returns information about the specified workflow execution.
Parameters
request
IDescribeWorkflowExecutionRequest
callback
DescribeWorkflowExecutionCallback
Returns
void
Call Signature
DescribeWorkflowExecution(
request):Promise<DescribeWorkflowExecutionResponse>
DescribeWorkflowExecution returns information about the specified workflow execution.
Parameters
request
IDescribeWorkflowExecutionRequest
Returns
Promise<DescribeWorkflowExecutionResponse>
Properties
name
readonlyname:"DescribeWorkflowExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DescribeWorkflowExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DescribeWorkflowExecutionResponse"
DescribeWorkflowExecutionCallback
DescribeWorkflowExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeWorkflowExecution.
Parameters
error
Error | null
Error, if any
response?
DescribeWorkflowExecutionResponse
DescribeWorkflowExecutionResponse
Returns
void
DescribeWorkflowRule()
DescribeWorkflowRule =
void
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
DescribeWorkflowRule(
request,callback):void
DescribeWorkflowRule return the rule specification for existing rule id. If there is no rule with such id - NOT FOUND error will be returned.
Parameters
request
callback
Returns
void
Call Signature
DescribeWorkflowRule(
request):Promise<DescribeWorkflowRuleResponse>
DescribeWorkflowRule return the rule specification for existing rule id. If there is no rule with such id - NOT FOUND error will be returned.
Parameters
request
Returns
Promise<DescribeWorkflowRuleResponse>
Properties
name
readonlyname:"DescribeWorkflowRule"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/DescribeWorkflowRule"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"DescribeWorkflowRuleRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"DescribeWorkflowRuleResponse"
DescribeWorkflowRuleCallback
DescribeWorkflowRuleCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#describeWorkflowRule.
Parameters
error
Error | null
Error, if any
response?
DescribeWorkflowRuleResponse
Returns
void
ExecuteMultiOperation()
ExecuteMultiOperation =
void
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
ExecuteMultiOperation(
request,callback):void
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. --)
Parameters
request
callback
Returns
void
Call Signature
ExecuteMultiOperation(
request):Promise<ExecuteMultiOperationResponse>
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. --)
Parameters
request
Returns
Promise<ExecuteMultiOperationResponse>
Properties
name
readonlyname:"ExecuteMultiOperation"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ExecuteMultiOperation"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ExecuteMultiOperationRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ExecuteMultiOperationResponse"
ExecuteMultiOperationCallback
ExecuteMultiOperationCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#executeMultiOperation.
Parameters
error
Error | null
Error, if any
response?
ExecuteMultiOperationResponse
Returns
void
FetchWorkerConfig()
FetchWorkerConfig =
void
FetchWorkerConfig returns the worker configuration for a specific worker.
Call Signature
FetchWorkerConfig(
request,callback):void
FetchWorkerConfig returns the worker configuration for a specific worker.
Parameters
request
callback
Returns
void
Call Signature
FetchWorkerConfig(
request):Promise<FetchWorkerConfigResponse>
FetchWorkerConfig returns the worker configuration for a specific worker.
Parameters
request
Returns
Promise<FetchWorkerConfigResponse>
Properties
name
readonlyname:"FetchWorkerConfig"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/FetchWorkerConfig"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"FetchWorkerConfigRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"FetchWorkerConfigResponse"
FetchWorkerConfigCallback
FetchWorkerConfigCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#fetchWorkerConfig.
Parameters
error
Error | null
Error, if any
response?
FetchWorkerConfigResponse
Returns
void
GetClusterInfo()
GetClusterInfo =
void
GetClusterInfo returns information about temporal cluster
Call Signature
GetClusterInfo(
request,callback):void
GetClusterInfo returns information about temporal cluster
Parameters
request
callback
Returns
void
Call Signature
GetClusterInfo(
request):Promise<GetClusterInfoResponse>
GetClusterInfo returns information about temporal cluster
Parameters
request
Returns
Promise<GetClusterInfoResponse>
Properties
name
readonlyname:"GetClusterInfo"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/GetClusterInfo"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"GetClusterInfoRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"GetClusterInfoResponse"
GetClusterInfoCallback
GetClusterInfoCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#getClusterInfo.
Parameters
error
Error | null
Error, if any
response?
GetClusterInfoResponse
Returns
void
GetCurrentDeployment()
GetCurrentDeployment =
void
Returns the current deployment (and its info) for a given deployment series.
Deprecated. Replaced by current_version returned by DescribeWorkerDeployment.
Call Signature
GetCurrentDeployment(
request,callback):void
Returns the current deployment (and its info) for a given deployment series.
Deprecated. Replaced by current_version returned by DescribeWorkerDeployment.
Parameters
request
callback
Returns
void
Call Signature
GetCurrentDeployment(
request):Promise<GetCurrentDeploymentResponse>
Returns the current deployment (and its info) for a given deployment series.
Deprecated. Replaced by current_version returned by DescribeWorkerDeployment.
Parameters
request
Returns
Promise<GetCurrentDeploymentResponse>
Properties
name
readonlyname:"GetCurrentDeployment"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/GetCurrentDeployment"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"GetCurrentDeploymentRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"GetCurrentDeploymentResponse"
GetCurrentDeploymentCallback
GetCurrentDeploymentCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#getCurrentDeployment.
Parameters
error
Error | null
Error, if any
response?
GetCurrentDeploymentResponse
Returns
void
GetDeploymentReachability()
GetDeploymentReachability =
void
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.
Deprecated. Replaced with DrainageInfo returned by DescribeWorkerDeploymentVersion.
Call Signature
GetDeploymentReachability(
request,callback):void
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.
Deprecated. Replaced with DrainageInfo returned by DescribeWorkerDeploymentVersion.
Parameters
request
IGetDeploymentReachabilityRequest
callback
GetDeploymentReachabilityCallback
Returns
void
Call Signature
GetDeploymentReachability(
request):Promise<GetDeploymentReachabilityResponse>
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.
Deprecated. Replaced with DrainageInfo returned by DescribeWorkerDeploymentVersion.
Parameters
request
IGetDeploymentReachabilityRequest
Returns
Promise<GetDeploymentReachabilityResponse>
Properties
name
readonlyname:"GetDeploymentReachability"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/GetDeploymentReachability"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"GetDeploymentReachabilityRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"GetDeploymentReachabilityResponse"
GetDeploymentReachabilityCallback
GetDeploymentReachabilityCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#getDeploymentReachability.
Parameters
error
Error | null
Error, if any
response?
GetDeploymentReachabilityResponse
GetDeploymentReachabilityResponse
Returns
void
GetSearchAttributes()
GetSearchAttributes =
void
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
GetSearchAttributes(
request,callback):void
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). --)
Parameters
request
callback
Returns
void
Call Signature
GetSearchAttributes(
request):Promise<GetSearchAttributesResponse>
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). --)
Parameters
request
Returns
Promise<GetSearchAttributesResponse>
Properties
name
readonlyname:"GetSearchAttributes"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/GetSearchAttributes"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"GetSearchAttributesRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"GetSearchAttributesResponse"
GetSearchAttributesCallback
GetSearchAttributesCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#getSearchAttributes.
Parameters
error
Error | null
Error, if any
response?
GetSearchAttributesResponse
Returns
void
GetSystemInfo()
GetSystemInfo =
void
GetSystemInfo returns information about the system.
Call Signature
GetSystemInfo(
request,callback):void
GetSystemInfo returns information about the system.
Parameters
request
callback
Returns
void
Call Signature
GetSystemInfo(
request):Promise<GetSystemInfoResponse>
GetSystemInfo returns information about the system.
Parameters
request
Returns
Promise<GetSystemInfoResponse>
Properties
name
readonlyname:"GetSystemInfo"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"GetSystemInfoRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"GetSystemInfoResponse"
GetSystemInfoCallback
GetSystemInfoCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#getSystemInfo.
Parameters
error
Error | null
Error, if any
response?
GetSystemInfoResponse
Returns
void
GetWorkerBuildIdCompatibility()
GetWorkerBuildIdCompatibility =
void
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
GetWorkerBuildIdCompatibility(
request,callback):void
Deprecated. Use GetWorkerVersioningRules.
Will be removed in server version v1.32.0.
Fetches the worker build id versioning sets for a task queue.
Parameters
request
IGetWorkerBuildIdCompatibilityRequest
callback
GetWorkerBuildIdCompatibilityCallback
Returns
void
Call Signature
GetWorkerBuildIdCompatibility(
request):Promise<GetWorkerBuildIdCompatibilityResponse>
Deprecated. Use GetWorkerVersioningRules.
Will be removed in server version v1.32.0.
Fetches the worker build id versioning sets for a task queue.
Parameters
request
IGetWorkerBuildIdCompatibilityRequest
Returns
Promise<GetWorkerBuildIdCompatibilityResponse>
Properties
name
readonlyname:"GetWorkerBuildIdCompatibility"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/GetWorkerBuildIdCompatibility"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"GetWorkerBuildIdCompatibilityRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"GetWorkerBuildIdCompatibilityResponse"
GetWorkerBuildIdCompatibilityCallback
GetWorkerBuildIdCompatibilityCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#getWorkerBuildIdCompatibility.
Parameters
error
Error | null
Error, if any
response?
GetWorkerBuildIdCompatibilityResponse
GetWorkerBuildIdCompatibilityResponse
Returns
void
GetWorkerTaskReachability()
GetWorkerTaskReachability =
void
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
GetWorkerTaskReachability(
request,callback):void
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.
Parameters
request
IGetWorkerTaskReachabilityRequest
callback
GetWorkerTaskReachabilityCallback
Returns
void
Call Signature
GetWorkerTaskReachability(
request):Promise<GetWorkerTaskReachabilityResponse>
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.
Parameters
request
IGetWorkerTaskReachabilityRequest
Returns
Promise<GetWorkerTaskReachabilityResponse>
Properties
name
readonlyname:"GetWorkerTaskReachability"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/GetWorkerTaskReachability"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"GetWorkerTaskReachabilityRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"GetWorkerTaskReachabilityResponse"
GetWorkerTaskReachabilityCallback
GetWorkerTaskReachabilityCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#getWorkerTaskReachability.
Parameters
error
Error | null
Error, if any
response?
GetWorkerTaskReachabilityResponse
GetWorkerTaskReachabilityResponse
Returns
void
GetWorkerVersioningRules()
GetWorkerVersioningRules =
void
Fetches the Build ID assignment and redirect rules for a Task Queue. Will be removed in server version v1.32.0.
Call Signature
GetWorkerVersioningRules(
request,callback):void
Fetches the Build ID assignment and redirect rules for a Task Queue. Will be removed in server version v1.32.0.
Parameters
request
IGetWorkerVersioningRulesRequest
callback
GetWorkerVersioningRulesCallback
Returns
void
Call Signature
GetWorkerVersioningRules(
request):Promise<GetWorkerVersioningRulesResponse>
Fetches the Build ID assignment and redirect rules for a Task Queue. Will be removed in server version v1.32.0.
Parameters
request
IGetWorkerVersioningRulesRequest
Returns
Promise<GetWorkerVersioningRulesResponse>
Properties
name
readonlyname:"GetWorkerVersioningRules"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/GetWorkerVersioningRules"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"GetWorkerVersioningRulesRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"GetWorkerVersioningRulesResponse"
GetWorkerVersioningRulesCallback
GetWorkerVersioningRulesCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#getWorkerVersioningRules.
Parameters
error
Error | null
Error, if any
response?
GetWorkerVersioningRulesResponse
GetWorkerVersioningRulesResponse
Returns
void
GetWorkflowExecutionHistory()
GetWorkflowExecutionHistory =
void
GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with
NotFound if the specified workflow execution is unknown to the service.
Call Signature
GetWorkflowExecutionHistory(
request,callback):void
GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with
NotFound if the specified workflow execution is unknown to the service.
Parameters
request
IGetWorkflowExecutionHistoryRequest
callback
GetWorkflowExecutionHistoryCallback
Returns
void
Call Signature
GetWorkflowExecutionHistory(
request):Promise<GetWorkflowExecutionHistoryResponse>
GetWorkflowExecutionHistory returns the history of specified workflow execution. Fails with
NotFound if the specified workflow execution is unknown to the service.
Parameters
request
IGetWorkflowExecutionHistoryRequest
Returns
Promise<GetWorkflowExecutionHistoryResponse>
Properties
name
readonlyname:"GetWorkflowExecutionHistory"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistory"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"GetWorkflowExecutionHistoryRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"GetWorkflowExecutionHistoryResponse"
GetWorkflowExecutionHistoryCallback
GetWorkflowExecutionHistoryCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#getWorkflowExecutionHistory.
Parameters
error
Error | null
Error, if any
response?
GetWorkflowExecutionHistoryResponse
GetWorkflowExecutionHistoryResponse
Returns
void
GetWorkflowExecutionHistoryReverse()
GetWorkflowExecutionHistoryReverse =
void
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
GetWorkflowExecutionHistoryReverse(
request,callback):void
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.
Parameters
request
IGetWorkflowExecutionHistoryReverseRequest
callback
GetWorkflowExecutionHistoryReverseCallback
Returns
void
Call Signature
GetWorkflowExecutionHistoryReverse(
request):Promise<GetWorkflowExecutionHistoryReverseResponse>
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.
Parameters
request
IGetWorkflowExecutionHistoryReverseRequest
Returns
Promise<GetWorkflowExecutionHistoryReverseResponse>
Properties
name
readonlyname:"GetWorkflowExecutionHistoryReverse"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/GetWorkflowExecutionHistoryReverse"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"GetWorkflowExecutionHistoryReverseRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"GetWorkflowExecutionHistoryReverseResponse"
GetWorkflowExecutionHistoryReverseCallback
GetWorkflowExecutionHistoryReverseCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#getWorkflowExecutionHistoryReverse.
Parameters
error
Error | null
Error, if any
response?
GetWorkflowExecutionHistoryReverseResponse
GetWorkflowExecutionHistoryReverseResponse
Returns
void
ListActivityExecutions()
ListActivityExecutions =
void
ListActivityExecutions is a visibility API to list activity executions in a specific namespace.
Call Signature
ListActivityExecutions(
request,callback):void
ListActivityExecutions is a visibility API to list activity executions in a specific namespace.
Parameters
request
IListActivityExecutionsRequest
callback
ListActivityExecutionsCallback
Returns
void
Call Signature
ListActivityExecutions(
request):Promise<ListActivityExecutionsResponse>
ListActivityExecutions is a visibility API to list activity executions in a specific namespace.
Parameters
request
IListActivityExecutionsRequest
Returns
Promise<ListActivityExecutionsResponse>
Properties
name
readonlyname:"ListActivityExecutions"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListActivityExecutions"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListActivityExecutionsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListActivityExecutionsResponse"
ListActivityExecutionsCallback
ListActivityExecutionsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listActivityExecutions.
Parameters
error
Error | null
Error, if any
response?
ListActivityExecutionsResponse
ListActivityExecutionsResponse
Returns
void
ListArchivedWorkflowExecutions()
ListArchivedWorkflowExecutions =
void
ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.
Call Signature
ListArchivedWorkflowExecutions(
request,callback):void
ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.
Parameters
request
IListArchivedWorkflowExecutionsRequest
callback
ListArchivedWorkflowExecutionsCallback
Returns
void
Call Signature
ListArchivedWorkflowExecutions(
request):Promise<ListArchivedWorkflowExecutionsResponse>
ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.
Parameters
request
IListArchivedWorkflowExecutionsRequest
Returns
Promise<ListArchivedWorkflowExecutionsResponse>
Properties
name
readonlyname:"ListArchivedWorkflowExecutions"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListArchivedWorkflowExecutions"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListArchivedWorkflowExecutionsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListArchivedWorkflowExecutionsResponse"
ListArchivedWorkflowExecutionsCallback
ListArchivedWorkflowExecutionsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listArchivedWorkflowExecutions.
Parameters
error
Error | null
Error, if any
response?
ListArchivedWorkflowExecutionsResponse
ListArchivedWorkflowExecutionsResponse
Returns
void
ListBatchOperations()
ListBatchOperations =
void
ListBatchOperations returns a list of batch operations
Call Signature
ListBatchOperations(
request,callback):void
ListBatchOperations returns a list of batch operations
Parameters
request
callback
Returns
void
Call Signature
ListBatchOperations(
request):Promise<ListBatchOperationsResponse>
ListBatchOperations returns a list of batch operations
Parameters
request
Returns
Promise<ListBatchOperationsResponse>
Properties
name
readonlyname:"ListBatchOperations"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListBatchOperations"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListBatchOperationsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListBatchOperationsResponse"
ListBatchOperationsCallback
ListBatchOperationsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listBatchOperations.
Parameters
error
Error | null
Error, if any
response?
ListBatchOperationsResponse
Returns
void
ListClosedWorkflowExecutions()
ListClosedWorkflowExecutions =
void
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
ListClosedWorkflowExecutions(
request,callback):void
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. --)
Parameters
request
IListClosedWorkflowExecutionsRequest
callback
ListClosedWorkflowExecutionsCallback
Returns
void
Call Signature
ListClosedWorkflowExecutions(
request):Promise<ListClosedWorkflowExecutionsResponse>
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. --)
Parameters
request
IListClosedWorkflowExecutionsRequest
Returns
Promise<ListClosedWorkflowExecutionsResponse>
Properties
name
readonlyname:"ListClosedWorkflowExecutions"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListClosedWorkflowExecutions"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListClosedWorkflowExecutionsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListClosedWorkflowExecutionsResponse"
ListClosedWorkflowExecutionsCallback
ListClosedWorkflowExecutionsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listClosedWorkflowExecutions.
Parameters
error
Error | null
Error, if any
response?
ListClosedWorkflowExecutionsResponse
ListClosedWorkflowExecutionsResponse
Returns
void
ListDeployments()
ListDeployments =
void
Lists worker deployments in the namespace. Optionally can filter based on deployment series
name.
Deprecated. Replaced with ListWorkerDeployments.
Call Signature
ListDeployments(
request,callback):void
Lists worker deployments in the namespace. Optionally can filter based on deployment series
name.
Deprecated. Replaced with ListWorkerDeployments.
Parameters
request
callback
Returns
void
Call Signature
ListDeployments(
request):Promise<ListDeploymentsResponse>
Lists worker deployments in the namespace. Optionally can filter based on deployment series
name.
Deprecated. Replaced with ListWorkerDeployments.
Parameters
request
Returns
Promise<ListDeploymentsResponse>
Properties
name
readonlyname:"ListDeployments"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListDeployments"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListDeploymentsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListDeploymentsResponse"
ListDeploymentsCallback
ListDeploymentsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listDeployments.
Parameters
error
Error | null
Error, if any
response?
ListDeploymentsResponse
Returns
void
ListNamespaces()
ListNamespaces =
void
ListNamespaces returns the information and configuration for all namespaces.
Call Signature
ListNamespaces(
request,callback):void
ListNamespaces returns the information and configuration for all namespaces.
Parameters
request
callback
Returns
void
Call Signature
ListNamespaces(
request):Promise<ListNamespacesResponse>
ListNamespaces returns the information and configuration for all namespaces.
Parameters
request
Returns
Promise<ListNamespacesResponse>
Properties
name
readonlyname:"ListNamespaces"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListNamespaces"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListNamespacesRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListNamespacesResponse"
ListNamespacesCallback
ListNamespacesCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listNamespaces.
Parameters
error
Error | null
Error, if any
response?
ListNamespacesResponse
Returns
void
ListNexusOperationExecutions()
ListNexusOperationExecutions =
void
ListNexusOperationExecutions is a visibility API to list Nexus operations in a specific namespace.
Call Signature
ListNexusOperationExecutions(
request,callback):void
ListNexusOperationExecutions is a visibility API to list Nexus operations in a specific namespace.
Parameters
request
IListNexusOperationExecutionsRequest
callback
ListNexusOperationExecutionsCallback
Returns
void
Call Signature
ListNexusOperationExecutions(
request):Promise<ListNexusOperationExecutionsResponse>
ListNexusOperationExecutions is a visibility API to list Nexus operations in a specific namespace.
Parameters
request
IListNexusOperationExecutionsRequest
Returns
Promise<ListNexusOperationExecutionsResponse>
Properties
name
readonlyname:"ListNexusOperationExecutions"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListNexusOperationExecutions"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListNexusOperationExecutionsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListNexusOperationExecutionsResponse"
ListNexusOperationExecutionsCallback
ListNexusOperationExecutionsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listNexusOperationExecutions.
Parameters
error
Error | null
Error, if any
response?
ListNexusOperationExecutionsResponse
ListNexusOperationExecutionsResponse
Returns
void
ListOpenWorkflowExecutions()
ListOpenWorkflowExecutions =
void
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
ListOpenWorkflowExecutions(
request,callback):void
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. --)
Parameters
request
IListOpenWorkflowExecutionsRequest
callback
ListOpenWorkflowExecutionsCallback
Returns
void
Call Signature
ListOpenWorkflowExecutions(
request):Promise<ListOpenWorkflowExecutionsResponse>
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. --)
Parameters
request
IListOpenWorkflowExecutionsRequest
Returns
Promise<ListOpenWorkflowExecutionsResponse>
Properties
name
readonlyname:"ListOpenWorkflowExecutions"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListOpenWorkflowExecutions"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListOpenWorkflowExecutionsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListOpenWorkflowExecutionsResponse"
ListOpenWorkflowExecutionsCallback
ListOpenWorkflowExecutionsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listOpenWorkflowExecutions.
Parameters
error
Error | null
Error, if any
response?
ListOpenWorkflowExecutionsResponse
ListOpenWorkflowExecutionsResponse
Returns
void
ListScheduleMatchingTimes()
ListScheduleMatchingTimes =
void
Lists matching times within a range.
Call Signature
ListScheduleMatchingTimes(
request,callback):void
Lists matching times within a range.
Parameters
request
IListScheduleMatchingTimesRequest
callback
ListScheduleMatchingTimesCallback
Returns
void
Call Signature
ListScheduleMatchingTimes(
request):Promise<ListScheduleMatchingTimesResponse>
Lists matching times within a range.
Parameters
request
IListScheduleMatchingTimesRequest
Returns
Promise<ListScheduleMatchingTimesResponse>
Properties
name
readonlyname:"ListScheduleMatchingTimes"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListScheduleMatchingTimes"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListScheduleMatchingTimesRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListScheduleMatchingTimesResponse"
ListScheduleMatchingTimesCallback
ListScheduleMatchingTimesCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listScheduleMatchingTimes.
Parameters
error
Error | null
Error, if any
response?
ListScheduleMatchingTimesResponse
ListScheduleMatchingTimesResponse
Returns
void
ListSchedules()
ListSchedules =
void
List all schedules in a namespace.
Call Signature
ListSchedules(
request,callback):void
List all schedules in a namespace.
Parameters
request
callback
Returns
void
Call Signature
ListSchedules(
request):Promise<ListSchedulesResponse>
List all schedules in a namespace.
Parameters
request
Returns
Promise<ListSchedulesResponse>
Properties
name
readonlyname:"ListSchedules"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListSchedules"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListSchedulesRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListSchedulesResponse"
ListSchedulesCallback
ListSchedulesCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listSchedules.
Parameters
error
Error | null
Error, if any
response?
ListSchedulesResponse
Returns
void
ListTaskQueuePartitions()
ListTaskQueuePartitions =
void
(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose this low-level API to HTTP. --)
Call Signature
ListTaskQueuePartitions(
request,callback):void
(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose this low-level API to HTTP. --)
Parameters
request
IListTaskQueuePartitionsRequest
callback
ListTaskQueuePartitionsCallback
Returns
void
Call Signature
ListTaskQueuePartitions(
request):Promise<ListTaskQueuePartitionsResponse>
(-- api-linter: core::0127::http-annotation=disabled aip.dev/not-precedent: We do not expose this low-level API to HTTP. --)
Parameters
request
IListTaskQueuePartitionsRequest
Returns
Promise<ListTaskQueuePartitionsResponse>
Properties
name
readonlyname:"ListTaskQueuePartitions"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListTaskQueuePartitions"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListTaskQueuePartitionsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListTaskQueuePartitionsResponse"
ListTaskQueuePartitionsCallback
ListTaskQueuePartitionsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listTaskQueuePartitions.
Parameters
error
Error | null
Error, if any
response?
ListTaskQueuePartitionsResponse
ListTaskQueuePartitionsResponse
Returns
void
ListWorkerDeployments()
ListWorkerDeployments =
void
Lists all Worker Deployments that are tracked in the Namespace.
Call Signature
ListWorkerDeployments(
request,callback):void
Lists all Worker Deployments that are tracked in the Namespace.
Parameters
request
callback
Returns
void
Call Signature
ListWorkerDeployments(
request):Promise<ListWorkerDeploymentsResponse>
Lists all Worker Deployments that are tracked in the Namespace.
Parameters
request
Returns
Promise<ListWorkerDeploymentsResponse>
Properties
name
readonlyname:"ListWorkerDeployments"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListWorkerDeployments"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListWorkerDeploymentsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListWorkerDeploymentsResponse"
ListWorkerDeploymentsCallback
ListWorkerDeploymentsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listWorkerDeployments.
Parameters
error
Error | null
Error, if any
response?
ListWorkerDeploymentsResponse
Returns
void
ListWorkers()
ListWorkers =
void
ListWorkers is a visibility API to list worker status information in a specific namespace.
Call Signature
ListWorkers(
request,callback):void
ListWorkers is a visibility API to list worker status information in a specific namespace.
Parameters
request
callback
Returns
void
Call Signature
ListWorkers(
request):Promise<ListWorkersResponse>
ListWorkers is a visibility API to list worker status information in a specific namespace.
Parameters
request
Returns
Promise<ListWorkersResponse>
Properties
name
readonlyname:"ListWorkers"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListWorkers"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListWorkersRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListWorkersResponse"
ListWorkersCallback
ListWorkersCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listWorkers.
Parameters
error
Error | null
Error, if any
response?
ListWorkersResponse
Returns
void
ListWorkflowExecutions()
ListWorkflowExecutions =
void
ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.
Call Signature
ListWorkflowExecutions(
request,callback):void
ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.
Parameters
request
IListWorkflowExecutionsRequest
callback
ListWorkflowExecutionsCallback
Returns
void
Call Signature
ListWorkflowExecutions(
request):Promise<ListWorkflowExecutionsResponse>
ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.
Parameters
request
IListWorkflowExecutionsRequest
Returns
Promise<ListWorkflowExecutionsResponse>
Properties
name
readonlyname:"ListWorkflowExecutions"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowExecutions"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListWorkflowExecutionsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListWorkflowExecutionsResponse"
ListWorkflowExecutionsCallback
ListWorkflowExecutionsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listWorkflowExecutions.
Parameters
error
Error | null
Error, if any
response?
ListWorkflowExecutionsResponse
ListWorkflowExecutionsResponse
Returns
void
ListWorkflowRules()
ListWorkflowRules =
void
Return all namespace workflow rules
Call Signature
ListWorkflowRules(
request,callback):void
Return all namespace workflow rules
Parameters
request
callback
Returns
void
Call Signature
ListWorkflowRules(
request):Promise<ListWorkflowRulesResponse>
Return all namespace workflow rules
Parameters
request
Returns
Promise<ListWorkflowRulesResponse>
Properties
name
readonlyname:"ListWorkflowRules"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ListWorkflowRules"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ListWorkflowRulesRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ListWorkflowRulesResponse"
ListWorkflowRulesCallback
ListWorkflowRulesCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#listWorkflowRules.
Parameters
error
Error | null
Error, if any
response?
ListWorkflowRulesResponse
Returns
void
PatchSchedule()
PatchSchedule =
void
Makes a specific change to a schedule or triggers an immediate action.
Call Signature
PatchSchedule(
request,callback):void
Makes a specific change to a schedule or triggers an immediate action.
Parameters
request
callback
Returns
void
Call Signature
PatchSchedule(
request):Promise<PatchScheduleResponse>
Makes a specific change to a schedule or triggers an immediate action.
Parameters
request
Returns
Promise<PatchScheduleResponse>
Properties
name
readonlyname:"PatchSchedule"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/PatchSchedule"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"PatchScheduleRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"PatchScheduleResponse"
PatchScheduleCallback
PatchScheduleCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#patchSchedule.
Parameters
error
Error | null
Error, if any
response?
PatchScheduleResponse
Returns
void
PauseActivity()
PauseActivity =
void
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
PauseActivity(
request,callback):void
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.
Parameters
request
callback
Returns
void
Call Signature
PauseActivity(
request):Promise<PauseActivityResponse>
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.
Parameters
request
Returns
Promise<PauseActivityResponse>
Properties
name
readonlyname:"PauseActivity"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/PauseActivity"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"PauseActivityRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"PauseActivityResponse"
PauseActivityCallback
PauseActivityCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#pauseActivity.
Parameters
error
Error | null
Error, if any
response?
PauseActivityResponse
Returns
void
PauseActivityExecution()
PauseActivityExecution =
void
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
PauseActivityExecution(
request,callback):void
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
Parameters
request
IPauseActivityExecutionRequest
callback
PauseActivityExecutionCallback
Returns
void
Call Signature
PauseActivityExecution(
request):Promise<PauseActivityExecutionResponse>
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
Parameters
request
IPauseActivityExecutionRequest
Returns
Promise<PauseActivityExecutionResponse>
Properties
name
readonlyname:"PauseActivityExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/PauseActivityExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"PauseActivityExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"PauseActivityExecutionResponse"
PauseActivityExecutionCallback
PauseActivityExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#pauseActivityExecution.
Parameters
error
Error | null
Error, if any
response?
PauseActivityExecutionResponse
PauseActivityExecutionResponse
Returns
void
PauseWorkflowExecution()
PauseWorkflowExecution =
void
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
PAUSEDand 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
PauseWorkflowExecution(
request,callback):void
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
PAUSEDand 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.
Parameters
request
IPauseWorkflowExecutionRequest
callback
PauseWorkflowExecutionCallback
Returns
void
Call Signature
PauseWorkflowExecution(
request):Promise<PauseWorkflowExecutionResponse>
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
PAUSEDand 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.
Parameters
request
IPauseWorkflowExecutionRequest
Returns
Promise<PauseWorkflowExecutionResponse>
Properties
name
readonlyname:"PauseWorkflowExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/PauseWorkflowExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"PauseWorkflowExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"PauseWorkflowExecutionResponse"
PauseWorkflowExecutionCallback
PauseWorkflowExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#pauseWorkflowExecution.
Parameters
error
Error | null
Error, if any
response?
PauseWorkflowExecutionResponse
PauseWorkflowExecutionResponse
Returns
void
PollActivityExecution()
PollActivityExecution =
void
PollActivityExecution long-polls for an activity execution to complete and returns the outcome (result or failure).
Call Signature
PollActivityExecution(
request,callback):void
PollActivityExecution long-polls for an activity execution to complete and returns the outcome (result or failure).
Parameters
request
callback
Returns
void
Call Signature
PollActivityExecution(
request):Promise<PollActivityExecutionResponse>
PollActivityExecution long-polls for an activity execution to complete and returns the outcome (result or failure).
Parameters
request
Returns
Promise<PollActivityExecutionResponse>
Properties
name
readonlyname:"PollActivityExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/PollActivityExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"PollActivityExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"PollActivityExecutionResponse"
PollActivityExecutionCallback
PollActivityExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollActivityExecution.
Parameters
error
Error | null
Error, if any
response?
PollActivityExecutionResponse
Returns
void
PollActivityTaskQueue()
PollActivityTaskQueue =
void
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
PollActivityTaskQueue(
request,callback):void
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. --)
Parameters
request
callback
Returns
void
Call Signature
PollActivityTaskQueue(
request):Promise<PollActivityTaskQueueResponse>
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. --)
Parameters
request
Returns
Promise<PollActivityTaskQueueResponse>
Properties
name
readonlyname:"PollActivityTaskQueue"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/PollActivityTaskQueue"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"PollActivityTaskQueueRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"PollActivityTaskQueueResponse"
PollActivityTaskQueueCallback
PollActivityTaskQueueCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollActivityTaskQueue.
Parameters
error
Error | null
Error, if any
response?
PollActivityTaskQueueResponse
Returns
void
PollNexusOperationExecution()
PollNexusOperationExecution =
void
PollNexusOperationExecution long-polls for a Nexus operation for a given wait stage to complete and returns the outcome (result or failure).
Call Signature
PollNexusOperationExecution(
request,callback):void
PollNexusOperationExecution long-polls for a Nexus operation for a given wait stage to complete and returns the outcome (result or failure).
Parameters
request
IPollNexusOperationExecutionRequest
callback
PollNexusOperationExecutionCallback
Returns
void
Call Signature
PollNexusOperationExecution(
request):Promise<PollNexusOperationExecutionResponse>
PollNexusOperationExecution long-polls for a Nexus operation for a given wait stage to complete and returns the outcome (result or failure).
Parameters
request
IPollNexusOperationExecutionRequest
Returns
Promise<PollNexusOperationExecutionResponse>
Properties
name
readonlyname:"PollNexusOperationExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/PollNexusOperationExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"PollNexusOperationExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"PollNexusOperationExecutionResponse"
PollNexusOperationExecutionCallback
PollNexusOperationExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollNexusOperationExecution.
Parameters
error
Error | null
Error, if any
response?
PollNexusOperationExecutionResponse
PollNexusOperationExecutionResponse
Returns
void
PollNexusTaskQueue()
PollNexusTaskQueue =
void
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
PollNexusTaskQueue(
request,callback):void
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. --)
Parameters
request
callback
Returns
void
Call Signature
PollNexusTaskQueue(
request):Promise<PollNexusTaskQueueResponse>
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. --)
Parameters
request
Returns
Promise<PollNexusTaskQueueResponse>
Properties
name
readonlyname:"PollNexusTaskQueue"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/PollNexusTaskQueue"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"PollNexusTaskQueueRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"PollNexusTaskQueueResponse"
PollNexusTaskQueueCallback
PollNexusTaskQueueCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollNexusTaskQueue.
Parameters
error
Error | null
Error, if any
response?
PollNexusTaskQueueResponse
Returns
void
PollWorkflowExecutionTimeSkipping()
PollWorkflowExecutionTimeSkipping =
void
PollWorkflowExecutionTimeSkipping waits for a fast-forward outcome for a workflow execution.
Experimental. Might change in the future.
Call Signature
PollWorkflowExecutionTimeSkipping(
request,callback):void
PollWorkflowExecutionTimeSkipping waits for a fast-forward outcome for a workflow execution.
Experimental. Might change in the future.
Parameters
request
IPollWorkflowExecutionTimeSkippingRequest
callback
PollWorkflowExecutionTimeSkippingCallback
Returns
void
Call Signature
PollWorkflowExecutionTimeSkipping(
request):Promise<PollWorkflowExecutionTimeSkippingResponse>
PollWorkflowExecutionTimeSkipping waits for a fast-forward outcome for a workflow execution.
Experimental. Might change in the future.
Parameters
request
IPollWorkflowExecutionTimeSkippingRequest
Returns
Promise<PollWorkflowExecutionTimeSkippingResponse>
Properties
name
readonlyname:"PollWorkflowExecutionTimeSkipping"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionTimeSkipping"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"PollWorkflowExecutionTimeSkippingRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"PollWorkflowExecutionTimeSkippingResponse"
PollWorkflowExecutionTimeSkippingCallback
PollWorkflowExecutionTimeSkippingCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollWorkflowExecutionTimeSkipping.
Parameters
error
Error | null
Error, if any
response?
PollWorkflowExecutionTimeSkippingResponse
PollWorkflowExecutionTimeSkippingResponse
Returns
void
PollWorkflowExecutionUpdate()
PollWorkflowExecutionUpdate =
void
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
PollWorkflowExecutionUpdate(
request,callback):void
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. --)
Parameters
request
IPollWorkflowExecutionUpdateRequest
callback
PollWorkflowExecutionUpdateCallback
Returns
void
Call Signature
PollWorkflowExecutionUpdate(
request):Promise<PollWorkflowExecutionUpdateResponse>
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. --)
Parameters
request
IPollWorkflowExecutionUpdateRequest
Returns
Promise<PollWorkflowExecutionUpdateResponse>
Properties
name
readonlyname:"PollWorkflowExecutionUpdate"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowExecutionUpdate"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"PollWorkflowExecutionUpdateRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"PollWorkflowExecutionUpdateResponse"
PollWorkflowExecutionUpdateCallback
PollWorkflowExecutionUpdateCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollWorkflowExecutionUpdate.
Parameters
error
Error | null
Error, if any
response?
PollWorkflowExecutionUpdateResponse
PollWorkflowExecutionUpdateResponse
Returns
void
PollWorkflowTaskQueue()
PollWorkflowTaskQueue =
void
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
PollWorkflowTaskQueue(
request,callback):void
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. --)
Parameters
request
callback
Returns
void
Call Signature
PollWorkflowTaskQueue(
request):Promise<PollWorkflowTaskQueueResponse>
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. --)
Parameters
request
Returns
Promise<PollWorkflowTaskQueueResponse>
Properties
name
readonlyname:"PollWorkflowTaskQueue"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"PollWorkflowTaskQueueRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"PollWorkflowTaskQueueResponse"
PollWorkflowTaskQueueCallback
PollWorkflowTaskQueueCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#pollWorkflowTaskQueue.
Parameters
error
Error | null
Error, if any
response?
PollWorkflowTaskQueueResponse
Returns
void
QueryWorkflow()
QueryWorkflow =
void
QueryWorkflow requests a query be executed for a specified workflow execution.
Call Signature
QueryWorkflow(
request,callback):void
QueryWorkflow requests a query be executed for a specified workflow execution.
Parameters
request
callback
Returns
void
Call Signature
QueryWorkflow(
request):Promise<QueryWorkflowResponse>
QueryWorkflow requests a query be executed for a specified workflow execution.
Parameters
request
Returns
Promise<QueryWorkflowResponse>
Properties
name
readonlyname:"QueryWorkflow"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/QueryWorkflow"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"QueryWorkflowRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"QueryWorkflowResponse"
QueryWorkflowCallback
QueryWorkflowCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#queryWorkflow.
Parameters
error
Error | null
Error, if any
response?
QueryWorkflowResponse
Returns
void
RecordActivityTaskHeartbeat()
RecordActivityTaskHeartbeat =
void
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
RecordActivityTaskHeartbeat(
request,callback):void
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.
Parameters
request
IRecordActivityTaskHeartbeatRequest
callback
RecordActivityTaskHeartbeatCallback
Returns
void
Call Signature
RecordActivityTaskHeartbeat(
request):Promise<RecordActivityTaskHeartbeatResponse>
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.
Parameters
request
IRecordActivityTaskHeartbeatRequest
Returns
Promise<RecordActivityTaskHeartbeatResponse>
Properties
name
readonlyname:"RecordActivityTaskHeartbeat"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeat"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RecordActivityTaskHeartbeatRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RecordActivityTaskHeartbeatResponse"
RecordActivityTaskHeartbeatById()
RecordActivityTaskHeartbeatById =
void
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
RecordActivityTaskHeartbeatById(
request,callback):void
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. --)
Parameters
request
IRecordActivityTaskHeartbeatByIdRequest
callback
RecordActivityTaskHeartbeatByIdCallback
Returns
void
Call Signature
RecordActivityTaskHeartbeatById(
request):Promise<RecordActivityTaskHeartbeatByIdResponse>
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. --)
Parameters
request
IRecordActivityTaskHeartbeatByIdRequest
Returns
Promise<RecordActivityTaskHeartbeatByIdResponse>
Properties
name
readonlyname:"RecordActivityTaskHeartbeatById"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RecordActivityTaskHeartbeatById"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RecordActivityTaskHeartbeatByIdRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RecordActivityTaskHeartbeatByIdResponse"
RecordActivityTaskHeartbeatByIdCallback
RecordActivityTaskHeartbeatByIdCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#recordActivityTaskHeartbeatById.
Parameters
error
Error | null
Error, if any
response?
RecordActivityTaskHeartbeatByIdResponse
RecordActivityTaskHeartbeatByIdResponse
Returns
void
RecordActivityTaskHeartbeatCallback
RecordActivityTaskHeartbeatCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#recordActivityTaskHeartbeat.
Parameters
error
Error | null
Error, if any
response?
RecordActivityTaskHeartbeatResponse
RecordActivityTaskHeartbeatResponse
Returns
void
RecordWorkerHeartbeat()
RecordWorkerHeartbeat =
void
WorkerHeartbeat receive heartbeat request from the worker.
Call Signature
RecordWorkerHeartbeat(
request,callback):void
WorkerHeartbeat receive heartbeat request from the worker.
Parameters
request
callback
Returns
void
Call Signature
RecordWorkerHeartbeat(
request):Promise<RecordWorkerHeartbeatResponse>
WorkerHeartbeat receive heartbeat request from the worker.
Parameters
request
Returns
Promise<RecordWorkerHeartbeatResponse>
Properties
name
readonlyname:"RecordWorkerHeartbeat"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RecordWorkerHeartbeat"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RecordWorkerHeartbeatRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RecordWorkerHeartbeatResponse"
RecordWorkerHeartbeatCallback
RecordWorkerHeartbeatCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#recordWorkerHeartbeat.
Parameters
error
Error | null
Error, if any
response?
RecordWorkerHeartbeatResponse
Returns
void
RegisterNamespace()
RegisterNamespace =
void
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
RegisterNamespace(
request,callback):void
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.
Parameters
request
callback
Returns
void
Call Signature
RegisterNamespace(
request):Promise<RegisterNamespaceResponse>
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.
Parameters
request
Returns
Promise<RegisterNamespaceResponse>
Properties
name
readonlyname:"RegisterNamespace"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RegisterNamespace"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RegisterNamespaceRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RegisterNamespaceResponse"
RegisterNamespaceCallback
RegisterNamespaceCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#registerNamespace.
Parameters
error
Error | null
Error, if any
response?
RegisterNamespaceResponse
Returns
void
RequestCancelActivityExecution()
RequestCancelActivityExecution =
void
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
RequestCancelActivityExecution(
request,callback):void
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).
Parameters
request
IRequestCancelActivityExecutionRequest
callback
RequestCancelActivityExecutionCallback
Returns
void
Call Signature
RequestCancelActivityExecution(
request):Promise<RequestCancelActivityExecutionResponse>
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).
Parameters
request
IRequestCancelActivityExecutionRequest
Returns
Promise<RequestCancelActivityExecutionResponse>
Properties
name
readonlyname:"RequestCancelActivityExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RequestCancelActivityExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RequestCancelActivityExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RequestCancelActivityExecutionResponse"
RequestCancelActivityExecutionCallback
RequestCancelActivityExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#requestCancelActivityExecution.
Parameters
error
Error | null
Error, if any
response?
RequestCancelActivityExecutionResponse
RequestCancelActivityExecutionResponse
Returns
void
RequestCancelNexusOperationExecution()
RequestCancelNexusOperationExecution =
void
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
RequestCancelNexusOperationExecution(
request,callback):void
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.
Parameters
request
IRequestCancelNexusOperationExecutionRequest
callback
RequestCancelNexusOperationExecutionCallback
Returns
void
Call Signature
RequestCancelNexusOperationExecution(
request):Promise<RequestCancelNexusOperationExecutionResponse>
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.
Parameters
request
IRequestCancelNexusOperationExecutionRequest
Returns
Promise<RequestCancelNexusOperationExecutionResponse>
Properties
name
readonlyname:"RequestCancelNexusOperationExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RequestCancelNexusOperationExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RequestCancelNexusOperationExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RequestCancelNexusOperationExecutionResponse"
RequestCancelNexusOperationExecutionCallback
RequestCancelNexusOperationExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#requestCancelNexusOperationExecution.
Parameters
error
Error | null
Error, if any
response?
RequestCancelNexusOperationExecutionResponse
RequestCancelNexusOperationExecutionResponse
Returns
void
RequestCancelWorkflowExecution()
RequestCancelWorkflowExecution =
void
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
RequestCancelWorkflowExecution(
request,callback):void
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.
Parameters
request
IRequestCancelWorkflowExecutionRequest
callback
RequestCancelWorkflowExecutionCallback
Returns
void
Call Signature
RequestCancelWorkflowExecution(
request):Promise<RequestCancelWorkflowExecutionResponse>
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.
Parameters
request
IRequestCancelWorkflowExecutionRequest
Returns
Promise<RequestCancelWorkflowExecutionResponse>
Properties
name
readonlyname:"RequestCancelWorkflowExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RequestCancelWorkflowExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RequestCancelWorkflowExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RequestCancelWorkflowExecutionResponse"
RequestCancelWorkflowExecutionCallback
RequestCancelWorkflowExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#requestCancelWorkflowExecution.
Parameters
error
Error | null
Error, if any
response?
RequestCancelWorkflowExecutionResponse
RequestCancelWorkflowExecutionResponse
Returns
void
ResetActivity()
ResetActivity =
void
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
ResetActivity(
request,callback):void
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.
Parameters
request
callback
Returns
void
Call Signature
ResetActivity(
request):Promise<ResetActivityResponse>
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.
Parameters
request
Returns
Promise<ResetActivityResponse>
Properties
name
readonlyname:"ResetActivity"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ResetActivity"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ResetActivityRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ResetActivityResponse"
ResetActivityCallback
ResetActivityCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#resetActivity.
Parameters
error
Error | null
Error, if any
response?
ResetActivityResponse
Returns
void
ResetActivityExecution()
ResetActivityExecution =
void
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
ResetActivityExecution(
request,callback):void
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.
Parameters
request
IResetActivityExecutionRequest
callback
ResetActivityExecutionCallback
Returns
void
Call Signature
ResetActivityExecution(
request):Promise<ResetActivityExecutionResponse>
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.
Parameters
request
IResetActivityExecutionRequest
Returns
Promise<ResetActivityExecutionResponse>
Properties
name
readonlyname:"ResetActivityExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ResetActivityExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ResetActivityExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ResetActivityExecutionResponse"
ResetActivityExecutionCallback
ResetActivityExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#resetActivityExecution.
Parameters
error
Error | null
Error, if any
response?
ResetActivityExecutionResponse
ResetActivityExecutionResponse
Returns
void
ResetStickyTaskQueue()
ResetStickyTaskQueue =
void
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:
- StickyTaskQueue
- 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
ResetStickyTaskQueue(
request,callback):void
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:
- StickyTaskQueue
- 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. --)
Parameters
request
callback
Returns
void
Call Signature
ResetStickyTaskQueue(
request):Promise<ResetStickyTaskQueueResponse>
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:
- StickyTaskQueue
- 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. --)
Parameters
request
Returns
Promise<ResetStickyTaskQueueResponse>
Properties
name
readonlyname:"ResetStickyTaskQueue"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ResetStickyTaskQueue"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ResetStickyTaskQueueRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ResetStickyTaskQueueResponse"
ResetStickyTaskQueueCallback
ResetStickyTaskQueueCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#resetStickyTaskQueue.
Parameters
error
Error | null
Error, if any
response?
ResetStickyTaskQueueResponse
Returns
void
ResetWorkflowExecution()
ResetWorkflowExecution =
void
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
ResetWorkflowExecution(
request,callback):void
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.
Parameters
request
IResetWorkflowExecutionRequest
callback
ResetWorkflowExecutionCallback
Returns
void
Call Signature
ResetWorkflowExecution(
request):Promise<ResetWorkflowExecutionResponse>
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.
Parameters
request
IResetWorkflowExecutionRequest
Returns
Promise<ResetWorkflowExecutionResponse>
Properties
name
readonlyname:"ResetWorkflowExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ResetWorkflowExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ResetWorkflowExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ResetWorkflowExecutionResponse"
ResetWorkflowExecutionCallback
ResetWorkflowExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#resetWorkflowExecution.
Parameters
error
Error | null
Error, if any
response?
ResetWorkflowExecutionResponse
ResetWorkflowExecutionResponse
Returns
void
RespondActivityTaskCanceled()
RespondActivityTaskCanceled =
void
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
RespondActivityTaskCanceled(
request,callback):void
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.
Parameters
request
IRespondActivityTaskCanceledRequest
callback
RespondActivityTaskCanceledCallback
Returns
void
Call Signature
RespondActivityTaskCanceled(
request):Promise<RespondActivityTaskCanceledResponse>
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.
Parameters
request
IRespondActivityTaskCanceledRequest
Returns
Promise<RespondActivityTaskCanceledResponse>
Properties
name
readonlyname:"RespondActivityTaskCanceled"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceled"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RespondActivityTaskCanceledRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RespondActivityTaskCanceledResponse"
RespondActivityTaskCanceledById()
RespondActivityTaskCanceledById =
void
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
RespondActivityTaskCanceledById(
request,callback):void
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. --)
Parameters
request
IRespondActivityTaskCanceledByIdRequest
callback
RespondActivityTaskCanceledByIdCallback
Returns
void
Call Signature
RespondActivityTaskCanceledById(
request):Promise<RespondActivityTaskCanceledByIdResponse>
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. --)
Parameters
request
IRespondActivityTaskCanceledByIdRequest
Returns
Promise<RespondActivityTaskCanceledByIdResponse>
Properties
name
readonlyname:"RespondActivityTaskCanceledById"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCanceledById"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RespondActivityTaskCanceledByIdRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RespondActivityTaskCanceledByIdResponse"
RespondActivityTaskCanceledByIdCallback
RespondActivityTaskCanceledByIdCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondActivityTaskCanceledById.
Parameters
error
Error | null
Error, if any
response?
RespondActivityTaskCanceledByIdResponse
RespondActivityTaskCanceledByIdResponse
Returns
void
RespondActivityTaskCanceledCallback
RespondActivityTaskCanceledCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondActivityTaskCanceled.
Parameters
error
Error | null
Error, if any
response?
RespondActivityTaskCanceledResponse
RespondActivityTaskCanceledResponse
Returns
void
RespondActivityTaskCompleted()
RespondActivityTaskCompleted =
void
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
RespondActivityTaskCompleted(
request,callback):void
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.
Parameters
request
IRespondActivityTaskCompletedRequest
callback
RespondActivityTaskCompletedCallback
Returns
void
Call Signature
RespondActivityTaskCompleted(
request):Promise<RespondActivityTaskCompletedResponse>
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.
Parameters
request
IRespondActivityTaskCompletedRequest
Returns
Promise<RespondActivityTaskCompletedResponse>
Properties
name
readonlyname:"RespondActivityTaskCompleted"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompleted"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RespondActivityTaskCompletedRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RespondActivityTaskCompletedResponse"
RespondActivityTaskCompletedById()
RespondActivityTaskCompletedById =
void
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
RespondActivityTaskCompletedById(
request,callback):void
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. --)
Parameters
request
IRespondActivityTaskCompletedByIdRequest
callback
RespondActivityTaskCompletedByIdCallback
Returns
void
Call Signature
RespondActivityTaskCompletedById(
request):Promise<RespondActivityTaskCompletedByIdResponse>
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. --)
Parameters
request
IRespondActivityTaskCompletedByIdRequest
Returns
Promise<RespondActivityTaskCompletedByIdResponse>
Properties
name
readonlyname:"RespondActivityTaskCompletedById"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskCompletedById"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RespondActivityTaskCompletedByIdRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RespondActivityTaskCompletedByIdResponse"
RespondActivityTaskCompletedByIdCallback
RespondActivityTaskCompletedByIdCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondActivityTaskCompletedById.
Parameters
error
Error | null
Error, if any
response?
RespondActivityTaskCompletedByIdResponse
RespondActivityTaskCompletedByIdResponse
Returns
void
RespondActivityTaskCompletedCallback
RespondActivityTaskCompletedCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondActivityTaskCompleted.
Parameters
error
Error | null
Error, if any
response?
RespondActivityTaskCompletedResponse
RespondActivityTaskCompletedResponse
Returns
void
RespondActivityTaskFailed()
RespondActivityTaskFailed =
void
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
RespondActivityTaskFailed(
request,callback):void
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.
Parameters
request
IRespondActivityTaskFailedRequest
callback
RespondActivityTaskFailedCallback
Returns
void
Call Signature
RespondActivityTaskFailed(
request):Promise<RespondActivityTaskFailedResponse>
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.
Parameters
request
IRespondActivityTaskFailedRequest
Returns
Promise<RespondActivityTaskFailedResponse>
Properties
name
readonlyname:"RespondActivityTaskFailed"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailed"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RespondActivityTaskFailedRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RespondActivityTaskFailedResponse"
RespondActivityTaskFailedById()
RespondActivityTaskFailedById =
void
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
RespondActivityTaskFailedById(
request,callback):void
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. --)
Parameters
request
IRespondActivityTaskFailedByIdRequest
callback
RespondActivityTaskFailedByIdCallback
Returns
void
Call Signature
RespondActivityTaskFailedById(
request):Promise<RespondActivityTaskFailedByIdResponse>
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. --)
Parameters
request
IRespondActivityTaskFailedByIdRequest
Returns
Promise<RespondActivityTaskFailedByIdResponse>
Properties
name
readonlyname:"RespondActivityTaskFailedById"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RespondActivityTaskFailedById"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RespondActivityTaskFailedByIdRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RespondActivityTaskFailedByIdResponse"
RespondActivityTaskFailedByIdCallback
RespondActivityTaskFailedByIdCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondActivityTaskFailedById.
Parameters
error
Error | null
Error, if any
response?
RespondActivityTaskFailedByIdResponse
RespondActivityTaskFailedByIdResponse
Returns
void
RespondActivityTaskFailedCallback
RespondActivityTaskFailedCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondActivityTaskFailed.
Parameters
error
Error | null
Error, if any
response?
RespondActivityTaskFailedResponse
RespondActivityTaskFailedResponse
Returns
void
RespondNexusTaskCompleted()
RespondNexusTaskCompleted =
void
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
RespondNexusTaskCompleted(
request,callback):void
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. --)
Parameters
request
IRespondNexusTaskCompletedRequest
callback
RespondNexusTaskCompletedCallback
Returns
void
Call Signature
RespondNexusTaskCompleted(
request):Promise<RespondNexusTaskCompletedResponse>
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. --)
Parameters
request
IRespondNexusTaskCompletedRequest
Returns
Promise<RespondNexusTaskCompletedResponse>
Properties
name
readonlyname:"RespondNexusTaskCompleted"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskCompleted"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RespondNexusTaskCompletedRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RespondNexusTaskCompletedResponse"
RespondNexusTaskCompletedCallback
RespondNexusTaskCompletedCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondNexusTaskCompleted.
Parameters
error
Error | null
Error, if any
response?
RespondNexusTaskCompletedResponse
RespondNexusTaskCompletedResponse
Returns
void
RespondNexusTaskFailed()
RespondNexusTaskFailed =
void
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
RespondNexusTaskFailed(
request,callback):void
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. --)
Parameters
request
IRespondNexusTaskFailedRequest
callback
RespondNexusTaskFailedCallback
Returns
void
Call Signature
RespondNexusTaskFailed(
request):Promise<RespondNexusTaskFailedResponse>
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. --)
Parameters
request
IRespondNexusTaskFailedRequest
Returns
Promise<RespondNexusTaskFailedResponse>
Properties
name
readonlyname:"RespondNexusTaskFailed"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RespondNexusTaskFailed"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RespondNexusTaskFailedRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RespondNexusTaskFailedResponse"
RespondNexusTaskFailedCallback
RespondNexusTaskFailedCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondNexusTaskFailed.
Parameters
error
Error | null
Error, if any
response?
RespondNexusTaskFailedResponse
RespondNexusTaskFailedResponse
Returns
void
RespondQueryTaskCompleted()
RespondQueryTaskCompleted =
void
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
RespondQueryTaskCompleted(
request,callback):void
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. --)
Parameters
request
IRespondQueryTaskCompletedRequest
callback
RespondQueryTaskCompletedCallback
Returns
void
Call Signature
RespondQueryTaskCompleted(
request):Promise<RespondQueryTaskCompletedResponse>
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. --)
Parameters
request
IRespondQueryTaskCompletedRequest
Returns
Promise<RespondQueryTaskCompletedResponse>
Properties
name
readonlyname:"RespondQueryTaskCompleted"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RespondQueryTaskCompleted"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RespondQueryTaskCompletedRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RespondQueryTaskCompletedResponse"
RespondQueryTaskCompletedCallback
RespondQueryTaskCompletedCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondQueryTaskCompleted.
Parameters
error
Error | null
Error, if any
response?
RespondQueryTaskCompletedResponse
RespondQueryTaskCompletedResponse
Returns
void
RespondWorkflowTaskCompleted()
RespondWorkflowTaskCompleted =
void
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
RespondWorkflowTaskCompleted(
request,callback):void
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. --)
Parameters
request
IRespondWorkflowTaskCompletedRequest
callback
RespondWorkflowTaskCompletedCallback
Returns
void
Call Signature
RespondWorkflowTaskCompleted(
request):Promise<RespondWorkflowTaskCompletedResponse>
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. --)
Parameters
request
IRespondWorkflowTaskCompletedRequest
Returns
Promise<RespondWorkflowTaskCompletedResponse>
Properties
name
readonlyname:"RespondWorkflowTaskCompleted"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskCompleted"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RespondWorkflowTaskCompletedRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RespondWorkflowTaskCompletedResponse"
RespondWorkflowTaskCompletedCallback
RespondWorkflowTaskCompletedCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondWorkflowTaskCompleted.
Parameters
error
Error | null
Error, if any
response?
RespondWorkflowTaskCompletedResponse
RespondWorkflowTaskCompletedResponse
Returns
void
RespondWorkflowTaskFailed()
RespondWorkflowTaskFailed =
void
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
RespondWorkflowTaskFailed(
request,callback):void
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. --)
Parameters
request
IRespondWorkflowTaskFailedRequest
callback
RespondWorkflowTaskFailedCallback
Returns
void
Call Signature
RespondWorkflowTaskFailed(
request):Promise<RespondWorkflowTaskFailedResponse>
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. --)
Parameters
request
IRespondWorkflowTaskFailedRequest
Returns
Promise<RespondWorkflowTaskFailedResponse>
Properties
name
readonlyname:"RespondWorkflowTaskFailed"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/RespondWorkflowTaskFailed"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"RespondWorkflowTaskFailedRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"RespondWorkflowTaskFailedResponse"
RespondWorkflowTaskFailedCallback
RespondWorkflowTaskFailedCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#respondWorkflowTaskFailed.
Parameters
error
Error | null
Error, if any
response?
RespondWorkflowTaskFailedResponse
RespondWorkflowTaskFailedResponse
Returns
void
ScanWorkflowExecutions()
ScanWorkflowExecutions =
void
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
ScanWorkflowExecutions(
request,callback):void
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. --)
Parameters
request
IScanWorkflowExecutionsRequest
callback
ScanWorkflowExecutionsCallback
Returns
void
Call Signature
ScanWorkflowExecutions(
request):Promise<ScanWorkflowExecutionsResponse>
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. --)
Parameters
request
IScanWorkflowExecutionsRequest
Returns
Promise<ScanWorkflowExecutionsResponse>
Properties
name
readonlyname:"ScanWorkflowExecutions"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ScanWorkflowExecutions"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ScanWorkflowExecutionsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ScanWorkflowExecutionsResponse"
ScanWorkflowExecutionsCallback
ScanWorkflowExecutionsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#scanWorkflowExecutions.
Parameters
error
Error | null
Error, if any
response?
ScanWorkflowExecutionsResponse
ScanWorkflowExecutionsResponse
Returns
void
SetCurrentDeployment()
SetCurrentDeployment =
void
Sets a deployment as the current deployment for its deployment series. Can optionally update
the metadata of the deployment as well.
Deprecated. Replaced by SetWorkerDeploymentCurrentVersion.
Call Signature
SetCurrentDeployment(
request,callback):void
Sets a deployment as the current deployment for its deployment series. Can optionally update
the metadata of the deployment as well.
Deprecated. Replaced by SetWorkerDeploymentCurrentVersion.
Parameters
request
callback
Returns
void
Call Signature
SetCurrentDeployment(
request):Promise<SetCurrentDeploymentResponse>
Sets a deployment as the current deployment for its deployment series. Can optionally update
the metadata of the deployment as well.
Deprecated. Replaced by SetWorkerDeploymentCurrentVersion.
Parameters
request
Returns
Promise<SetCurrentDeploymentResponse>
Properties
name
readonlyname:"SetCurrentDeployment"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/SetCurrentDeployment"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"SetCurrentDeploymentRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"SetCurrentDeploymentResponse"
SetCurrentDeploymentCallback
SetCurrentDeploymentCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#setCurrentDeployment.
Parameters
error
Error | null
Error, if any
response?
SetCurrentDeploymentResponse
Returns
void
SetWorkerDeploymentCurrentVersion()
SetWorkerDeploymentCurrentVersion =
void
Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping Version if it is the Version being set as Current.
Call Signature
SetWorkerDeploymentCurrentVersion(
request,callback):void
Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping Version if it is the Version being set as Current.
Parameters
request
ISetWorkerDeploymentCurrentVersionRequest
callback
SetWorkerDeploymentCurrentVersionCallback
Returns
void
Call Signature
SetWorkerDeploymentCurrentVersion(
request):Promise<SetWorkerDeploymentCurrentVersionResponse>
Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping Version if it is the Version being set as Current.
Parameters
request
ISetWorkerDeploymentCurrentVersionRequest
Returns
Promise<SetWorkerDeploymentCurrentVersionResponse>
Properties
name
readonlyname:"SetWorkerDeploymentCurrentVersion"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentCurrentVersion"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"SetWorkerDeploymentCurrentVersionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"SetWorkerDeploymentCurrentVersionResponse"
SetWorkerDeploymentCurrentVersionCallback
SetWorkerDeploymentCurrentVersionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#setWorkerDeploymentCurrentVersion.
Parameters
error
Error | null
Error, if any
response?
SetWorkerDeploymentCurrentVersionResponse
SetWorkerDeploymentCurrentVersionResponse
Returns
void
SetWorkerDeploymentManager()
SetWorkerDeploymentManager =
void
Set/unset the ManagerIdentity of a Worker Deployment. Experimental. This API might significantly change or be removed in a future release.
Call Signature
SetWorkerDeploymentManager(
request,callback):void
Set/unset the ManagerIdentity of a Worker Deployment. Experimental. This API might significantly change or be removed in a future release.
Parameters
request
ISetWorkerDeploymentManagerRequest
callback
SetWorkerDeploymentManagerCallback
Returns
void
Call Signature
SetWorkerDeploymentManager(
request):Promise<SetWorkerDeploymentManagerResponse>
Set/unset the ManagerIdentity of a Worker Deployment. Experimental. This API might significantly change or be removed in a future release.
Parameters
request
ISetWorkerDeploymentManagerRequest
Returns
Promise<SetWorkerDeploymentManagerResponse>
Properties
name
readonlyname:"SetWorkerDeploymentManager"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentManager"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"SetWorkerDeploymentManagerRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"SetWorkerDeploymentManagerResponse"
SetWorkerDeploymentManagerCallback
SetWorkerDeploymentManagerCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#setWorkerDeploymentManager.
Parameters
error
Error | null
Error, if any
response?
SetWorkerDeploymentManagerResponse
SetWorkerDeploymentManagerResponse
Returns
void
SetWorkerDeploymentRampingVersion()
SetWorkerDeploymentRampingVersion =
void
Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for gradual ramp to unversioned workers too.
Call Signature
SetWorkerDeploymentRampingVersion(
request,callback):void
Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for gradual ramp to unversioned workers too.
Parameters
request
ISetWorkerDeploymentRampingVersionRequest
callback
SetWorkerDeploymentRampingVersionCallback
Returns
void
Call Signature
SetWorkerDeploymentRampingVersion(
request):Promise<SetWorkerDeploymentRampingVersionResponse>
Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for gradual ramp to unversioned workers too.
Parameters
request
ISetWorkerDeploymentRampingVersionRequest
Returns
Promise<SetWorkerDeploymentRampingVersionResponse>
Properties
name
readonlyname:"SetWorkerDeploymentRampingVersion"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/SetWorkerDeploymentRampingVersion"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"SetWorkerDeploymentRampingVersionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"SetWorkerDeploymentRampingVersionResponse"
SetWorkerDeploymentRampingVersionCallback
SetWorkerDeploymentRampingVersionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#setWorkerDeploymentRampingVersion.
Parameters
error
Error | null
Error, if any
response?
SetWorkerDeploymentRampingVersionResponse
SetWorkerDeploymentRampingVersionResponse
Returns
void
ShutdownWorker()
ShutdownWorker =
void
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
ShutdownWorker(
request,callback):void
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. --)
Parameters
request
callback
Returns
void
Call Signature
ShutdownWorker(
request):Promise<ShutdownWorkerResponse>
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. --)
Parameters
request
Returns
Promise<ShutdownWorkerResponse>
Properties
name
readonlyname:"ShutdownWorker"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/ShutdownWorker"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"ShutdownWorkerRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"ShutdownWorkerResponse"
ShutdownWorkerCallback
ShutdownWorkerCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#shutdownWorker.
Parameters
error
Error | null
Error, if any
response?
ShutdownWorkerResponse
Returns
void
SignalWithStartWorkflowExecution()
SignalWithStartWorkflowExecution =
void
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
SignalWithStartWorkflowExecution(
request,callback):void
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. --)
Parameters
request
ISignalWithStartWorkflowExecutionRequest
callback
SignalWithStartWorkflowExecutionCallback
Returns
void
Call Signature
SignalWithStartWorkflowExecution(
request):Promise<SignalWithStartWorkflowExecutionResponse>
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. --)
Parameters
request
ISignalWithStartWorkflowExecutionRequest
Returns
Promise<SignalWithStartWorkflowExecutionResponse>
Properties
name
readonlyname:"SignalWithStartWorkflowExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/SignalWithStartWorkflowExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"SignalWithStartWorkflowExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"SignalWithStartWorkflowExecutionResponse"
SignalWithStartWorkflowExecutionCallback
SignalWithStartWorkflowExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#signalWithStartWorkflowExecution.
Parameters
error
Error | null
Error, if any
response?
SignalWithStartWorkflowExecutionResponse
SignalWithStartWorkflowExecutionResponse
Returns
void
SignalWorkflowExecution()
SignalWorkflowExecution =
void
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
SignalWorkflowExecution(
request,callback):void
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.
Parameters
request
ISignalWorkflowExecutionRequest
callback
SignalWorkflowExecutionCallback
Returns
void
Call Signature
SignalWorkflowExecution(
request):Promise<SignalWorkflowExecutionResponse>
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.
Parameters
request
ISignalWorkflowExecutionRequest
Returns
Promise<SignalWorkflowExecutionResponse>
Properties
name
readonlyname:"SignalWorkflowExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/SignalWorkflowExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"SignalWorkflowExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"SignalWorkflowExecutionResponse"
SignalWorkflowExecutionCallback
SignalWorkflowExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#signalWorkflowExecution.
Parameters
error
Error | null
Error, if any
response?
SignalWorkflowExecutionResponse
SignalWorkflowExecutionResponse
Returns
void
StartActivityExecution()
StartActivityExecution =
void
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
StartActivityExecution(
request,callback):void
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.
Parameters
request
IStartActivityExecutionRequest
callback
StartActivityExecutionCallback
Returns
void
Call Signature
StartActivityExecution(
request):Promise<StartActivityExecutionResponse>
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.
Parameters
request
IStartActivityExecutionRequest
Returns
Promise<StartActivityExecutionResponse>
Properties
name
readonlyname:"StartActivityExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/StartActivityExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"StartActivityExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"StartActivityExecutionResponse"
StartActivityExecutionCallback
StartActivityExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#startActivityExecution.
Parameters
error
Error | null
Error, if any
response?
StartActivityExecutionResponse
StartActivityExecutionResponse
Returns
void
StartBatchOperation()
StartBatchOperation =
void
StartBatchOperation starts a new batch operation
Call Signature
StartBatchOperation(
request,callback):void
StartBatchOperation starts a new batch operation
Parameters
request
callback
Returns
void
Call Signature
StartBatchOperation(
request):Promise<StartBatchOperationResponse>
StartBatchOperation starts a new batch operation
Parameters
request
Returns
Promise<StartBatchOperationResponse>
Properties
name
readonlyname:"StartBatchOperation"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/StartBatchOperation"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"StartBatchOperationRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"StartBatchOperationResponse"
StartBatchOperationCallback
StartBatchOperationCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#startBatchOperation.
Parameters
error
Error | null
Error, if any
response?
StartBatchOperationResponse
Returns
void
StartNexusOperationExecution()
StartNexusOperationExecution =
void
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
StartNexusOperationExecution(
request,callback):void
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.
Parameters
request
IStartNexusOperationExecutionRequest
callback
StartNexusOperationExecutionCallback
Returns
void
Call Signature
StartNexusOperationExecution(
request):Promise<StartNexusOperationExecutionResponse>
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.
Parameters
request
IStartNexusOperationExecutionRequest
Returns
Promise<StartNexusOperationExecutionResponse>
Properties
name
readonlyname:"StartNexusOperationExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/StartNexusOperationExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"StartNexusOperationExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"StartNexusOperationExecutionResponse"
StartNexusOperationExecutionCallback
StartNexusOperationExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#startNexusOperationExecution.
Parameters
error
Error | null
Error, if any
response?
StartNexusOperationExecutionResponse
StartNexusOperationExecutionResponse
Returns
void
StartWorkflowExecution()
StartWorkflowExecution =
void
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
StartWorkflowExecution(
request,callback):void
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.
Parameters
request
IStartWorkflowExecutionRequest
callback
StartWorkflowExecutionCallback
Returns
void
Call Signature
StartWorkflowExecution(
request):Promise<StartWorkflowExecutionResponse>
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.
Parameters
request
IStartWorkflowExecutionRequest
Returns
Promise<StartWorkflowExecutionResponse>
Properties
name
readonlyname:"StartWorkflowExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/StartWorkflowExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"StartWorkflowExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"StartWorkflowExecutionResponse"
StartWorkflowExecutionCallback
StartWorkflowExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#startWorkflowExecution.
Parameters
error
Error | null
Error, if any
response?
StartWorkflowExecutionResponse
StartWorkflowExecutionResponse
Returns
void
StopBatchOperation()
StopBatchOperation =
void
StopBatchOperation stops a batch operation
Call Signature
StopBatchOperation(
request,callback):void
StopBatchOperation stops a batch operation
Parameters
request
callback
Returns
void
Call Signature
StopBatchOperation(
request):Promise<StopBatchOperationResponse>
StopBatchOperation stops a batch operation
Parameters
request
Returns
Promise<StopBatchOperationResponse>
Properties
name
readonlyname:"StopBatchOperation"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/StopBatchOperation"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"StopBatchOperationRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"StopBatchOperationResponse"
StopBatchOperationCallback
StopBatchOperationCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#stopBatchOperation.
Parameters
error
Error | null
Error, if any
response?
StopBatchOperationResponse
Returns
void
TerminateActivityExecution()
TerminateActivityExecution =
void
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
TerminateActivityExecution(
request,callback):void
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.
Parameters
request
ITerminateActivityExecutionRequest
callback
TerminateActivityExecutionCallback
Returns
void
Call Signature
TerminateActivityExecution(
request):Promise<TerminateActivityExecutionResponse>
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.
Parameters
request
ITerminateActivityExecutionRequest
Returns
Promise<TerminateActivityExecutionResponse>
Properties
name
readonlyname:"TerminateActivityExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/TerminateActivityExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"TerminateActivityExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"TerminateActivityExecutionResponse"
TerminateActivityExecutionCallback
TerminateActivityExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#terminateActivityExecution.
Parameters
error
Error | null
Error, if any
response?
TerminateActivityExecutionResponse
TerminateActivityExecutionResponse
Returns
void
TerminateNexusOperationExecution()
TerminateNexusOperationExecution =
void
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
TerminateNexusOperationExecution(
request,callback):void
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.
Parameters
request
ITerminateNexusOperationExecutionRequest
callback
TerminateNexusOperationExecutionCallback
Returns
void
Call Signature
TerminateNexusOperationExecution(
request):Promise<TerminateNexusOperationExecutionResponse>
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.
Parameters
request
ITerminateNexusOperationExecutionRequest
Returns
Promise<TerminateNexusOperationExecutionResponse>
Properties
name
readonlyname:"TerminateNexusOperationExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/TerminateNexusOperationExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"TerminateNexusOperationExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"TerminateNexusOperationExecutionResponse"
TerminateNexusOperationExecutionCallback
TerminateNexusOperationExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#terminateNexusOperationExecution.
Parameters
error
Error | null
Error, if any
response?
TerminateNexusOperationExecutionResponse
TerminateNexusOperationExecutionResponse
Returns
void
TerminateWorkflowExecution()
TerminateWorkflowExecution =
void
TerminateWorkflowExecution terminates an existing workflow execution by recording a
WORKFLOW_EXECUTION_TERMINATED event in the history and immediately terminating the
execution instance.
Call Signature
TerminateWorkflowExecution(
request,callback):void
TerminateWorkflowExecution terminates an existing workflow execution by recording a
WORKFLOW_EXECUTION_TERMINATED event in the history and immediately terminating the
execution instance.
Parameters
request
ITerminateWorkflowExecutionRequest
callback
TerminateWorkflowExecutionCallback
Returns
void
Call Signature
TerminateWorkflowExecution(
request):Promise<TerminateWorkflowExecutionResponse>
TerminateWorkflowExecution terminates an existing workflow execution by recording a
WORKFLOW_EXECUTION_TERMINATED event in the history and immediately terminating the
execution instance.
Parameters
request
ITerminateWorkflowExecutionRequest
Returns
Promise<TerminateWorkflowExecutionResponse>
Properties
name
readonlyname:"TerminateWorkflowExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/TerminateWorkflowExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"TerminateWorkflowExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"TerminateWorkflowExecutionResponse"
TerminateWorkflowExecutionCallback
TerminateWorkflowExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#terminateWorkflowExecution.
Parameters
error
Error | null
Error, if any
response?
TerminateWorkflowExecutionResponse
TerminateWorkflowExecutionResponse
Returns
void
TriggerWorkflowRule()
TriggerWorkflowRule =
void
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
TriggerWorkflowRule(
request,callback):void
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.
Parameters
request
callback
Returns
void
Call Signature
TriggerWorkflowRule(
request):Promise<TriggerWorkflowRuleResponse>
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.
Parameters
request
Returns
Promise<TriggerWorkflowRuleResponse>
Properties
name
readonlyname:"TriggerWorkflowRule"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/TriggerWorkflowRule"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"TriggerWorkflowRuleRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"TriggerWorkflowRuleResponse"
TriggerWorkflowRuleCallback
TriggerWorkflowRuleCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#triggerWorkflowRule.
Parameters
error
Error | null
Error, if any
response?
TriggerWorkflowRuleResponse
Returns
void
UnpauseActivity()
UnpauseActivity =
void
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
UnpauseActivity(
request,callback):void
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.
Parameters
request
callback
Returns
void
Call Signature
UnpauseActivity(
request):Promise<UnpauseActivityResponse>
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.
Parameters
request
Returns
Promise<UnpauseActivityResponse>
Properties
name
readonlyname:"UnpauseActivity"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivity"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"UnpauseActivityRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"UnpauseActivityResponse"
UnpauseActivityCallback
UnpauseActivityCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#unpauseActivity.
Parameters
error
Error | null
Error, if any
response?
UnpauseActivityResponse
Returns
void
UnpauseActivityExecution()
UnpauseActivityExecution =
void
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
UnpauseActivityExecution(
request,callback):void
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
Parameters
request
IUnpauseActivityExecutionRequest
callback
UnpauseActivityExecutionCallback
Returns
void
Call Signature
UnpauseActivityExecution(
request):Promise<UnpauseActivityExecutionResponse>
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
Parameters
request
IUnpauseActivityExecutionRequest
Returns
Promise<UnpauseActivityExecutionResponse>
Properties
name
readonlyname:"UnpauseActivityExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/UnpauseActivityExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"UnpauseActivityExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"UnpauseActivityExecutionResponse"
UnpauseActivityExecutionCallback
UnpauseActivityExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#unpauseActivityExecution.
Parameters
error
Error | null
Error, if any
response?
UnpauseActivityExecutionResponse
UnpauseActivityExecutionResponse
Returns
void
UnpauseWorkflowExecution()
UnpauseWorkflowExecution =
void
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
RUNNINGand a new WORKFLOW_EXECUTION_UNPAUSED event is added to the history - Workflow tasks and activity tasks are resumed.
Call Signature
UnpauseWorkflowExecution(
request,callback):void
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
RUNNINGand a new WORKFLOW_EXECUTION_UNPAUSED event is added to the history - Workflow tasks and activity tasks are resumed.
Parameters
request
IUnpauseWorkflowExecutionRequest
callback
UnpauseWorkflowExecutionCallback
Returns
void
Call Signature
UnpauseWorkflowExecution(
request):Promise<UnpauseWorkflowExecutionResponse>
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
RUNNINGand a new WORKFLOW_EXECUTION_UNPAUSED event is added to the history - Workflow tasks and activity tasks are resumed.
Parameters
request
IUnpauseWorkflowExecutionRequest
Returns
Promise<UnpauseWorkflowExecutionResponse>
Properties
name
readonlyname:"UnpauseWorkflowExecution"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/UnpauseWorkflowExecution"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"UnpauseWorkflowExecutionRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"UnpauseWorkflowExecutionResponse"
UnpauseWorkflowExecutionCallback
UnpauseWorkflowExecutionCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#unpauseWorkflowExecution.
Parameters
error
Error | null
Error, if any
response?
UnpauseWorkflowExecutionResponse
UnpauseWorkflowExecutionResponse
Returns
void
UpdateActivityExecutionOptions()
UpdateActivityExecutionOptions =
void
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
UpdateActivityExecutionOptions(
request,callback):void
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.
Parameters
request
IUpdateActivityExecutionOptionsRequest
callback
UpdateActivityExecutionOptionsCallback
Returns
void
Call Signature
UpdateActivityExecutionOptions(
request):Promise<UpdateActivityExecutionOptionsResponse>
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.
Parameters
request
IUpdateActivityExecutionOptionsRequest
Returns
Promise<UpdateActivityExecutionOptionsResponse>
Properties
name
readonlyname:"UpdateActivityExecutionOptions"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityExecutionOptions"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"UpdateActivityExecutionOptionsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"UpdateActivityExecutionOptionsResponse"
UpdateActivityExecutionOptionsCallback
UpdateActivityExecutionOptionsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateActivityExecutionOptions.
Parameters
error
Error | null
Error, if any
response?
UpdateActivityExecutionOptionsResponse
UpdateActivityExecutionOptionsResponse
Returns
void
UpdateActivityOptions()
UpdateActivityOptions =
void
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
UpdateActivityOptions(
request,callback):void
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.
Parameters
request
callback
Returns
void
Call Signature
UpdateActivityOptions(
request):Promise<UpdateActivityOptionsResponse>
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.
Parameters
request
Returns
Promise<UpdateActivityOptionsResponse>
Properties
name
readonlyname:"UpdateActivityOptions"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/UpdateActivityOptions"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"UpdateActivityOptionsRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"UpdateActivityOptionsResponse"
UpdateActivityOptionsCallback
UpdateActivityOptionsCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateActivityOptions.
Parameters
error
Error | null
Error, if any
response?
UpdateActivityOptionsResponse
Returns
void
UpdateNamespace()
UpdateNamespace =
void
UpdateNamespace is used to update the information and configuration of a registered namespace.
Call Signature
UpdateNamespace(
request,callback):void
UpdateNamespace is used to update the information and configuration of a registered namespace.
Parameters
request
callback
Returns
void
Call Signature
UpdateNamespace(
request):Promise<UpdateNamespaceResponse>
UpdateNamespace is used to update the information and configuration of a registered namespace.
Parameters
request
Returns
Promise<UpdateNamespaceResponse>
Properties
name
readonlyname:"UpdateNamespace"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/UpdateNamespace"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"UpdateNamespaceRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"UpdateNamespaceResponse"
UpdateNamespaceCallback
UpdateNamespaceCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateNamespace.
Parameters
error
Error | null
Error, if any
response?
UpdateNamespaceResponse
Returns
void
UpdateSchedule()
UpdateSchedule =
void
Changes the configuration or state of an existing schedule.
Call Signature
UpdateSchedule(
request,callback):void
Changes the configuration or state of an existing schedule.
Parameters
request
callback
Returns
void
Call Signature
UpdateSchedule(
request):Promise<UpdateScheduleResponse>
Changes the configuration or state of an existing schedule.
Parameters
request
Returns
Promise<UpdateScheduleResponse>
Properties
name
readonlyname:"UpdateSchedule"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/UpdateSchedule"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"UpdateScheduleRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"UpdateScheduleResponse"
UpdateScheduleCallback
UpdateScheduleCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateSchedule.
Parameters
error
Error | null
Error, if any
response?
UpdateScheduleResponse
Returns
void
UpdateTaskQueueConfig()
UpdateTaskQueueConfig =
void
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
UpdateTaskQueueConfig(
request,callback):void
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.
Parameters
request
callback
Returns
void
Call Signature
UpdateTaskQueueConfig(
request):Promise<UpdateTaskQueueConfigResponse>
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.
Parameters
request
Returns
Promise<UpdateTaskQueueConfigResponse>
Properties
name
readonlyname:"UpdateTaskQueueConfig"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/UpdateTaskQueueConfig"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"UpdateTaskQueueConfigRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"UpdateTaskQueueConfigResponse"
UpdateTaskQueueConfigCallback
UpdateTaskQueueConfigCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateTaskQueueConfig.
Parameters
error
Error | null
Error, if any
response?
UpdateTaskQueueConfigResponse
Returns
void
UpdateWorkerBuildIdCompatibility()
UpdateWorkerBuildIdCompatibility =
void
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
UpdateWorkerBuildIdCompatibility(
request,callback):void
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. --)
Parameters
request
IUpdateWorkerBuildIdCompatibilityRequest
callback
UpdateWorkerBuildIdCompatibilityCallback
Returns
void
Call Signature
UpdateWorkerBuildIdCompatibility(
request):Promise<UpdateWorkerBuildIdCompatibilityResponse>
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. --)
Parameters
request
IUpdateWorkerBuildIdCompatibilityRequest
Returns
Promise<UpdateWorkerBuildIdCompatibilityResponse>
Properties
name
readonlyname:"UpdateWorkerBuildIdCompatibility"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerBuildIdCompatibility"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"UpdateWorkerBuildIdCompatibilityRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"UpdateWorkerBuildIdCompatibilityResponse"
UpdateWorkerBuildIdCompatibilityCallback
UpdateWorkerBuildIdCompatibilityCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateWorkerBuildIdCompatibility.
Parameters
error
Error | null
Error, if any
response?
UpdateWorkerBuildIdCompatibilityResponse
UpdateWorkerBuildIdCompatibilityResponse
Returns
void
UpdateWorkerConfig()
UpdateWorkerConfig =
void
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
UpdateWorkerConfig(
request,callback):void
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.
Parameters
request
callback
Returns
void
Call Signature
UpdateWorkerConfig(
request):Promise<UpdateWorkerConfigResponse>
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.
Parameters
request
Returns
Promise<UpdateWorkerConfigResponse>
Properties
name
readonlyname:"UpdateWorkerConfig"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerConfig"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"UpdateWorkerConfigRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"UpdateWorkerConfigResponse"
UpdateWorkerConfigCallback
UpdateWorkerConfigCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateWorkerConfig.
Parameters
error
Error | null
Error, if any
response?
UpdateWorkerConfigResponse
Returns
void
UpdateWorkerDeploymentVersionComputeConfig()
UpdateWorkerDeploymentVersionComputeConfig =
void
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
UpdateWorkerDeploymentVersionComputeConfig(
request,callback):void
Updates the compute config attached to a Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release.
Parameters
request
IUpdateWorkerDeploymentVersionComputeConfigRequest
callback
UpdateWorkerDeploymentVersionComputeConfigCallback
Returns
void
Call Signature
UpdateWorkerDeploymentVersionComputeConfig(
request):Promise<UpdateWorkerDeploymentVersionComputeConfigResponse>
Updates the compute config attached to a Worker Deployment Version. Experimental. This API might significantly change or be removed in a future release.
Parameters
request
IUpdateWorkerDeploymentVersionComputeConfigRequest
Returns
Promise<UpdateWorkerDeploymentVersionComputeConfigResponse>
Properties
name
readonlyname:"UpdateWorkerDeploymentVersionComputeConfig"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionComputeConfig"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"UpdateWorkerDeploymentVersionComputeConfigRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"UpdateWorkerDeploymentVersionComputeConfigResponse"
UpdateWorkerDeploymentVersionComputeConfigCallback
UpdateWorkerDeploymentVersionComputeConfigCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateWorkerDeploymentVersionComputeConfig.
Parameters
error
Error | null
Error, if any
response?
UpdateWorkerDeploymentVersionComputeConfigResponse
UpdateWorkerDeploymentVersionComputeConfigResponse
Returns
void
UpdateWorkerDeploymentVersionMetadata()
UpdateWorkerDeploymentVersionMetadata =
void
Updates the user-given metadata attached to a Worker Deployment Version.
Call Signature
UpdateWorkerDeploymentVersionMetadata(
request,callback):void
Updates the user-given metadata attached to a Worker Deployment Version.
Parameters
request
IUpdateWorkerDeploymentVersionMetadataRequest
callback
UpdateWorkerDeploymentVersionMetadataCallback
Returns
void
Call Signature
UpdateWorkerDeploymentVersionMetadata(
request):Promise<UpdateWorkerDeploymentVersionMetadataResponse>
Updates the user-given metadata attached to a Worker Deployment Version.
Parameters
request
IUpdateWorkerDeploymentVersionMetadataRequest
Returns
Promise<UpdateWorkerDeploymentVersionMetadataResponse>
Properties
name
readonlyname:"UpdateWorkerDeploymentVersionMetadata"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerDeploymentVersionMetadata"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"UpdateWorkerDeploymentVersionMetadataRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"UpdateWorkerDeploymentVersionMetadataResponse"
UpdateWorkerDeploymentVersionMetadataCallback
UpdateWorkerDeploymentVersionMetadataCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateWorkerDeploymentVersionMetadata.
Parameters
error
Error | null
Error, if any
response?
UpdateWorkerDeploymentVersionMetadataResponse
UpdateWorkerDeploymentVersionMetadataResponse
Returns
void
UpdateWorkerVersioningRules()
UpdateWorkerVersioningRules =
void
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
UpdateWorkerVersioningRules(
request,callback):void
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. --)
Parameters
request
IUpdateWorkerVersioningRulesRequest
callback
UpdateWorkerVersioningRulesCallback
Returns
void
Call Signature
UpdateWorkerVersioningRules(
request):Promise<UpdateWorkerVersioningRulesResponse>
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. --)
Parameters
request
IUpdateWorkerVersioningRulesRequest
Returns
Promise<UpdateWorkerVersioningRulesResponse>
Properties
name
readonlyname:"UpdateWorkerVersioningRules"
path
readonlypath:"/temporal.api.workflowservice.v1.WorkflowService/UpdateWorkerVersioningRules"
requestStream
readonlyrequestStream:undefined
requestType
readonlyrequestType:"UpdateWorkerVersioningRulesRequest"
responseStream
readonlyresponseStream:undefined
responseType
readonlyresponseType:"UpdateWorkerVersioningRulesResponse"
UpdateWorkerVersioningRulesCallback
UpdateWorkerVersioningRulesCallback = (
error,response?) =>void
Callback as used by temporal.api.workflowservice.v1.WorkflowService#updateWorkerVersioningRules.
Parameters
error
Error | null
Error, if any
response?
UpdateWorkerVersioningRulesResponse
UpdateWorkerVersioningRulesResponse
Returns
void
UpdateWorkflowExecution()
UpdateWorkflowExecution =
void
Invokes the specified Update function on user Workflow code.
Call Signature
UpdateWorkflowExecution(
request,callback):void
Invokes the specified Update function on user Workflow code.
Parameters
request
IUpdateWorkflowExecutionRequest
callback
UpdateWorkflowExecutionCallback