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
Calls PollWorkflowExecutionTimeSkipping.
Call Signature
PollWorkflowExecutionTimeSkipping(
request,callback):void
Calls PollWorkflowExecutionTimeSkipping.
Parameters
request
IPollWorkflowExecutionTimeSkippingRequest
callback
PollWorkflowExecutionTimeSkippingCallback
Returns
void
Call Signature
PollWorkflowExecutionTimeSkipping(
request):Promise<PollWorkflowExecutionTimeSkippingResponse>
Calls PollWorkflowExecutionTimeSkipping.
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"