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.

Adding an Activity to the Events Designer

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.

    Hh347386.f7aa09b5-c50b-4276-834c-911a6f17eef1(en-us,office.14).jpg

Creating a Secondary Workflow

To create a workflow that executes when an event occurs, drag and drop activities onto the designer pane where Drop Activities Here appears.

Debug the Application

To build and debug the application

  1. Create a debugging environment. For information about creating a debugging environment, see Provision and Deploy a UCMA Workflow Application.

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

See Also

Concepts

Walkthrough: Add Events to a Workflow