Workflow Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class contains the workflow the customer sent for the OnInComingCall POST or any subsequent POST to their callback url. Basically this workflow defines the set of actions, the customer wants us to perform and then callback to them.
public class Workflow
type Workflow = class
Public Class Workflow
- Inheritance
-
Workflow
Constructors
Workflow() |
Properties
Actions |
List of actions to perform . ex : playPrompt, record, hangup |
AppState |
Opaque string to facilitate app developers to pass their custom data in this field. This field is echo'd back in the 'result' POST for this 'workflow'. |
Links |
Callback link to call back the customer on, once we have performed the set of actions. Note : a. We would always return the outcome : i. of the last operation if all operations were performed successfully OR ii. outcome of first failed operation b. If any operation fails, then we immediately callback the customer webservice with the outcome, and skip processing other operations defined in the "actions" list. c. If no callback link is provided, then we keep performing all specified operations, until i. we hit the end - then we hangup (if call connected to server call agent) ii. We hit a failure - then we hangup (if call connected to server call agent) iii. We hit a max call duration timeout - then we hangup (if call connected to server call agent) d. Any validation failure of this workflow object would result in us returning the workflowValidationOutcome object to the customer's callback url and not proceed with any defined actions. |
Methods
Validate() |
Validate the WorkFlow |
Validate(Boolean) |
Validate the WorkFlow |