![]() |
|
![]() ![]() ![]() |
Nodes and Palette Options > Detailed Palette Option Descriptions > Invoke Workflow | |
![]() |
Invoke Workflow ![]() |
Type
IC connector item
Available from
Data Node only
Purpose
The Invoke Workflow item allows you to invoke and use a workflow on an Avaya Interaction Center (IC) system without exiting the speech application on the IVR system. With the Invoke Workflow item, you can pass variable values to the workflow on the IC system. The workflow on the IC system can process these variable values and then return the results to the speech application on the IVR system.
Behavior
Before you can use this or any other IC item, you must enable IC for Dialog Designer. For more information about the ability of Dialog Designer to interact with IC, and to enable IC in your Dialog Designer applications, see About the IC Connector.
When the speech application encounters the Invoke Workflow item, the application:
These values are passed in the order listed in the Avaya Properties view means that you must know the order in which variable values are expected in the workflow.
The vox.tr1 call allows you to perform a send and forget when invoking a workflow. The IC Connector will not wait for the results of the running workflow and the application may continue executing. Enable this feature by setting the Return Immediately property in the IC Invoke Workflow data node to true.
Important:
When passing variable values to and from the IC system, keep in mind that, whereas the IC system allows dots ( . ), pluses ( + ), stars ( * ), and marks( ! ) in variable names, Dialog Designer, being Java-based, does not. So, for example, a variable name of account.number is valid in the IC system, but it violates Java naming conventions, which do not allow the dot in a name.
Tip:
There are two ways that variable values can be passed to and from the IC system: One is to use the Invoke Workflow item, and the other is to create custom variable fields in the vdu variable and assign values to them. The second method can be useful if you need to pass more than four variable values at a time. This is because the Invoke Workflow item has a limit of four output and four input variable values. By creating and assigning custom variable fields in the vdu variable before the Invoke Workflow item is initiated, you can send additional variable values to the IC system for use with the Invoke Workflow item.
Tip:
This setting requires you to know the normal amount of time it takes the IC system to complete the workflow you are invoking. If, for example, you are invoking a workflow that normally takes from 4 to 7 seconds to process a request, and you have set this timeout to 5000 milliseconds (5 seconds), there is a good chance that the IVR application will time out before the request can be processed. Avaya recommends that you set this field to approximately 5 seconds more than the normal processing time that the workflow requires. In this example, that means that you should set this field to 12000.
The IC system creates output values using name-value pairs. Dialog Designer applications can retrieve those name-value pairs only if it knows the names. For this reason, the name of the variable or variable field to which you want to assign the return from the IC system must exactly match the name of one of the names in these name-value pairs.
![]() ![]() ![]() |
©2009, Avaya Inc. All rights reserved.
|