RecognizeInstantMessagingInput (CommunicationsWorkflow Sample)
This sample instant messaging (IM) workflow application demonstrates how to use grammars to recognize IM inputs. The user is asked to enter a number between 1 and 10, and the user can respond by entering the value in the IM message window. The application recognizes the input and repeats it back to the user.
Featured Highlights
Use the InstantMessagingQuestionAnswerActivity.Grammars property.
Use the ConsecutiveNoRecognitionsInstantMessagingEventActivity and ConsecutiveSilencesInstantMessagingEventActivity activities.
Prerequisites
See the prerequisites list in Walkthrough: Debugging a Communications Workflow Application.
Running the Sample
To build and debug the sample application
Create a debugging environment. For information about creating a debugging environment, see Provision and Deploy a UCMA Workflow Application.
In the %ProgramFiles%\Lync Server 2010\UCMA v3.0 SDK\Samples\Workflow directory, open RecognizeInstantMessagingInput.
Debug the RecognizeInstantMessagingInput IM workflow application. For information about debugging this application, see Walkthrough: Debugging a Communications Workflow Application.
See Also
Other Resources
Unified Communications Managed API 3.0 Workflow SDK Documentation