Skip to main content

tctl workflow listarchived

The tctl workflow listarchived command lists archived Workflow Executions.

By default, this command lists a maximum of 100 Workflow Executions.

  • To set the size of a page, use the --pagesize option.
  • To list all pages, use the --all option.

See also tctl workflow list, tctl workflow listall, and tctl workflow scan.

tctl workflow listarchived [<modifiers>]

The following modifiers control the behavior of the command.

--print_raw_time

Print the raw timestamp.

Alias: --prt

Example

tctl workflow listarchived --print_raw_time

--print_datetime

Print the timestamp.

Alias: --pdt

Example

tctl workflow listarchived --print_datetime

--print_memo

Print a memo.

Alias: --pme

Example

tctl workflow listarchived --print_memo

--print_search_attr

Print the Search Attributes.

Alias: --psa

Example

tctl workflow listarchived --print_search_attr

--print_full

Print the full message without table formatting.

Alias: --pf

Example

tctl workflow listarchived --print_full

--print_json

Print the raw JSON objects.

Alias: --pjson

Example

tctl workflow listarchived --print_json

--query

Specify an SQL-like query of Search Attributes.

Consult the documentation of the visibility archiver that is used by your Namespace for detailed instructions.

Alias: -q

Example

tctl workflow listarchived --query <value>

--pagesize

Specify the maximum number of Workflow Executions to list on a page. (By default, the tctl workflow listarchived command lists 100 Workflow Executions per page.)

Alias: --ps

Example

tctl workflow listarchived --pagesize <value>

--all

List all pages.

Alias: -a

Example

tctl workflow listarchived --all