<Activity x:Class="XrmWorkflow25a88e8d43924dbf9ec6c449c89354f0" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" xmlns:mxs="clr-namespace:Microsoft.Xrm.Sdk;assembly=Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" xmlns:mxsq="clr-namespace:Microsoft.Xrm.Sdk.Query;assembly=Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" xmlns:mxswa="clr-namespace:Microsoft.Xrm.Sdk.Workflow.Activities;assembly=Microsoft.Xrm.Sdk.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" xmlns:s="clr-namespace:System;assembly=mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" xmlns:srs="clr-namespace:System.Runtime.Serialization;assembly=System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" xmlns:this="clr-namespace:" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <x:Members>
    <x:Property Name="InputEntities" Type="InArgument(scg:IDictionary(x:String, mxs:Entity))" />
    <x:Property Name="CreatedEntities" Type="InArgument(scg:IDictionary(x:String, mxs:Entity))" />
  </x:Members>
  <this:XrmWorkflow25a88e8d43924dbf9ec6c449c89354f0.InputEntities>
    <InArgument x:TypeArguments="scg:IDictionary(x:String, mxs:Entity)" />
  </this:XrmWorkflow25a88e8d43924dbf9ec6c449c89354f0.InputEntities>
  <this:XrmWorkflow25a88e8d43924dbf9ec6c449c89354f0.CreatedEntities>
    <InArgument x:TypeArguments="scg:IDictionary(x:String, mxs:Entity)" />
  </this:XrmWorkflow25a88e8d43924dbf9ec6c449c89354f0.CreatedEntities>
  <mva:VisualBasic.Settings>Assembly references and imported namespaces for internal implementation</mva:VisualBasic.Settings>
  <mxswa:Workflow>
    <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionSequence, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionStep1: Check if Request is Resolved and LOB is HD">
      <mxswa:ActivityReference.Arguments>
        <InArgument x:TypeArguments="x:Boolean" x:Key="Wait">False</InArgument>
      </mxswa:ActivityReference.Arguments>
      <mxswa:ActivityReference.Properties>
        <sco:Collection x:TypeArguments="Variable" x:Key="Variables">
          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep2_condition" />
          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep2_1" />
          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep2_2" />
          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep2_3" />
          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep2_4" />
          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep2_5" />
          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep2_6" />
          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep2_7" />
        </sco:Collection>
        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
          <mxswa:GetEntityProperty Attribute="statecode" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="incident" Value="[ConditionBranchStep2_2]">
            <mxswa:GetEntityProperty.TargetType>
              <InArgument x:TypeArguments="s:Type">
                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                  <x:Null />
                </mxswa:ReferenceLiteral>
              </InArgument>
            </mxswa:GetEntityProperty.TargetType>
          </mxswa:GetEntityProperty>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.OptionSetValue, "1", "State" }]</InArgument>
              <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:OptionSetValue" />
              </InArgument>
              <OutArgument x:TypeArguments="x:Object" x:Key="Result">[ConditionBranchStep2_3]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateCondition">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="mxsq:ConditionOperator" x:Key="ConditionOperator">Equal</InArgument>
              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { ConditionBranchStep2_3 }]</InArgument>
              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep2_2]</InArgument>
              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep2_1]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
          <mxswa:GetEntityProperty Attribute="vhacrm_lobid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="incident" Value="[ConditionBranchStep2_5]">
            <mxswa:GetEntityProperty.TargetType>
              <InArgument x:TypeArguments="s:Type">
                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                  <x:Null />
                </mxswa:ReferenceLiteral>
              </InArgument>
            </mxswa:GetEntityProperty.TargetType>
          </mxswa:GetEntityProperty>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.Guid, "1bd4b15a-bfbb-e511-9414-0050568dc724", "UniqueIdentifier" }]</InArgument>
              <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="s:Guid" />
              </InArgument>
              <OutArgument x:TypeArguments="x:Object" x:Key="Result">[ConditionBranchStep2_7]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.EntityReference, "vhacrm_lob", "Help Desk", ConditionBranchStep2_7, "Lookup" }]</InArgument>
              <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                  <x:Null />
                </mxswa:ReferenceLiteral>
              </InArgument>
              <OutArgument x:TypeArguments="x:Object" x:Key="Result">[ConditionBranchStep2_6]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateCondition">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="mxsq:ConditionOperator" x:Key="ConditionOperator">Equal</InArgument>
              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { ConditionBranchStep2_6 }]</InArgument>
              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep2_5]</InArgument>
              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep2_4]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateLogicalCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateLogicalCondition">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="mxsq:LogicalOperator" x:Key="LogicalOperator">And</InArgument>
              <InArgument x:TypeArguments="x:Boolean" x:Key="LeftOperand">[ConditionBranchStep2_1]</InArgument>
              <InArgument x:TypeArguments="x:Boolean" x:Key="RightOperand">[ConditionBranchStep2_4]</InArgument>
              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep2_condition]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionBranch, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionBranchStep2">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep2_condition]</InArgument>
            </mxswa:ActivityReference.Arguments>
            <mxswa:ActivityReference.Properties>
              <mxswa:ActivityReference x:Key="Then" AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.Composite, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionBranchStep2">
                <mxswa:ActivityReference.Properties>
                  <sco:Collection x:TypeArguments="Variable" x:Key="Variables" />
                  <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                    <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionSequence, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionStep3: Check if Veteran contains data and Email contains data">
                      <mxswa:ActivityReference.Arguments>
                        <InArgument x:TypeArguments="x:Boolean" x:Key="Wait">False</InArgument>
                      </mxswa:ActivityReference.Arguments>
                      <mxswa:ActivityReference.Properties>
                        <sco:Collection x:TypeArguments="Variable" x:Key="Variables">
                          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep4_condition" />
                          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep4_1" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep4_2" />
                          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep4_3" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep4_4" />
                          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep5_condition" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep5_1" />
                        </sco:Collection>
                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                          <mxswa:GetEntityProperty Attribute="customerid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="incident" Value="[ConditionBranchStep4_2]">
                            <mxswa:GetEntityProperty.TargetType>
                              <InArgument x:TypeArguments="s:Type">
                                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                                  <x:Null />
                                </mxswa:ReferenceLiteral>
                              </InArgument>
                            </mxswa:GetEntityProperty.TargetType>
                          </mxswa:GetEntityProperty>
                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateCondition">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="mxsq:ConditionOperator" x:Key="ConditionOperator">NotNull</InArgument>
                              <x:Null x:Key="Parameters" />
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep4_2]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep4_1]</OutArgument>
                            </mxswa:ActivityReference.Arguments>
                          </mxswa:ActivityReference>
                          <mxswa:GetEntityProperty Attribute="vhacrm_emailaddress_text" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="incident" Value="[ConditionBranchStep4_4]">
                            <mxswa:GetEntityProperty.TargetType>
                              <InArgument x:TypeArguments="s:Type">
                                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                                  <x:Null />
                                </mxswa:ReferenceLiteral>
                              </InArgument>
                            </mxswa:GetEntityProperty.TargetType>
                          </mxswa:GetEntityProperty>
                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateCondition">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="mxsq:ConditionOperator" x:Key="ConditionOperator">NotNull</InArgument>
                              <x:Null x:Key="Parameters" />
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep4_4]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep4_3]</OutArgument>
                            </mxswa:ActivityReference.Arguments>
                          </mxswa:ActivityReference>
                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateLogicalCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateLogicalCondition">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="mxsq:LogicalOperator" x:Key="LogicalOperator">And</InArgument>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="LeftOperand">[ConditionBranchStep4_1]</InArgument>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="RightOperand">[ConditionBranchStep4_3]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep4_condition]</OutArgument>
                            </mxswa:ActivityReference.Arguments>
                          </mxswa:ActivityReference>
                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionBranch, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionBranchStep4">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep4_condition]</InArgument>
                            </mxswa:ActivityReference.Arguments>
                            <mxswa:ActivityReference.Properties>
                              <x:Null x:Key="Then" />
                              <x:Null x:Key="Else" />
                            </mxswa:ActivityReference.Properties>
                          </mxswa:ActivityReference>
                          <mxswa:GetEntityProperty Attribute="customerid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="incident" Value="[ConditionBranchStep5_1]">
                            <mxswa:GetEntityProperty.TargetType>
                              <InArgument x:TypeArguments="s:Type">
                                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                                  <x:Null />
                                </mxswa:ReferenceLiteral>
                              </InArgument>
                            </mxswa:GetEntityProperty.TargetType>
                          </mxswa:GetEntityProperty>
                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateCondition">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="mxsq:ConditionOperator" x:Key="ConditionOperator">NotNull</InArgument>
                              <x:Null x:Key="Parameters" />
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep5_1]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep5_condition]</OutArgument>
                            </mxswa:ActivityReference.Arguments>
                          </mxswa:ActivityReference>
                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionBranch, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionBranchStep5">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep5_condition]</InArgument>
                            </mxswa:ActivityReference.Arguments>
                            <mxswa:ActivityReference.Properties>
                              <mxswa:ActivityReference x:Key="Then" AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.Composite, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionBranchStep5">
                                <mxswa:ActivityReference.Properties>
                                  <sco:Collection x:TypeArguments="Variable" x:Key="Variables" />
                                  <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                    <Sequence DisplayName="CreateStep6: Create Phone Call ">
                                      <Sequence.Variables>
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_1" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_2" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_3" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_4" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_5" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_6" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_7" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_8" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_9" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_10" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_11" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_12" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_13" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_14" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_15" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_16" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_17" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_18" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep6_19" />
                                      </Sequence.Variables>
                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep6_localParameter#Temp&quot;)]" Value="[New Entity(&quot;phonecall&quot;)]" />
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.String, "HD Request Closure Callback for Request#&amp;#160;", "String" }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:String" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_2]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:GetEntityProperty Attribute="ticketnumber" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="incident" Value="[CreateStep6_4]">
                                        <mxswa:GetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:String" />
                                          </InArgument>
                                        </mxswa:GetEntityProperty.TargetType>
                                      </mxswa:GetEntityProperty>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">SelectFirstNonNull</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { CreateStep6_4 }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:String" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_3]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">Add</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { CreateStep6_2, CreateStep6_3 }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:String" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_1]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:SetEntityProperty Attribute="subject" Entity="[CreatedEntities(&quot;CreateStep6_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep6_1]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:String" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:GetEntityProperty Attribute="customerid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="incident" Value="[CreateStep6_6]">
                                        <mxswa:GetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityCollection" />
                                          </InArgument>
                                        </mxswa:GetEntityProperty.TargetType>
                                      </mxswa:GetEntityProperty>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">SelectFirstNonNull</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { CreateStep6_6 }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityCollection" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_5]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:SetEntityProperty Attribute="to" Entity="[CreatedEntities(&quot;CreateStep6_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep6_5]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityCollection" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:GetEntityProperty Attribute="vhacrm_callbacknumber_text" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="incident" Value="[CreateStep6_8]">
                                        <mxswa:GetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:String" />
                                          </InArgument>
                                        </mxswa:GetEntityProperty.TargetType>
                                      </mxswa:GetEntityProperty>
                                      <mxswa:GetEntityProperty Attribute="telephone1" Entity="[InputEntities(&quot;related_customerid#contact&quot;)]" EntityName="contact" Value="[CreateStep6_9]">
                                        <mxswa:GetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:String" />
                                          </InArgument>
                                        </mxswa:GetEntityProperty.TargetType>
                                      </mxswa:GetEntityProperty>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">SelectFirstNonNull</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { CreateStep6_8, CreateStep6_9 }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:String" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_7]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:SetEntityProperty Attribute="phonenumber" Entity="[CreatedEntities(&quot;CreateStep6_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep6_7]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:String" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.Boolean, "True" }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Boolean" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_10]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:SetEntityProperty Attribute="directioncode" Entity="[CreatedEntities(&quot;CreateStep6_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep6_10]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Boolean" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:GetEntityProperty Attribute="incidentid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="incident" Value="[CreateStep6_12]">
                                        <mxswa:GetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                        </mxswa:GetEntityProperty.TargetType>
                                      </mxswa:GetEntityProperty>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">SelectFirstNonNull</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { CreateStep6_12 }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_11]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:SetEntityProperty Attribute="regardingobjectid" Entity="[CreatedEntities(&quot;CreateStep6_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep6_11]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.Boolean, "False" }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Boolean" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_13]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:SetEntityProperty Attribute="leftvoicemail" Entity="[CreatedEntities(&quot;CreateStep6_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep6_13]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Boolean" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.Guid, "0cf11bb0-3bf8-e511-9419-0050568dc724", "Key" }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_15]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.EntityReference, "team", "Help Desk Tier II", CreateStep6_15, "Lookup" }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_14]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:SetEntityProperty Attribute="ownerid" Entity="[CreatedEntities(&quot;CreateStep6_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep6_14]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.OptionSetValue, "1", "Picklist" }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:OptionSetValue" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_16]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:SetEntityProperty Attribute="prioritycode" Entity="[CreatedEntities(&quot;CreateStep6_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep6_16]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:OptionSetValue" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.Integer, "1" }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Int32" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_17]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:SetEntityProperty Attribute="vhacrm_attempt_number" Entity="[CreatedEntities(&quot;CreateStep6_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep6_17]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Int32" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.OptionSetValue, "713770001", "Picklist" }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:OptionSetValue" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_19]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">SelectFirstNonNull</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { CreateStep6_19 }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:OptionSetValue" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep6_18]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:SetEntityProperty Attribute="vhacrm_type_code" Entity="[CreatedEntities(&quot;CreateStep6_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep6_18]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:OptionSetValue" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:CreateEntity EntityId="{x:Null}" DisplayName="CreateStep6: Create Phone Call " Entity="[CreatedEntities(&quot;CreateStep6_localParameter#Temp&quot;)]" EntityName="phonecall" />
                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep6_localParameter&quot;)]" Value="[CreatedEntities(&quot;CreateStep6_localParameter#Temp&quot;)]" />
                                      <Persist />
                                    </Sequence>
                                    <Sequence DisplayName="CreateStep7: Route Phone Call to the Callback Queue">
                                      <Sequence.Variables>
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep7_1" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep7_2" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep7_3" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep7_4" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep7_5" />
                                        <Variable x:TypeArguments="x:Object" Name="CreateStep7_6" />
                                      </Sequence.Variables>
                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep7_localParameter#Temp&quot;)]" Value="[New Entity(&quot;queueitem&quot;)]" />
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.Guid, "70e94b1f-0dfc-e511-9419-0050568dc724", "Key" }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep7_2]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.EntityReference, "queue", "Callback Queue", CreateStep7_2, "Lookup" }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep7_1]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:SetEntityProperty Attribute="queueid" Entity="[CreatedEntities(&quot;CreateStep7_localParameter#Temp&quot;)]" EntityName="queueitem" Value="[CreateStep7_1]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:GetEntityProperty Attribute="activityid" Entity="[CreatedEntities(&quot;CreateStep6_localParameter&quot;)]" EntityName="phonecall" Value="[CreateStep7_4]">
                                        <mxswa:GetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                        </mxswa:GetEntityProperty.TargetType>
                                      </mxswa:GetEntityProperty>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">SelectFirstNonNull</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { CreateStep7_4 }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep7_3]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:SetEntityProperty Attribute="objectid" Entity="[CreatedEntities(&quot;CreateStep7_localParameter#Temp&quot;)]" EntityName="queueitem" Value="[CreateStep7_3]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.Guid, "a76c3ba1-8f01-e611-811e-127b25dcbde7", "UniqueIdentifier" }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep7_6]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateExpression, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateExpression">
                                        <mxswa:ActivityReference.Arguments>
                                          <InArgument x:TypeArguments="x:String" x:Key="ExpressionOperator">CreateCrmType</InArgument>
                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.EntityReference, "transactioncurrency", "US Dollar", CreateStep7_6, "Lookup" }]</InArgument>
                                          <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                          <OutArgument x:TypeArguments="x:Object" x:Key="Result">[CreateStep7_5]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <mxswa:SetEntityProperty Attribute="transactioncurrencyid" Entity="[CreatedEntities(&quot;CreateStep7_localParameter#Temp&quot;)]" EntityName="queueitem" Value="[CreateStep7_5]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:EntityReference" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:CreateEntity EntityId="{x:Null}" DisplayName="CreateStep7: Route Phone Call to the Callback Queue" Entity="[CreatedEntities(&quot;CreateStep7_localParameter#Temp&quot;)]" EntityName="queueitem" />
                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep7_localParameter&quot;)]" Value="[CreatedEntities(&quot;CreateStep7_localParameter#Temp&quot;)]" />
                                      <Persist />
                                    </Sequence>
                                  </sco:Collection>
                                </mxswa:ActivityReference.Properties>
                              </mxswa:ActivityReference>
                              <x:Null x:Key="Else" />
                            </mxswa:ActivityReference.Properties>
                          </mxswa:ActivityReference>
                        </sco:Collection>
                      </mxswa:ActivityReference.Properties>
                    </mxswa:ActivityReference>
                  </sco:Collection>
                </mxswa:ActivityReference.Properties>
              </mxswa:ActivityReference>
              <x:Null x:Key="Else" />
            </mxswa:ActivityReference.Properties>
          </mxswa:ActivityReference>
        </sco:Collection>
      </mxswa:ActivityReference.Properties>
    </mxswa:ActivityReference>
  </mxswa:Workflow>
</Activity>