Step 2: Construct a Workflow in the CommunicationsEventsActivity
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) Unified Communications Managed API application using Microsoft Visual Studio 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 Toolbox, 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 build and debug the application
-
Create a debugging environment. For information about creating a debugging environment, see Provision and Deploy a UCMA Workflow Application.
-
Debug the application. For information about debugging applications, see Walkthrough: Debugging a Communications Workflow Application.