Block and Form Elements
The block and form elements are used as containers for other elements that form a logical sequence. The block sequence can be conditional. When you have defined a suitable form or block, you can easily copy and paste them to other parts of the same IVR, or even to a different IVR.
If you define a variable var in a block or form element, the variable is available only for functions in that block or form element. To define global variables, add them to the main level.
Block
The block element can be nested in the form element and in the main level (vxml).
It can have the following child elements: assign, audio, callout, clear, customstate, disconnect, exit, goto, if, log, prompt, setlanguage, setpriority, setskills, soap, var.
* = Specific to Sinch Contact Center
Attributes for block Element |
Description |
---|---|
Identifier |
Enter a descriptive identifier, either a short name or number. The identifier appears in the ID column, and it is used as an address when the call is transferred to this element. |
Condition |
Set a condition that applies to the entire sequence of elements included in the block element. Define the condition with a Python statement using one of the following options:
|
Description* |
Enter a description of your element; what is it planned for, its requirements and limitations. |
Form
The form element can be nested in the main level (vxml), only.
It can have the following child elements: block, callout, customstate, field, filled, noinput, nomatch, record, soap, transfer, var.
Attributes for form Element |
Description |
---|---|
Identifier |
Enter a descriptive identifier, either a short name or number. The identifier appears in the ID column, and it is used as an address when the call is transferred to this element. |
Description* |
Enter a description of your element; what is it planned for, its requirements and limitations. |