Skip to main content

Temporal CLI activity command reference

Activity commands operate on Activity Executions.

Activity commands follow this syntax: temporal activity [command] [command options]

complete

The temporal activity complete command completes an Activity Execution. Along with completing the Activity, the result given upon return can be set as well.

temporal activity complete --activity-id=MyActivity --result=ActivityComplete

Use the following options to change the behavior of this command.

fail

The temporal activity fail command fails an Activity Execution. The Activity must already be running on a valid Workflow.

temporal fail --workflow-id=meaningful-business-id --activity-id=MyActivity

Use the following options to change the behavior of this command.