Author Message
MichaelDailous_deprecated
Joined: Nov 11, 2013
Messages: 171
Offline
When using a module, I get a prompt asking if this is a "local of subdialog invocation" What's the difference?

Michael
SamareshKowshik
Joined: Nov 6, 2013
Messages: 351
Offline
The Developer's Guide has a section on Module Call Types. The following is an excerpt:

"You can use local call to transfer data from a complex variable as well as from a collection of
simple and complex variables, between modules. The local call does not use the VXML
subdialog to invoke a module.

The VXML subdialog uses the Avaya Voice Browser (AVB) to keep a track of the context, create
a new context, and handle the return. Hence, the VXML subdialog passes only simple text
values in between modules. By default, Orchestration Designer calls modules by using the
VXML subdialog.

In local call, the Orchestration Designer runtime invokes the module on the application server
and uses a redirect to move to the new Web application. The Orchestration Designer runtime
manages the context switch and the return. This ensures efficient transfer of data from a
complex variable as well as from a collection of simple and complex variables, between
modules."
IrinaPanina
Joined: Mar 23, 2011
Messages: 20
Offline
Hello,
does it mean that complex variables can be passes BOTH as input and output? Did anyone have an experience on that?

Thanks,
Irina
NeilGoldsmith
Joined: Nov 6, 2013
Messages: 902
Offline
With a subdialog, you can only pass simple values, so for instance, if you need all the fields of a complex variable, you have to pass each field as a parameter. If there are 10 fields, you need 10 inputs or outputs (same idea whether input or output).

For a local call, you can just pass the complex variable itself and all the fields come with it.
Go to:   
Mobile view