/AWS1/CL_LM2DIALOGACTION¶
Defines the action that the bot executes at runtime when the conversation reaches this step.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_type
TYPE /AWS1/LM2DIALOGACTIONTYPE
/AWS1/LM2DIALOGACTIONTYPE
¶
The action that the bot should execute.
Optional arguments:¶
iv_slottoelicit
TYPE /AWS1/LM2NAME
/AWS1/LM2NAME
¶
If the dialog action is
ElicitSlot
, defines the slot to elicit from the user.
iv_suppressnextmessage
TYPE /AWS1/LM2BOXEDBOOLEAN
/AWS1/LM2BOXEDBOOLEAN
¶
When true the next message for the intent is not used.
Queryable Attributes¶
type¶
The action that the bot should execute.
Accessible with the following methods¶
Method | Description |
---|---|
GET_TYPE() |
Getter for TYPE, with configurable default |
ASK_TYPE() |
Getter for TYPE w/ exceptions if field has no value |
HAS_TYPE() |
Determine if TYPE has a value |
slotToElicit¶
If the dialog action is
ElicitSlot
, defines the slot to elicit from the user.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SLOTTOELICIT() |
Getter for SLOTTOELICIT, with configurable default |
ASK_SLOTTOELICIT() |
Getter for SLOTTOELICIT w/ exceptions if field has no value |
HAS_SLOTTOELICIT() |
Determine if SLOTTOELICIT has a value |
suppressNextMessage¶
When true the next message for the intent is not used.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SUPPRESSNEXTMESSAGE() |
Getter for SUPPRESSNEXTMESSAGE, with configurable default |
ASK_SUPPRESSNEXTMESSAGE() |
Getter for SUPPRESSNEXTMESSAGE w/ exceptions if field has no |
HAS_SUPPRESSNEXTMESSAGE() |
Determine if SUPPRESSNEXTMESSAGE has a value |