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

Step 2: Construct a Workflow in the CommandsActivity

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 is the last of two topics describing the steps to create the Add Commands to a Workflow walkthrough application. This sequence of topics demonstrates how to add command activities to a speech and an instant messaging (IM) Microsoft Unified Communications Managed API application using Microsoft Visual Studio 2008 development system. The procedures for creating the walkthrough application build sequentially. Completing the procedures in sequence is important.

To add a SpeechHelpCommandActivity to the workflow

  • Drag and drop a SpeechHelpCommand activity onto the upper pane in commandsActivity1 where Drop a Command here appears. This drag-and-drop operation situates the SpeechHelpCommandActivity activity within the scope of communicationsSequenceActivity1. The steps for adding a command activity in an IM scenario are identical.

    Dd146427.2e1082d5-c370-4329-b09c-f80c5a5c5980(en-us,office.13).jpg

To specify user inputs to the SpeechHelpCommandActivity

  • The SpeechHelpCommandActivity activity added in the previous procedure must recognize a user request for help. Specify user inputs for the SpeechHelpCommandActivity.ExpectedSpeechInputs property so that it recognizes three words: help, assistance, and support. For more information, see Authoring Grammars.

To create a workflow that executes when the command is recognized, drag and drop activities onto the designer pane where Drop Activities Here appears.

To build and debug the application

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

  2. Debug the application. For information about debugging applications, see Walkthrough: Debugging a Communications Workflow Application.

Show:
© 2015 Microsoft