Temporal CLI workflow command reference
Workflow commands allow operations to be performed on 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.
cancel
The temporal workflow cancel
command cancels a Workflow ExecutionWhat 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.
Canceling a running Workflow Execution records a WorkflowExecutionCancelRequested
event in the Event HistoryWhat is an Event History?
An append log of Events that represents the full state a Workflow Execution.
Learn more.
A new CommandWhat is a Command?
A Command is a requested action issued by a Worker to the Temporal Cluster after a Workflow Task Execution completes.
Learn more Task will be scheduled, and the Workflow Execution performs cleanup work.
Use the options listed below to change the behavior of this command.
Make sure to write the command as follows:
temporal workflow cancel [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 - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --query
temporal query
Definition for the query command option.
Learn more - --reason
temporal reason
Definition for the reason command option.
Learn more - --run-id
temporal run-id
Definition for the run-id 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 - --workflow-id
temporal workflow-id
Definition for the workflow-id command option.
Learn more - --yes
temporal yes
Definition for the yes command option.
Learn more
count
The temporal workflow count
command returns a count of 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.
This command requires Elasticsearch to be enabled.
Use the options listed below to change the command's behavior.
Make sure to write the command as follows:
temporal workflow count [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 - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --query
temporal query
Definition for the query 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
delete
The temporal workflow delete
command deletes the specified Workflow ExecutionWhat 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.
Use the options listed below to change the command's behavior.
Make sure to write the command as follows:
temporal workflow delete [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 - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --run-id
temporal run-id
Definition for the run-id 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 - --workflow-id
temporal workflow-id
Definition for the workflow-id command option.
Learn more
describe
The temporal workflow describe
command shows information about a given Workflow ExecutionWhat 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.
This information can be used to locate Workflow Executions that weren't able to run successfully.
Use the command options listed below to change the information returned by this command.
Make sure to write the command in this format:
temporal workflow 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 - --grpc-meta
temporal grpc-meta
Definition for the grpc-meta command option.
Learn more - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --raw
temporal raw
Definition for the raw command option.
Learn more - --reset-points
temporal reset-points
Definition for the reset-points command option.
Learn more - --run-id
temporal run-id
Definition for the run-id 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 - --workflow-id
temporal workflow-id
Definition for the workflow-id command option.
Learn more
execute
The temporal workflow execute
command starts a new Workflow ExecutionWhat 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 and prints its progress.
The command doesn't finish until the WorkflowWhat is a Workflow?
In day-to-day conversations, the term "Workflow" frequently denotes either a Workflow Type, a Workflow Definition, or a Workflow Execution.
Learn more completes.
Single quotes('') are used to wrap input as JSON.
Use the command options listed below to change how the Workflow Execution behaves during its run.
Make sure to write the command in this format:
temporal workflow execute [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 - --cron
temporal cron
Definition for the cron command option.
Learn more - --env
temporal env
Definition for the env command option.
Learn more - --execution-timeout
temporal execution-timeout
Definition for the execution-timeout 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 - --id-reuse-policy
temporal id-reuse-policy
Definition for the id-reuse-policy command option.
Learn more - --input
temporal input
Definition for the input command option.
Learn more - --input-file
temporal input-file
Definition for the input-file command option.
Learn more - --limit
temporal limit
Definition for the limit command option.
Learn more - --max-field-length
temporal max-field-length
Definition for the max-field-length command option.
Learn more - --memo
temporal memo
Definition for the memo command option.
Learn more - --memo-file
temporal memo-file
Definition for the memo-file 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 - --run-timeout
temporal run-timeout
Definition for the run-timeout command option.
Learn more - --search-attribute
temporal search-attribute
Definition for the search-attribute command option.
Learn more - --task-queue
temporal task-queue
Definition for the task-queue command option.
Learn more - --task-timeout
temporal task-timeout
Definition for the task-timeout 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 - --type
temporal type
Definition for the type command option.
Learn more - --workflow-id
temporal workflow-id
Definition for the workflow-id command option.
Learn more
list
The temporal workflow list
command provides a list of 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 that meet the criteria of a given QueryWhat is a Query?
A Query is a synchronous operation that is used to report the state of a Workflow Execution.
Learn more.
By default, this command returns a list of up to 10 closed Workflow Executions.
Use the command options listed below to change the information returned by this command.
Make sure to write the command as follows:
temporal workflow list [command options] [arguments]
- --address
temporal address
Definition for the address command option.
Learn more - --archived
temporal archived
Definition for the archived 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 - --query
temporal query
Definition for the query 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
query
The temporal workflow query
command sends a QueryWhat is a Query?
A Query is a synchronous operation that is used to report the state of a Workflow Execution.
Learn more to a Workflow ExecutionWhat 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.
Queries can retrieve all or part of the Workflow state within given parameters.
Queries can also be used on completed WorkflowsWhat 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.
Use the command options listed below to change the information returned by this command.
Make sure to write the command as follows:
temporal workflow query [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 - --input
temporal input
Definition for the input command option.
Learn more - --input-file
temporal input-file
Definition for the input-file command option.
Learn more - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --reject-condition
temporal reject-condition
Definition for the reject-condition command option.
Learn more - --run-id
temporal run-id
Definition for the run-id 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 - --type
temporal type
Definition for the type command option.
Learn more - --workflow-id
temporal workflow-id
Definition for the workflow-id command option.
Learn more
reset
The temporal workflow reset
command resets a Workflow ExecutionWhat 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.
A reset allows the Workflow to be resumed from a certain point without losing your parameters or Event HistoryWhat is an Event History?
An append log of Events that represents the full state a Workflow Execution.
Learn more.
Use the options listed below to change reset behavior.
Make sure to write the command as follows:
temporal workflow reset [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 - --event-id
temporal event-id
Definition for the event-id command option.
Learn more - --grpc-meta
temporal grpc-meta
Definition for the grpc-meta command option.
Learn more - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --reapply-type
temporal reapply-type
Definition for the reapply-type command option.
Learn more - --reason
temporal reason
Definition for the reason command option.
Learn more - --run-id
temporal run-id
Definition for the run-id 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 - --type
temporal type
Definition for the type command option.
Learn more - --workflow-id
temporal workflow-id
Definition for the workflow-id command option.
Learn more
reset-batch
The temporal workflow reset-batch
command resets a batch of 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 by resetType
.
Resetting a WorkflowWhat is a Workflow?
In day-to-day conversations, the term "Workflow" frequently denotes either a Workflow Type, a Workflow Definition, or a Workflow Execution.
Learn more allows the process to resume from a certain point without losing your parameters or Event HistoryWhat is an Event History?
An append log of Events that represents the full state a Workflow Execution.
Learn more.
Use the options listed below to change reset behavior.
Make sure to write the command as follows:
temporal workflow reset-batch [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 - --dry-run
temporal dry-run
Definition for the dry-run command option.
Learn more - --env
temporal env
Definition for the env command option.
Learn more - --exclude-file
temporal exclude-file
Definition for the exclude-file command option.
Learn more - --grpc-meta
temporal grpc-meta
Definition for the grpc-meta command option.
Learn more - --input-file
temporal input-file
Definition for the input-file command option.
Learn more - --input-parallelism
temporal input-parallelism
Definition for the input-parallelism command option.
Learn more - --input-separator
temporal input-separator
Definition for the input-separator command option.
Learn more - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --non-deterministic
temporal non-deterministic
Definition for the non-deterministic command option.
Learn more - --query
temporal query
Definition for the query command option.
Learn more - --reason
temporal reason
Definition for the reason command option.
Learn more - --skip-base-is-not-current
temporal skip-base-is-not-current
Definition for the skip-base-is-not-current command option.
Learn more - --skip-current-open
temporal skip-current-open
Definition for the skip-current-open 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 - --type
temporal type
Definition for the type command option.
Learn more
show
The temporal workflow show
command provides the Event HistoryWhat is an Event History?
An append log of Events that represents the full state a Workflow Execution.
Learn more for a specified Workflow ExecutionWhat 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.
Use the options listed below to change the command's behavior.
Make sure to write the command as follows:
temporal workflow show [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 - --follow
temporal follow
Definition for the follow 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 - --max-field-length
temporal max-field-length
Definition for the max-field-length 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 - --output-filename
temporal output-filename
Definition for the output-filename command option.
Learn more - --pager
temporal pager
Definition for the pager command option.
Learn more - --reset-points
temporal reset-points
Definition for the reset-points command option.
Learn more - --run-id
temporal run-id
Definition for the run-id 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 - --workflow-id
temporal workflow-id
Definition for the workflow-id command option.
Learn more
signal
The temporal workflow signal
command is used to SignalWhat is a Signal?
A Signal is an asynchronous request to a Workflow Execution.
Learn more a Workflow ExecutionWhat 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 by ID or List FilterWhat is a List Filter?
A List Filter is the SQL-like string that is provided as the parameter to an Advanced Visibility List API.
Learn more.
Use the options listed below to change the command's behavior.
Make sure to write the command as follows:
temporal workflow signal [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 - --input
temporal input
Definition for the input command option.
Learn more - --input-file
temporal input-file
Definition for the input-file command option.
Learn more - --name
temporal name
Definition for the name command option.
Learn more - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --query
temporal query
Definition for the query command option.
Learn more - --reason
temporal reason
Definition for the reason command option.
Learn more - --run-id
temporal run-id
Definition for the run-id 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 - --workflow-id
temporal workflow-id
Definition for the workflow-id command option.
Learn more - --yes
temporal yes
Definition for the yes command option.
Learn more
stack
The temporal workflow stack
command queries a Workflow ExecutionWhat 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 with --stack-trace
as the QueryWhat is a Query?
A Query is a synchronous operation that is used to report the state of a Workflow Execution.
Learn more type.
Returning the stack trace of all the threads owned by a Workflow Execution can be great for troubleshooting in production.
Use the options listed below to change the command's behavior.
Make sure to write the command as follows:
temporal workflow stack [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 - --input
temporal input
Definition for the input command option.
Learn more - --input-file
temporal input-file
Definition for the input-file command option.
Learn more - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --reject-condition
temporal reject-condition
Definition for the reject-condition command option.
Learn more - --run-id
temporal run-id
Definition for the run-id 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 - --workflow-id
temporal workflow-id
Definition for the workflow-id command option.
Learn more
start
The temporal workflow start
command starts a new Workflow ExecutionWhat 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.
When invoked successfully, the Workflow and Run ID are returned immediately after starting the WorkflowWhat is a Workflow?
In day-to-day conversations, the term "Workflow" frequently denotes either a Workflow Type, a Workflow Definition, or a Workflow Execution.
Learn more.
Use the command options listed below to change how the Workflow Execution behaves upon starting.
Make sure to write the command in this format:
temporal workflow start [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 - --cron
temporal cron
Definition for the cron command option.
Learn more - --env
temporal env
Definition for the env command option.
Learn more - --execution-timeout
temporal execution-timeout
Definition for the execution-timeout 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 - --id-reuse-policy
temporal id-reuse-policy
Definition for the id-reuse-policy command option.
Learn more - --input
temporal input
Definition for the input command option.
Learn more - --input-file
temporal input-file
Definition for the input-file command option.
Learn more - --limit
temporal limit
Definition for the limit command option.
Learn more - --max-field-length
temporal max-field-length
Definition for the max-field-length command option.
Learn more - --memo
temporal memo
Definition for the memo command option.
Learn more - --memo-file
temporal memo-file
Definition for the memo-file 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 - --run-timeout
temporal run-timeout
Definition for the run-timeout command option.
Learn more - --search-attribute
temporal search-attribute
Definition for the search-attribute command option.
Learn more - --task-queue
temporal task-queue
Definition for the task-queue command option.
Learn more - --task-timeout
temporal task-timeout
Definition for the task-timeout 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 - --type
temporal type
Definition for the type command option.
Learn more - --workflow-id
temporal workflow-id
Definition for the workflow-id command option.
Learn more
terminate
The temporal workflow terminate
command terminates a Workflow ExecutionWhat 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
Terminating a running Workflow Execution records a WorkflowExecutionTerminated
event as the closing Event in the Event HistoryWhat is an Event History?
An append log of Events that represents the full state a Workflow Execution.
Learn more.
Any further CommandWhat is a Command?
A Command is a requested action issued by a Worker to the Temporal Cluster after a Workflow Task Execution completes.
Learn more Tasks cannot be scheduled after running this command.
Use the options listed below to change termination behavior.
Make sure to write the command as follows:
temporal workflow 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 - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --query
temporal query
Definition for the query command option.
Learn more - --reason
temporal reason
Definition for the reason command option.
Learn more - --run-id
temporal run-id
Definition for the run-id 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 - --workflow-id
temporal workflow-id
Definition for the workflow-id command option.
Learn more - --yes
temporal yes
Definition for the yes command option.
Learn more
trace
The temporal workflow trace
command tracks the progress of a Workflow ExecutionWhat 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 and any Child WorkflowsWhat is a Child Workflow Execution?
A Child Workflow Execution is a Workflow Execution that is spawned from within another Workflow.
Learn more it generates.
Use the options listed below to change the command's behavior.
Make sure to write the command as follows:
temporal workflow trace [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 - --concurrency
temporal concurrency
Definition for the concurrency command option.
Learn more - --context-timeout
temporal context-timeout
Definition for the context-timeout command option.
Learn more - --depth
temporal depth
Definition for the depth command option.
Learn more - --env
temporal env
Definition for the env command option.
Learn more - --fold
temporal fold
Definition for the fold command option.
Learn more - --grpc-meta
temporal grpc-meta
Definition for the grpc-meta command option.
Learn more - --namespace
temporal namespace
Definition for the namespace command option.
Learn more - --no-fold
temporal no-fold
Definition for the no-fold command option.
Learn more - --run-id
temporal run-id
Definition for the run-id 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 - --workflow-id
temporal workflow-id
Definition for the workflow-id command option.
Learn more