ArchActionCallDecisionTable(coreCallDecisionTableActionViewModel)

new ArchActionCallDecisionTable(coreCallDecisionTableActionViewModel)

The Architect Scripting class that represents the Call Decision Table action. Instances of this action should be created by calling ArchFactoryActions#addActionCallDecisionTable

Parameters:
Name Type Description
coreCallDecisionTableActionViewModel CallDecisionTableActionViewModel

( Internal ) an Architect core call decision table action view model.

See:

Extends

Members

static, readonly _actionTypeId :string

Returns the action type identifier string from actionTypes.js

static, readonly displayTypeName :string

Returns the display type name string 'ArchActionCallDecisionTable'.

readonly decisionTableOutputsFailure :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.

readonly input :ArchValueJson

The input data the action will use when calling the decision table.

readonly isArchActionCallDecisionTable :boolean

Returns true indicating that this is an ArchActionCallDecisionTable instance.

readonly output :ArchValueJson

The output data the action will return when calling the decision table.

readonly outputSuccess :ArchActionOutput

The success output for this action

Inherited From:

Methods

setDecisionTableByIdAsync(decisionTableId, callbackFunctionopt) → {ArchActionCallDecisionTable|Promise.<ArchActionCallDecisionTable>}

Sets a decision table to the Call Decision Table Action with the provided decision table ID.

Parameters:
Name Type Attributes Description
decisionTableId string

The decision table ID.

callbackFunction callbackArchActionCallDecisionTable <optional>

a callback function to call if the decision table is successfully looked up and configured on this action. The first parameter passed to the callback function will be this Architect call decision table instance.

setDecisionTableByNameAsync(decisionTableName, callbackFunctionopt) → {ArchActionCallDecisionTable|Promise.<ArchActionCallDecisionTable>}

Sets a decision table to the Call Decision Table Action with the provided decision table name.

Parameters:
Name Type Attributes Description
decisionTableName string

The decision table name.

callbackFunction callbackArchActionCallDecisionTable <optional>

a callback function to call if the decision table is successfully looked up and configured on this action. The first parameter passed to the callback function will be this Architect call decision table instance.