ArchActionTerminateWorkitem(coreTerminateWorkitemActionViewModel)

new ArchActionTerminateWorkitem(coreTerminateWorkitemActionViewModel)

The Architect Scripting class that represents the Terminate Workitem action. Instances of this action should be created by calling ArchFactoryActions#addActionTerminateWorkitem

Parameters:
Name Type Description
coreTerminateWorkitemActionViewModel Object

( Internal ) an Architect core Terminate Workitem action view model.

See:

Extends

Members

readonly displayTypeName :string

Returns the display type name string 'ArchActionTerminateWorkitem'.

readonly isArchActionTerminateWorkitem :boolean

Returns true indicating that this is an isArchActionTerminateWorkitem instance.

readonly outputSuccess :ArchActionOutput

The success output for this action

Inherited From:

readonly terminateWorkitemOutputsFailure :ArchNamedValueList

The contents of this named value list come from the Failure Outputs schema. It will contain two values: errorType and errorMessage. These values will be returned by the server if the action takes the Failure path.