Skip to main content

tctl activity fail

The tctl activity fail command fails an Activity Execution.

tctl activity fail [<modifiers>]

The following modifiers control the behavior of the command.

--workflow_id

Specify the Workflow Id of an Activity Execution to fail.

Aliases: --wid, -w

Example

tctl activity fail --workflow_id <id>

--run_id

Specify the Run Id of an Activity Execution to fail.

Aliases: --rid, -r

Example

tctl activity fail --run_id <id>

--activity_id

Specify the Activity Id of an Activity Execution to fail.

Alias: --aid

Example

tctl activity fail --activity_id <id>

--reason

Specify the reason for failing an Activity Execution.

Example

tctl activity fail --reason <value>

--detail

Specify details of the reason for failing an Activity Execution.

Example

tctl activity fail --detail <value>

--identity

Specify the identity of the operator when using tctl to fail an Activity Execution.

Example

tctl activity complete --identity <value>