112 lines
8.4 KiB
XML
112 lines
8.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<File>
|
|
<Version>2.1</Version>
|
|
<Variables>
|
|
<ArrayOfVariable xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<Variable>
|
|
<Name>IVRPath</Name>
|
|
<ShowScopeProperty>true</ShowScopeProperty>
|
|
<DebuggerVisible>true</DebuggerVisible>
|
|
<HelpText />
|
|
</Variable>
|
|
<Variable>
|
|
<Name>Profilename</Name>
|
|
<ShowScopeProperty>true</ShowScopeProperty>
|
|
<DebuggerVisible>true</DebuggerVisible>
|
|
<HelpText />
|
|
</Variable>
|
|
<Variable>
|
|
<Name>result_Fullfilename</Name>
|
|
<ShowScopeProperty>true</ShowScopeProperty>
|
|
<DebuggerVisible>true</DebuggerVisible>
|
|
<HelpText />
|
|
</Variable>
|
|
<Variable>
|
|
<Name>wavDefault</Name>
|
|
<Scope>Private</Scope>
|
|
<ShowScopeProperty>true</ShowScopeProperty>
|
|
<DebuggerVisible>true</DebuggerVisible>
|
|
<HelpText />
|
|
</Variable>
|
|
<Variable>
|
|
<Name>wavAvailable</Name>
|
|
<Scope>Private</Scope>
|
|
<ShowScopeProperty>true</ShowScopeProperty>
|
|
<DebuggerVisible>true</DebuggerVisible>
|
|
<HelpText />
|
|
</Variable>
|
|
<Variable>
|
|
<Name>wavAway</Name>
|
|
<Scope>Private</Scope>
|
|
<ShowScopeProperty>true</ShowScopeProperty>
|
|
<DebuggerVisible>true</DebuggerVisible>
|
|
<HelpText />
|
|
</Variable>
|
|
<Variable>
|
|
<Name>wavOoO</Name>
|
|
<Scope>Private</Scope>
|
|
<ShowScopeProperty>true</ShowScopeProperty>
|
|
<DebuggerVisible>true</DebuggerVisible>
|
|
<HelpText />
|
|
</Variable>
|
|
<Variable>
|
|
<Name>wavCustom1</Name>
|
|
<Scope>Private</Scope>
|
|
<ShowScopeProperty>true</ShowScopeProperty>
|
|
<DebuggerVisible>true</DebuggerVisible>
|
|
<HelpText />
|
|
</Variable>
|
|
<Variable>
|
|
<Name>wavCustom2</Name>
|
|
<Scope>Private</Scope>
|
|
<ShowScopeProperty>true</ShowScopeProperty>
|
|
<DebuggerVisible>true</DebuggerVisible>
|
|
<HelpText />
|
|
</Variable>
|
|
<Variable>
|
|
<Name>Filename</Name>
|
|
<Scope>Private</Scope>
|
|
<ShowScopeProperty>true</ShowScopeProperty>
|
|
<DebuggerVisible>true</DebuggerVisible>
|
|
<HelpText />
|
|
</Variable>
|
|
</ArrayOfVariable>
|
|
</Variables>
|
|
<Flows>
|
|
<MainFlow>
|
|
<ns0:MainFlow Description="Callflow execution path." DebugModeActive="False" x:Name="cGetVMWavfile" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ns0="clr-namespace:TCX.CFD.Classes.Components;Assembly=3CX Call Flow Designer, Version=20.2.84.0, Culture=neutral, PublicKeyToken=7cb95a1a133e706e">
|
|
<ns0:FileManagementComponent AppendFinalCrLf="True" Action="Read" x:Name="ReadWriteFile1" FileName="CONCATENATE(callflow$.IVRPath,"/greetings.xml")" ReadToEnd="true" Content="" Tag="Greetings.xml" FirstLineToRead="0" OpenMode="Open" DebugModeActive="False" LinesToRead="" />
|
|
<ns0:JsonXmlParserComponent ResponseMappingsList="<?xml version="1.0" encoding="utf-16"?><ArrayOfResponseMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><ResponseMapping><Path>string(/overrides/greeting[@profile='default']/@file)</Path><Variable>callflow$.wavDefault</Variable></ResponseMapping><ResponseMapping><Path>string(/overrides/greeting[@profile='Available']/@file)</Path><Variable>callflow$.wavAvailable</Variable></ResponseMapping><ResponseMapping><Path>string(/overrides/greeting[@profile='Away']/@file)</Path><Variable>callflow$.wavAway</Variable></ResponseMapping><ResponseMapping><Path>string(/overrides/greeting[@profile='Out of office']/@file)</Path><Variable>callflow$.wavOoO</Variable></ResponseMapping><ResponseMapping><Path>string(/overrides/greeting[@profile='Custom 1']/@file)</Path><Variable>callflow$.wavCustom1</Variable></ResponseMapping><ResponseMapping><Path>string(/overrides/greeting[@profile='Custom 2']/@file)</Path><Variable>callflow$.wavCustom2</Variable></ResponseMapping></ArrayOfResponseMapping>" Input="ReadWriteFile1.Result" Tag="VMdefaultWav" DebugModeActive="False" TextType="XML" x:Name="JsonXmlParser1" />
|
|
<ns0:ConditionalComponent Tag="" DebugModeActive="False" x:Name="CreateCondition1">
|
|
<ns0:ConditionalComponentBranch Condition="EQUAL(callflow$.Profilename,"Available")" Description="Execution path when the specified condition is met." Tag="Available" DebugModeActive="False" x:Name="cond1">
|
|
<ns0:VariableAssignmentComponent VariableName="callflow$.Filename" Tag="filename" DebugModeActive="False" Expression="callflow$.wavAvailable" x:Name="AssignVariable1" />
|
|
</ns0:ConditionalComponentBranch>
|
|
<ns0:ConditionalComponentBranch Condition="EQUAL(callflow$.Profilename,"Away")" Description="Execution path when the specified condition is met." Tag="Away" DebugModeActive="False" x:Name="conditionalComponentBranch1">
|
|
<ns0:VariableAssignmentComponent VariableName="callflow$.Filename" Tag="filename" DebugModeActive="False" Expression="callflow$.wavAway" x:Name="AssignVariable2" />
|
|
</ns0:ConditionalComponentBranch>
|
|
<ns0:ConditionalComponentBranch Condition="EQUAL(callflow$.Profilename,"Out of office")" Description="Execution path when the specified condition is met." Tag="Available" DebugModeActive="False" x:Name="conditionalComponentBranch2">
|
|
<ns0:VariableAssignmentComponent VariableName="callflow$.Filename" Tag="filename" DebugModeActive="False" Expression="callflow$.wavOoO" x:Name="AssignVariable3" />
|
|
</ns0:ConditionalComponentBranch>
|
|
<ns0:ConditionalComponentBranch Condition="EQUAL(callflow$.Profilename,"Custom 1")" Description="Execution path when the specified condition is met." Tag="Available" DebugModeActive="False" x:Name="conditionalComponentBranch3">
|
|
<ns0:VariableAssignmentComponent VariableName="callflow$.Filename" Tag="filename" DebugModeActive="False" Expression="callflow$.wavCustom1" x:Name="AssignVariable4" />
|
|
</ns0:ConditionalComponentBranch>
|
|
<ns0:ConditionalComponentBranch Condition="EQUAL(callflow$.Profilename,"Custom 2")" Description="Execution path when the specified condition is met." Tag="Available" DebugModeActive="False" x:Name="conditionalComponentBranch4">
|
|
<ns0:VariableAssignmentComponent VariableName="callflow$.Filename" Tag="filename" DebugModeActive="False" Expression="callflow$.wavCustom2" x:Name="AssignVariable5" />
|
|
</ns0:ConditionalComponentBranch>
|
|
</ns0:ConditionalComponent>
|
|
<ns0:ConditionalComponent Tag="" DebugModeActive="False" x:Name="CreateCondition2">
|
|
<ns0:ConditionalComponentBranch Condition="EQUAL(callflow$.Filename,"")" Description="Execution path when the specified condition is met." Tag="" DebugModeActive="False" x:Name="conditionalComponentBranch5">
|
|
<ns0:VariableAssignmentComponent VariableName="callflow$.Filename" Tag="filename" DebugModeActive="False" Expression="callflow$.wavDefault" x:Name="variableAssignmentComponent1" />
|
|
</ns0:ConditionalComponentBranch>
|
|
</ns0:ConditionalComponent>
|
|
<ns0:VariableAssignmentComponent VariableName="callflow$.result_Fullfilename" Tag="result_FullFilename" DebugModeActive="False" Expression="CONCATENATE(callflow$.IVRPath,"/",callflow$.Filename)" x:Name="AssignVariable6" />
|
|
</ns0:MainFlow>
|
|
</MainFlow>
|
|
<ErrorHandlerFlow>
|
|
<ns0:ErrorHandlerFlow Description="Execution path when an error ocurrs." DebugModeActive="False" x:Name="cGetVMWavfile" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ns0="clr-namespace:TCX.CFD.Classes.Components;Assembly=3CX Call Flow Designer, Version=20.2.84.0, Culture=neutral, PublicKeyToken=7cb95a1a133e706e" />
|
|
</ErrorHandlerFlow>
|
|
<DisconnectHandlerFlow>
|
|
<ns0:DisconnectHandlerFlow Description="Execution path since the call gets disconnected." DebugModeActive="False" x:Name="cGetVMWavfile" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ns0="clr-namespace:TCX.CFD.Classes.Components;Assembly=3CX Call Flow Designer, Version=20.2.84.0, Culture=neutral, PublicKeyToken=7cb95a1a133e706e" />
|
|
</DisconnectHandlerFlow>
|
|
</Flows>
|
|
</File> |