tctl workflow count
The tctl workflow count
command counts Workflow Executions.
This command requires Elasticsearch to be enabled.
tctl workflow count [<modifiers>]
The following modifier controls the behavior of the command.
--query
Required modifier
Specify an SQL-like query of Search Attributes.
Alias: -q
Example
To count all open Workflow Executions:
tctl workflow count --query 'ExecutionStatus="Running"'