Temporal CLI batch command reference
Batch commands allow you to change multiple Workflow ExecutionsWhat is a Workflow Execution?
A Temporal Workflow Execution is a durable, scalable, reliable, and reactive function execution. It is the main unit of execution of a Temporal Application.
Learn more without having to repeat yourself on the command line.
In order to do this, you provide the command with a List FilterWhat is Visibility?
The term Visibility, within the Temporal Platform, refers to the subsystems and APIs that enable an operator to view Workflow Executions that currently exist within a Cluster.
Learn more and the type of Batch job to execute.
The List Filter identifies the Workflow Executions that will be affected by the Batch job. The Batch type determines the other parameters that need to be provided, along with what is being affected on the Workflow Executions.
To start the Batch job, run temporal workflow query
.
Running Signal, Terminate, or Cancel with the --query
modifier will start a Batch job automatically.
A successfully started Batch job will return a Job ID. Use this Job ID to execute other actions on the Batch job.
list
When used, temporal batch list
returns all Batch jobs.
Use the command options listed below to change the information returned by this command.
Make sure to write the command in this format:
temporal batch list [command options] [arguments]
- --address
temporal address
Definition for the address command option.
Learn more - --codec-auth
temporal codec-auth
Definition for the codec-auth command option.
Learn more - --codec-endpoint
temporal codec-endpoint
Definition for the codec-endpoint command option.
Learn more - --color
temporal color
Definition for the color command option.
Learn more - --context-timeout
temporal context-timeout
Definition for the context-timeout command option.
Learn more - --env
temporal env
Definition for the env command option.
Learn more - --fields
temporal fields
Definition for the fields command option.
Learn more - --grpc-meta
temporal grpc-meta
Definition for the grpc-meta command option.
Learn more - --limit
temporal limit
Definition for the limit command option.
Learn more - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --no-pager
temporal no-pager
Definition for the no-pager command option.
Learn more - --output
temporal output
Definition for the output command option.
Learn more - --pager
temporal pager
Definition for the pager command option.
Learn more - --time-format
temporal time-format
Definition for the time-format command option.
Learn more - --tls-ca-path
temporal tls-ca-path
Definition for the tls-ca-path command option.
Learn more - --tls-cert-path
temporal tls-cert-path
Definition for the tls-cert-path command option.
Learn more - --tls-disable-host-verification
temporal tls-disable-host-verification
Definition for the tls-disable-host-verification command option.
Learn more - --tls-key-path
temporal tls-key-path
Definition for the tls-key-path command option.
Learn more - --tls-server-name
temporal tls-server-name
Definition for the tls-server-name command option.
Learn more
describe
The temporal batch describe
command shows the progress of an ongoing Batch job.
Use the command options listed below to change the information returned by this command.
Make sure to write the command in this format:
temporal batch describe [command options] [arguments]
- --address
temporal address
Definition for the address command option.
Learn more - --codec-auth
temporal codec-auth
Definition for the codec-auth command option.
Learn more - --codec-endpoint
temporal codec-endpoint
Definition for the codec-endpoint command option.
Learn more - --color
temporal color
Definition for the color command option.
Learn more - --context-timeout
temporal context-timeout
Definition for the context-timeout command option.
Learn more - --env
temporal env
Definition for the env command option.
Learn more - --fields
temporal fields
Definition for the fields command option.
Learn more - --grpc-meta
temporal grpc-meta
Definition for the grpc-meta command option.
Learn more - --job-id
temporal job-id
Definition for the job-id command option.
Learn more - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --output
temporal output
Definition for the output command option.
Learn more - --time-format
temporal time-format
Definition for the time-format command option.
Learn more - --tls-ca-path
temporal tls-ca-path
Definition for the tls-ca-path command option.
Learn more - --tls-cert-path
temporal tls-cert-path
Definition for the tls-cert-path command option.
Learn more - --tls-disable-host-verification
temporal tls-disable-host-verification
Definition for the tls-disable-host-verification command option.
Learn more - --tls-key-path
temporal tls-key-path
Definition for the tls-key-path command option.
Learn more - --tls-server-name
temporal tls-server-name
Definition for the tls-server-name command option.
Learn more
terminate
The temporal batch terminate
command terminates a Batch job with the provided Job ID.
Use the command options listed below to change the behavior of this command.
Make sure to write the command as follows:
temporal batch terminate [command options] [arguments]
- --address
temporal address
Definition for the address command option.
Learn more - --codec-auth
temporal codec-auth
Definition for the codec-auth command option.
Learn more - --codec-endpoint
temporal codec-endpoint
Definition for the codec-endpoint command option.
Learn more - --color
temporal color
Definition for the color command option.
Learn more - --context-timeout
temporal context-timeout
Definition for the context-timeout command option.
Learn more - --env
temporal env
Definition for the env command option.
Learn more - --grpc-meta
temporal grpc-meta
Definition for the grpc-meta command option.
Learn more - --job-id
temporal job-id
Definition for the job-id command option.
Learn more - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --reason
temporal reason
Definition for the reason command option.
Learn more - --tls-ca-path
temporal tls-ca-path
Definition for the tls-ca-path command option.
Learn more - --tls-cert-path
temporal tls-cert-path
Definition for the tls-cert-path command option.
Learn more - --tls-disable-host-verification
temporal tls-disable-host-verification
Definition for the tls-disable-host-verification command option.
Learn more - --tls-key-path
temporal tls-key-path
Definition for the tls-key-path command option.
Learn more - --tls-server-name
temporal tls-server-name
Definition for the tls-server-name command option.
Learn more