ArchActionSetConversationData(coreSetConversationDataActionViewModel)

new ArchActionSetConversationData(coreSetConversationDataActionViewModel)

The Architect Scripting class for the Set Conversation Data action. Instances of this action should be created by calling ArchFactoryActions#addActionSetConversationData

Parameters:
Name Type Description
coreSetConversationDataActionViewModel Object

( Internal ) an Architect core set conversation data action view model.

See:

Extends

Members

static, readonly displayTypeName :string

Returns the display type name string 'ArchActionSetConversationData'.

readonly conversationId :ArchValueString

The conversation id to set data on

readonly isArchActionSetConversationData :boolean

Returns true indicating that this is an ArchActionSetConversationData instance.

readonly outputSuccess :ArchActionOutput

The success output for this action

Inherited From:

readonly participantId :ArchValueString

The participant id to set data on

Methods

addAttributeNameValuePair(nameExpressionopt, valueExpressionopt) → {ArchBaseNameValuePair}

This adds an attribute name value pair to the Set Conversation Data action that can be used to specify the attribute name and corresponding value that should be assigned to it. On the returned ArchBaseNameValuePair pair:

  • the name property specifies the name of the attribute whose value you want to set
  • the value property is the value to set on the attribute at runtime.
Parameters:
Name Type Attributes Description
nameExpression string <optional>

a string expression that specifies the name of the attribute to set.

valueExpression string <optional>

a string expression that specifies the value to set on the attribute.