Skip to content

Preconfirm

Definition

<preconfirm action="ActionName">

The grammar entry of preconfirmations for actions. Defines how the system can ask the user for confirmation about performing an action.

Attributes Type Description
action string Required. Specifies which action the preconfirmation is for. This name should match the corresponding action name in service_interface. The action names in <preconfirm> tags are written according to the PascalCase convention, e.g. 'SetTemperature'.

Children

Behaviour

The <preconfirm> element in the grammar ... The attribute action specifies the action for which this entry makes preconfirmation possible.

A preconfirm entry in the grammar has one phrase which the system uses to preconfirm with the user whether an action should be performed. Said phrase can contain <slot> tags.

Examples

<preconfirm action="RemoveAlarm">remove the alarm</preconfirm>
<preconfirm action="BookHousing">book this hotel</preconfirm>


Last update: June 18, 2020