Export (0) Print
Expand All

Design Time Validation

Microsoft Unified Communications Managed API (UCMA) 3.0 Workflow SDK communications workflow activities provide warning and error messages that follow validation checks for missing or invalid property settings.

Authors must use the TargetActivityName property to specify a valid target for a GoToActivity activity. A valid target is any direct or indirect child of a CommunicationsSequenceActivity activity. Command and event activities are not valid targets.

An error message appears, depending on the violated condition.

Conditions Checked

  • The target specified in the Properties window is invalid.

  • The target is not specified in the Properties window.

Authors should specify a value for the CalledParty property for each BlindTransferActivity activity. A warning message appears if both conditions are true.

Conditions Checked

  • The CalledParty property is not specified in the Properties window.

  • The Executing event handler is not specified.

Authors should specify prompt text and a grammar for each SpeechQuestionAnswer activity.

Prompt Text Warning

A warning message appears if the following conditions are true.

  • The prompt text is not specified in the Properties window.

  • The TurnStarting event handler is not specified.

  • The Executing event handler is not specified.

Grammar Warning

A warning message appears if the following conditions are true.

  • The TurnStarting event handler is not specified.

  • The Executing event handler is not specified.

Authors should specify prompt text and a grammar for each InstantMessagingQuestionAnswerActivity activity.

Prompt Text Warning

A warning message appears if the following conditions are true.

  • The prompt text is not specified in the Properties window.

  • The TurnStarting event handler is not specified.

  • The Executing event handler is not specified.

Grammar Warning

A warning message appears if the following conditions are true.

  • The TurnStarting event handler is not specified.

  • The Executing event handler is not specified.

Authors should specify prompt text for each SpeechStatementActivity activity. A warning message appears if the following conditions are true.

  • The prompt text is not specified in the Properties window.

  • The TurnStarting event handler is not specified.

  • The Executing event handler is not specified.

Authors should specify prompt text for each InstantMessagingStatementActivity activity. A warning message appears if the following conditions are true.

  • Prompt text is not specified in the Properties window.

  • TurnStarting event handler is not specified.

  • Executing event handler is not specified.

Authors should bind a value for the CallProvider property. This is only needed with CommunicationsSequenceActivity activities added to a project by the workflow author. In the case of the default CommunicationsSequenceActivity added when creating a new project, binding is not needed because the default value is added by the project template. A warning message appears if both conditions are true.

  • The CallProvider property is not specified in the Properties window.

  • The Executing event handler is not specified.

Authors should specify one of the following four properties for each SpeechCommandActivity: Grammar, DtmfGrammar, ExpectedDtmfInputs or ExpectedSpeechInputs. A warning message appears if none of these properties is set.

Authors should specify a value for either the Grammar or ExpectedInputs property for each InstantMessagingCommandActivity activity. A warning message appears if none of these properties is set.

Authors should specify one of the following four properties for each SpeechHelpCommandActivity: Grammar, DtmfGrammar, ExpectedDtmfInputs or ExpectedSpeechInputs. A warning message appears if none of these properties is set.

Authors should specify either the Grammar or the ExpectedInputs property for each InstantMessagingHelpCommandActivity activity. A warning message appears if neither of these properties is set.

Authors should specify one of the following four properties for each SpeechRepeatCommandActivity: Grammar, DtmfGrammar, ExpectedDtmfInputs or ExpectedSpeechInputs. A warning message appears if none of these properties is set.

Show:
© 2014 Microsoft