Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

GlobalCommands (Communications Workflow Sample)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

This sample speech workflow application prompts the user for three numbers in specific ranges: 1-10, 11-20, and 1-20. The user can start over or cancel at any time by using a SpeechCommandActivity activity.

  • Use the ActivityExecutionContext class to expose workflow run-time capabilities and services to individual activities.

  • Use multiple .grxml grammars.

  • Use the ResourceManager class to provide culture-specific prompt text.

  • Use two speech event activities: ConsecutiveNoRecognitionsSpeechEventActivity and ConsecutiveNoInputsSpeechEventActivity.

  • Use two speech command activities: SpeechHelpCommandActivity and SpeechCommandActivity.

To build and debug the sample application

  1. Create a debugging environment. For information about creating a debugging environment, see Establish Accounts on Office Communications Server.

  2. In the UCMA v2.0 SDK\Samples\Workflow directory, open GlobalCommands.

  3. Debug the GlobalCommands speech workflow application. For information about debugging this application, see Walkthrough: Debugging a Communications Workflow Application.

Show:
© 2015 Microsoft