Skip to main content

tctl v1.17 activity command reference

The tctl activity commands enable Activity ExecutionLink preview icon

operations.

complete

The tctl activity complete command completes an Activity ExecutionLink preview icon

.

tctl activity complete <modifiers>

The following modifiers control the behavior of the command.

--workflow_id

Specify the Workflow IdLink preview icon

of an Activity ExecutionLink preview icon to complete.

Alias: -w

Example

tctl activity complete --workflow_id <id>

--run_id

Specify the Run IdLink preview icon

of an Activity ExecutionLink preview icon to complete.

Alias: -r

Example

tctl activity complete --run_id <id>

--activity_id

Specify the Activity IdLink preview icon

of an Activity ExecutionLink preview icon to complete.

Example

tctl activity complete --activity_id <id>

--result

Specify the result of an Activity ExecutionLink preview icon

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 ExecutionLink preview icon

.

Example

tctl activity complete --identity <value>

fail

The tctl activity fail command fails an Activity ExecutionLink preview icon

.

tctl activity fail [<modifiers>]

The following modifiers control the behavior of the command.

--workflow_id

Specify the Workflow IdLink preview icon

of an Activity ExecutionLink preview icon to fail.

Alias: -w

Example

tctl activity fail --workflow_id <id>

--run_id

Specify the Run IdLink preview icon

of an Activity ExecutionLink preview icon to fail.

Alias: -r

Example

tctl activity fail --run_id <id>

--activity_id

Specify the Activity IdLink preview icon

of an Activity ExecutionLink preview icon to fail.

Example

tctl activity fail --activity_id <id>

--reason

Specify the reason for failing an Activity ExecutionLink preview icon

.

Example

tctl activity fail --reason <value>

--detail

Specify details of the reason for failing an Activity ExecutionLink preview icon

.

Example

tctl activity fail --detail <value>

--identity

Specify the identity of the operator when using tctl to fail an Activity ExecutionLink preview icon

.

Example

tctl activity complete --identity <value>