GoTo Block
Contents
- 1 GoTo Block
- 1.1 Name Property
- 1.2 Block Notes Property
- 1.3 Condition Property
- 1.4 Exceptions Property
- 1.5 Logging Details Property
- 1.6 Log Level Property
- 1.7 Enable Status Property
- 1.8 Parameters
- 1.9 Type
- 1.10 URI
- 1.11 Fetch Audio Property
- 1.12 Fetch Audio Delay Property
- 1.13 Fetch Audio Minimum Property
- 1.14 Fetch Hint Property
- 1.15 Fetch Timeout Property
- 1.16 Max Age Property
- 1.17 Max Stale Property
Use this block to direct the application to a specific URL. This block enables you to pass parameters in the current application to the URL by selecting them from the User Parameters list. This block is normally used to transfer to another voice application. Genesys recommends that you use subcallflows for modularizing the application and the GoTo block for calling an external application. Note: If an application enables Voice Application Reporting, Genesys recommends that you use subcallflows instead of a GoTo block. The GoTo block has no page exceptions. The GoTo block has the following properties:
Name Property
Please find this property's details under Common Properties.
Block Notes Property
Can be used for both callflow and workflow blocks to add comments.
Condition Property
Find this property's details under Common Properties for Callflow Blocks.
Exceptions Property
Beginning with release 8.1.510.12, the Exceptions property is available in the GoTo block and allows you to define exception events that can be handled within the block.
Find this property's details under Common Properties for Callflow Blocks.
- The error and error.badfetch standard exceptions are supported.
- You can also define custom events.
Logging Details Property
Find this property's details under Common Properties for Callflow Blocks.
Log Level Property
Find this property's details under Common Properties for Callflow Blocks.
Enable Status Property
Find this property's details under Common Properties for Callflow Blocks.
Parameters
Use to select variables/parameters to pass to the target application. Note: If the Type property is set to ProjectFile, the Parameters property does not apply. To select parameters (Type property is set to URL):
- Click the Parameters row in the block's property table.
- Click the button to open the Parameters dialog box.
- Select individual parameters, or click Select all or Deselect all as needed.
- Click OK to close the Parameters dialog box.
Type
Sets the type of the destination application. There are two options:
- URL--The destination application can be found at the location specified in the Uri property.
- ProjectFile--The destination can be another location inside the same Composer Project.
To select a value for the Type property:
- Select the Type row in the block's property table.
- In the Value field, select URL or ProjectFile from the drop-down list.
URI
Specifies the destination (URL or Composer Project) depending on the value of the Type property. To set a URL destination for the Uri property (Type property is set to URL):
- Select the Uri row in the block's property table.
- In the Value field:
- Type a valid URL, which can be specified as a relative path if the file is in the same project (for example, .../src/WSJNews.vxml).
- Or select a variable from the drop-down list.
To set a Composer Project destination for the Uri property (Type property is set to ProjectFile):
- Click the Uri row in the block's property table.
- Click the button to open the Uri dialog box.
- Select a Voice Project file in the list.
- Click OK to close the Uri dialog box.
Fetch Audio Property
Enter the fetchaudio file to play when executing a long-running tasks, such as a server side web query. By default, Next Generation Interpreter NGI) supplies a built-in fetchaudio file. For information on GVP support of fetchaudio, see:
- Fetching Properties in GVP Voice XML Help.
- The VoiceXML Properties section of the GVP 8.1 Legacy Genesys VoiceXML 2.1 Reference Manual.
- The Prompt block, VXML Behavior and Queueing of Prompts.
Fetch Audio Delay Property
Enter the length of time to wait at the start of a fetch delay before playing fetchaudio. For more information, see Fetching Properties in GVP Voice XML Help
Fetch Audio Minimum Property
Enter the minimum length of time to play fetchaudio, once started, even if the fetch result arrives in the meantime. For more information, see Fetching Properties in GVP Voice XML Help
Fetch Hint Property
Select prefetch or safe to define when XML data files can be fetched. Selecting safe indicates to only load the XML data file when needed. For more information, see Fetching Properties in GVP Voice XML Help.
Fetch Timeout Property
Enter the timeout for fetches. This is not supported when using Nuance (MRCP). An error.badfetch is thrown when a fetch duration exceeds fetchtimeout. For more information, see Fetching Properties in GVP Voice XML Help.
Max Age Property
Enter the maximum acceptable age, in seconds, of cached audio resources. For more information, see Fetching Properties in GVP Voice XML Help.
Max Stale Property
Enter the maximum staleness, in seconds, of expired cached audio resources.For more information, see Fetching Properties in GVP Voice XML Help.