tctl v1.17 activity command reference
The tctl command line utility has been deprecated and is no longer actively supported. We recommend transitioning to Temporal CLI for continued use and access to new features.
Thank you for being a valued part of the Temporal community.
The tctl activity
commands enable Activity Execution operations.
complete
The tctl activity complete
command completes an Activity Execution.
tctl activity complete <modifiers>
The following modifiers control the behavior of the command.
--workflow_id
Specify the Workflow Idof an Activity Execution to complete.
Alias: -w
Example
tctl activity complete --workflow_id <id>
--run_id
Specify the Run Id of an Activity Execution to complete.
Alias: -r
Example
tctl activity complete --run_id <id>
--activity_id
Specify the Activity Id of an Activity Execution to complete.
Example
tctl activity complete --activity_id <id>
--result
Specify the result of an Activity Execution when using tctl to complete the Activity Execution.
Example
tctl activity complete --result <value>
--identity
Specify the identity of the operator when using tctl to complete an Activity Execution.
Example
tctl activity complete --identity <value>
fail
The tctl activity fail
command fails an Activity Execution.
tctl activity fail [<modifiers>]
The following modifiers control the behavior of the command.