PreviousNextIndex

Working with the Call Flow Editor > Working with Sub Flows (vs. Modules)
 
Working with Sub Flows (vs. Modules)

When designing your speech application, design considerations need to be taken into account for when and where it is better to create sub flows or reusable modules in your application. To best understand the differences, refer to the following table for side-by-side considerations.

Modules

Sub Flows

  • Project resources are self-contained.
  • Reusable across projects.
  • Better for multiple developers.
  • Developers can work separately on their modules with out much concern that it will impact other developer's work.
  • Separate application contexts at runtime.
  • Session data is independent.
  • (Dialog Designer runtime has mechanisms to share Java objects across modules).
  • Voice browser fetches as VXML <subdialog>.
  • Share project resources (such as prompts, grammars, variables).
  • Reusable only within a project.
  • Not good for multiple developers.
  • Multiple project files are shared and updated by various editors (such as variables, web.xml). Trying to merge updates to these files is difficult.
  • Same application context at runtime.
  • Share session data.
  • Requests forwarded entering or exiting sub flows- no round trip HTTP request or response.
  • All VXML is part of the same dialog.

In general, creating and working with Sub Flows is very similar to creating and working with main flows. However, following are a few differences:

Some considerations about sub flows:

For more details on working with Sub Flows, see the following sections:


PreviousNextIndex

©2009, Avaya Inc. All rights reserved.