<Flow>
The <Flow>
noun redirects execution to a Flow by its GUID.
<Flow>
Attributes
<Flow>
supports the following attributes that change its behavior:
Attribute | Allowed Values | Default Value |
---|---|---|
resume | true , false | false |
history | disable , compact , full | disable |
resume
If the VoXML was initiated from a "VoXML Redirect" widget in a Flow, then resume="true"
will cause the call to resume to the next element in the Flow it originated from. Otherwise, if resume="false"
, then the Flow is executed beginning at the start widget.
history
The history
attribute determines if the <Flow>
noun should be logged in the history
array of the CDR. The default is to not log.
For <Flow>
, both compact
and full
have the same effect of logging the following payload to the history
array.
{
"payload": {
"resume": true
}
}
<Flow>
Nouns
The GUID of the Flow to redirect the call to.
<Flow>
Examples
Simple Usage
Connect to a Flow.
<Response>
<Connect>
<Flow>e6176511-0a69-42ac-8f49-04f285b01828</Flow>
</Connect>
</Response>