- Joined
- Dec 21, 2011
- Messages
- 208
- Reaction score
- 0
If we drag a user defined component into a flow, there appears to be a tag missing off the xml.
This is the XML of a part of a flow which simply "goes" to another component:
<vxml version="2.0" application="Root_Fletchers.vxml">
<catch event="error.semantic">
<assign name="project$_CurrentErrorName$" expr="_event" />
<assign name="project$_CurrentErrorDescription$" expr="(_message == undefined ? '' : _message)" />
<goto next="FS_ErrorHandler.vxml" />
</catch>
<error>
<assign name="project$_CurrentErrorName$" expr="_event" />
<goto next="FS_ErrorHandler.vxml" />
</error>
<catch event="connection.disconnect telephone.disconnect">
<goto next="FS_DisconnectHandler.vxml" />
</catch>
<form>
<block>
<var name="application.SelfServeRef_loopcounter" expr="0" />
<var name="application.FS_goselfserveroneone_loopcounter" expr="0" />
<var name="application.SelfServeRef_extension" expr="0" />
<var name="application.FS_goselfserveroneone_extension" expr="0" />
<var name="application.SelfServeRef_clientname" expr="'NONAME'" />
<var name="application.FS_goselfserveroneone_clientname" expr="'NONAME'" />
<var name="application.SelfServeRef_casenumber" expr="0" />
<var name="application.FS_goselfserveroneone_casenumber" expr="0" />
<var name="application.SelfServeRef_casenumbervalid" expr="0" />
<var name="application.FS_goselfserveroneone_casenumbervalid" expr="0" />
<var name="application.SelfServeRef_fee_email" expr="'[email protected]'" />
<var name="application.FS_goselfserveroneone_fee_email" expr="'[email protected]'" />
<var name="application.SelfServeRef_realcasenumber" expr="0" />
<var name="application.FS_goselfserveroneone_realcasenumber" expr="0" />
<var name="application.SelfServeRef_NextComponentUri$" expr="'FS_MF_goselfserveroneone_Suffix.vxml'" />
<var name="application.SelfServeRef_NextErrorHandlerUri$" expr="'FS_ErrorHandler.vxml'" />
<var name="application.SelfServeRef_NextDisconnectHandlerUri$" expr="'FS_DisconnectHandler.vxml'" />
<goto next="SelfServeRef.vxml" />
</block>
</form>
</vxml>
There is missing fromt he top of this file a definition:
<?xml version="1.0" encoding="UTF-8"?>
This is a _Prefix.vxml file, The Suffix is also missing this tag. The call flow vxml iteself DOES have the tag.
By adding this in, the flow works properly. I only discovered this because other xml files which make up the flow always have this header.
We are using version 3.0.3839.0 VAD
Millsey
This is the XML of a part of a flow which simply "goes" to another component:
<vxml version="2.0" application="Root_Fletchers.vxml">
<catch event="error.semantic">
<assign name="project$_CurrentErrorName$" expr="_event" />
<assign name="project$_CurrentErrorDescription$" expr="(_message == undefined ? '' : _message)" />
<goto next="FS_ErrorHandler.vxml" />
</catch>
<error>
<assign name="project$_CurrentErrorName$" expr="_event" />
<goto next="FS_ErrorHandler.vxml" />
</error>
<catch event="connection.disconnect telephone.disconnect">
<goto next="FS_DisconnectHandler.vxml" />
</catch>
<form>
<block>
<var name="application.SelfServeRef_loopcounter" expr="0" />
<var name="application.FS_goselfserveroneone_loopcounter" expr="0" />
<var name="application.SelfServeRef_extension" expr="0" />
<var name="application.FS_goselfserveroneone_extension" expr="0" />
<var name="application.SelfServeRef_clientname" expr="'NONAME'" />
<var name="application.FS_goselfserveroneone_clientname" expr="'NONAME'" />
<var name="application.SelfServeRef_casenumber" expr="0" />
<var name="application.FS_goselfserveroneone_casenumber" expr="0" />
<var name="application.SelfServeRef_casenumbervalid" expr="0" />
<var name="application.FS_goselfserveroneone_casenumbervalid" expr="0" />
<var name="application.SelfServeRef_fee_email" expr="'[email protected]'" />
<var name="application.FS_goselfserveroneone_fee_email" expr="'[email protected]'" />
<var name="application.SelfServeRef_realcasenumber" expr="0" />
<var name="application.FS_goselfserveroneone_realcasenumber" expr="0" />
<var name="application.SelfServeRef_NextComponentUri$" expr="'FS_MF_goselfserveroneone_Suffix.vxml'" />
<var name="application.SelfServeRef_NextErrorHandlerUri$" expr="'FS_ErrorHandler.vxml'" />
<var name="application.SelfServeRef_NextDisconnectHandlerUri$" expr="'FS_DisconnectHandler.vxml'" />
<goto next="SelfServeRef.vxml" />
</block>
</form>
</vxml>
There is missing fromt he top of this file a definition:
<?xml version="1.0" encoding="UTF-8"?>
This is a _Prefix.vxml file, The Suffix is also missing this tag. The call flow vxml iteself DOES have the tag.
By adding this in, the flow works properly. I only discovered this because other xml files which make up the flow always have this header.
We are using version 3.0.3839.0 VAD
Millsey