Temporal CLI activity command reference
Activity commands operate on Activity Executions 🔗
x
Link previewWhat is an Activity Execution?
An Activity Execution is the full chain of Activity Task Executions.
To run an Activity command, type temporal activity [command] [command options]
complete
The temporal activity complete
command completes an Activity Execution 🔗
x
Link previewWhat is an Activity Execution?
An Activity Execution is the full chain of Activity Task Executions.
temporal activity complete --activity-id=MyActivity --result=ActivityComplete
Use the options listed below to change the behavior of this command.
- xLink previewtemporal activity-idIdentifies the Activity Execution.
--fields 🔗
xLink previewtemporal fieldsCustomize fields to print.- xLink previewtemporal identitySpecify operator's identity.
--limit 🔗
xLink previewtemporal limitNumber of items to print.- xLink previewtemporal no-pagerDisables the interactive pager.
--output 🔗
xLink previewtemporal outputOutput format.--pager 🔗
xLink previewtemporal pagerSets the pager for Temporal CLI to use.--result 🔗
xLink previewtemporal resultSet the result value of Activity completion.--run-id 🔗
xLink previewtemporal run-idIdentifies the current Workflow Run.- xLink previewtemporal time-formatFormat time as either relative, iso, raw.
- xLink previewtemporal workflow-idWorkflow Id
fail
The temporal activity fail
command fails an Activity Execution 🔗
x
Link previewWhat is an Activity Execution?
An Activity Execution is the full chain of Activity Task Executions.
x
Link previewWhat is a Workflow?
In day-to-day conversations, the term "Workflow" frequently denotes either a Workflow Type, a Workflow Definition, or a Workflow Execution.
temporal fail --workflow-id=meaningful-business-id --activity-id=MyActivity
Use the options listed below to change the behavior of this command.
- xLink previewtemporal activity-idIdentifies the Activity Execution.
--detail 🔗
xLink previewtemporal detailDetail to fail the Activity.--fields 🔗
xLink previewtemporal fieldsCustomize fields to print.- xLink previewtemporal identitySpecify operator's identity.
--limit 🔗
xLink previewtemporal limitNumber of items to print.- xLink previewtemporal no-pagerDisables the interactive pager.
--output 🔗
xLink previewtemporal outputOutput format.--pager 🔗
xLink previewtemporal pagerSets the pager for Temporal CLI to use.--reason 🔗
xLink previewtemporal reasonReason for the operation--run-id 🔗
xLink previewtemporal run-idIdentifies the current Workflow Run.- xLink previewtemporal time-formatFormat time as either relative, iso, raw.
- xLink previewtemporal workflow-idWorkflow Id