DB Prompt Block
Contents
- 1 DB Prompt Block
- 1.1 Name Property
- 1.2 Block Notes Property
- 1.3 Data Source Property
- 1.4 Language Property
- 1.5 Clear Buffer Property
- 1.6 Immediate Playback Property
- 1.7 Interruptible Property
- 1.8 Prompts Property
- 1.9 Timeout Property
- 1.10 Condition Property
- 1.11 Logging Details Property
- 1.12 Log Level Property
- 1.13 Enable Status Property
The DB Prompt block speaks out prompts generated using TTS based on the data returned by an associated DB Data block. The DB Prompt block will speak each row of the data result set as a sentence. To speak data returned by a DB Data block in a specific format, Genesys recommends using the Prompt block along with ECMA script. A template application (Database Query Result Access Project) is provided which demonstrates the use of ECMA script to allow Prompting of currency and data formats as an example.
The DB Prompt block has no page exceptions.
The DB Prompt block has the following properties:
Name Property
Find this property's details under Common Properties.
Block Notes Property
Can be used for both callflow and workflow blocks to add comments.
Data Source Property
The Data Source property allows you to select the DB Data block that contains a previously-defined database query. The results of this database query will be used to create the voice prompt. To select the data source (a DB Data block):
- Select the Data Source row in the block's property table.
- In the Value field, select the appropriate DB Data block from the drop-down list.
Language Property
The language set by this property overrides any language set by the Set Language block, the Project preferences, or the incoming call parameters. The property takes effect only fr the duration of this block, and the language setting reverts back to its previous state after the block is done. In the case of the DB Prompt block, this property affects the language of grammars of TTS output:
- Click under Value to display a down arrow.
- Click the down arrow and select English - United States (en-US) or the variable that contains the language.
Clear Buffer Property
Use the Clear Buffer property for clearing the DTMF digits in the key-ahead buffer. If it is not set to true, the DTMF digits entered are carried forward to the next block. It is commonly used for applications the caller is familiar with. For example, the caller hears a welcome prompt but knows the next prompt will solicit the caller's input or menu selection. The caller may start inputting with DTMF while the welcome prompt plays and expect the input to carry forward. To assign a value to the Clear Buffer property:
- Select the Clear Buffer row in the block's property table.
- In the Value field, select true or false from the drop-down list.
Immediate Playback Property
When Immediate Playback is set to true, prompts are played immediately on the execution of the prompt without queuing them. When Immediate Playback is set to false, the interpreter goes to the transitioning state and queues the TTS Prompt until the interpreter waits for an input (such as the Menu, Input, Record,and Transfer blocks). To assign a value to the Immediate Playback property:
- Select the Immediate Playback row in the block's property table.
- In the Value field, select true or false from the drop-down list.
Interruptible Property
This property specifies whether the caller can interrupt the prompt before it has finished playing. To assign a value to the Interruptible property:
- Select the Interruptible row in the block's property table.
- In the Value field, select true,false,or DTMF (for DTMF barge-in mode support) from the drop-down list.
Prompts Property
Find this property's details under Common Properties. Note: When Type is set to Value and Interpret-As is set to Audio, you can specify an HTTP or RTSP URL. When Type is set to Variable and Interpret-As is set to Audio, you can specify a variable that contains an HTTP or RTSP URL.
Timeout Property
The Timeout property defines the length of the pause between when the voice application plays the last data in the list, and when it moves to the next block. To provide a timeout value:
- Select the Timeout row in the block's property table.
- In the Value field, type a timeout value, in seconds.
Condition Property
Find this property's details under CommonPropertiesforCallflowBlocks.
Logging Details Property
Find this property's details under Common Properties.
Log Level Property
Find this property's details under Common Properties.
Enable Status Property
Find this property's details under Common Properties.