This documentation is archived and is not being maintained.

Step 2: Construct a Workflow in the CommunicationsEventsActivity

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 Events to a Workflow walkthrough application. This sequence of topics demonstrates how to add event activities to a speech and 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 consecutive silences activity to the workflow

  • In the Visual Studio 2008Toolbox, expand Unified Communications Workflow to display activities. Drag and drop a ConsecutiveSilencesSpeechEvent activity onto the upper pane in communicationsEventsActivity1. This drag-and-drop operation situates the ConsecutiveSilencesSpeechEvent activity within the scope of communicationsSequenceActivity1. The steps for adding event activities in an IM scenario are identical.


To create a workflow that executes when an event occurs, 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.