<Activity x:Class="XrmWorkflowba1fb9b663e5492092612cca790c9325" 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:XrmWorkflowba1fb9b663e5492092612cca790c9325.InputEntities>
    <InArgument x:TypeArguments="scg:IDictionary(x:String, mxs:Entity)" />
  </this:XrmWorkflowba1fb9b663e5492092612cca790c9325.InputEntities>
  <this:XrmWorkflowba1fb9b663e5492092612cca790c9325.CreatedEntities>
    <InArgument x:TypeArguments="scg:IDictionary(x:String, mxs:Entity)" />
  </this:XrmWorkflowba1fb9b663e5492092612cca790c9325.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: Make sure it is an outgoing call and regarding a campaign activity">
      <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" />
        </sco:Collection>
        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
          <mxswa:GetEntityProperty Attribute="directioncode" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" 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.Boolean, "1" }]</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">[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="activityid" Entity="[InputEntities(&quot;related_regardingobjectid#campaignactivity&quot;)]" EntityName="campaignactivity" 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.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">[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="ConditionStep25: Telephone System Error">
                      <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="ConditionBranchStep26_condition" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep26_1" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep26_2" />
                        </sco:Collection>
                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                          <mxswa:GetEntityProperty Attribute="vhacrm_outboundcalloutcome_code" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[ConditionBranchStep26_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.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, "713770000", "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">[ConditionBranchStep26_2]</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() { ConditionBranchStep26_2 }]</InArgument>
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep26_1]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep26_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="ConditionBranchStep26">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep26_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="ConditionBranchStep26">
                                <mxswa:ActivityReference.Properties>
                                  <sco:Collection x:TypeArguments="Variable" x:Key="Variables" />
                                  <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                    <Sequence DisplayName="UpdateStep53: Clear the Call Outcome Field">
                                      <Sequence.Variables>
                                        <Variable x:TypeArguments="x:Object" Name="UpdateStep53_1" />
                                      </Sequence.Variables>
                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;primaryEntity#Temp&quot;)]" Value="[New Entity(&quot;phonecall&quot;)]" />
                                      <Assign x:TypeArguments="s:Guid" To="[CreatedEntities(&quot;primaryEntity#Temp&quot;).Id]" Value="[InputEntities(&quot;primaryEntity&quot;).Id]" />
                                      <mxswa:SetEntityProperty Attribute="vhacrm_outboundcalloutcome_code" Entity="[CreatedEntities(&quot;primaryEntity#Temp&quot;)]" EntityName="phonecall" Value="[UpdateStep53_1]">
                                        <mxswa:SetEntityProperty.TargetType>
                                          <InArgument x:TypeArguments="s:Type">
                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:OptionSetValue" />
                                          </InArgument>
                                        </mxswa:SetEntityProperty.TargetType>
                                      </mxswa:SetEntityProperty>
                                      <mxswa:UpdateEntity DisplayName="UpdateStep53" Entity="[CreatedEntities(&quot;primaryEntity#Temp&quot;)]" EntityName="phonecall" />
                                      <Assign x:TypeArguments="mxs:Entity" To="[InputEntities(&quot;primaryEntity&quot;)]" Value="[CreatedEntities(&quot;primaryEntity#Temp&quot;)]" />
                                    </Sequence>
                                    <mxswa:SetState DisplayName="SetStateStep50: Change status to retry" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityId="[InputEntities(&quot;primaryEntity&quot;).Id]" EntityName="phonecall">
                                      <mxswa:SetState.State>
                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="0" />
                                          </mxswa:ReferenceLiteral>
                                        </InArgument>
                                      </mxswa:SetState.State>
                                      <mxswa:SetState.Status>
                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="713770005" />
                                          </mxswa:ReferenceLiteral>
                                        </InArgument>
                                      </mxswa:SetState.Status>
                                    </mxswa:SetState>
                                    <Sequence DisplayName="StopWorkflowStep51: End Workflow - Succeeded Telephone System Error">
                                      <Sequence.Variables>
                                        <Variable x:TypeArguments="x:Object" Name="StopWorkflowStep51_1" />
                                        <Variable x:TypeArguments="x:String" Default="7aededcf-a071-4d55-8e1d-185020c66369" Name="stepLabelLabelId" />
                                        <Variable x:TypeArguments="x:String" Name="stepLabelDescription">
                                          <Variable.Default>
                                            <Literal x:TypeArguments="x:String" Value="" />
                                          </Variable.Default>
                                        </Variable>
                                        <Variable x:TypeArguments="x:Int32" Default="1033" Name="stepLabelLanguageCode" />
                                      </Sequence.Variables>
                                      <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, "", "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">[StopWorkflowStep51_1]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <TerminateWorkflow DisplayName="StopWorkflowStep51: End Workflow - Succeeded Telephone System Error" Exception="[New Microsoft.Xrm.Sdk.InvalidPluginExecutionException(Microsoft.Xrm.Sdk.OperationStatus.Succeeded)]" Reason="[DirectCast(StopWorkflowStep51_1, System.String)]" />
                                    </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>
                    <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionSequence, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionStep37: Number Disconnected or Wrong Number">
                      <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="ConditionBranchStep38_condition" />
                          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep38_1" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep38_2" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep38_3" />
                          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep38_4" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep38_5" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep38_6" />
                        </sco:Collection>
                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                          <mxswa:GetEntityProperty Attribute="vhacrm_outboundcalloutcome_code" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[ConditionBranchStep38_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, "713770005", "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">[ConditionBranchStep38_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() { ConditionBranchStep38_3 }]</InArgument>
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep38_2]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep38_1]</OutArgument>
                            </mxswa:ActivityReference.Arguments>
                          </mxswa:ActivityReference>
                          <mxswa:GetEntityProperty Attribute="vhacrm_outboundcalloutcome_code" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[ConditionBranchStep38_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.OptionSetValue, "713770007", "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">[ConditionBranchStep38_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() { ConditionBranchStep38_6 }]</InArgument>
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep38_5]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep38_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">Or</InArgument>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="LeftOperand">[ConditionBranchStep38_1]</InArgument>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="RightOperand">[ConditionBranchStep38_4]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep38_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="ConditionBranchStep38">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep38_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="ConditionBranchStep38">
                                <mxswa:ActivityReference.Properties>
                                  <sco:Collection x:TypeArguments="Variable" x:Key="Variables" />
                                  <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                    <mxswa:SetState DisplayName="SetStateStep39: Complete as Negative Attempt" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityId="[InputEntities(&quot;primaryEntity&quot;).Id]" EntityName="phonecall">
                                      <mxswa:SetState.State>
                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="1" />
                                          </mxswa:ReferenceLiteral>
                                        </InArgument>
                                      </mxswa:SetState.State>
                                      <mxswa:SetState.Status>
                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="713770004" />
                                          </mxswa:ReferenceLiteral>
                                        </InArgument>
                                      </mxswa:SetState.Status>
                                    </mxswa:SetState>
                                    <Sequence DisplayName="StopWorkflowStep40: End Workflow Succeeded - Number Disconnected">
                                      <Sequence.Variables>
                                        <Variable x:TypeArguments="x:Object" Name="StopWorkflowStep40_1" />
                                        <Variable x:TypeArguments="x:String" Default="a59a7410-5563-49a2-9f08-e94374051cee" Name="stepLabelLabelId" />
                                        <Variable x:TypeArguments="x:String" Default="Succeeded - Number Disconnected" Name="stepLabelDescription" />
                                        <Variable x:TypeArguments="x:Int32" Default="1033" Name="stepLabelLanguageCode" />
                                      </Sequence.Variables>
                                      <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, "Succeeded - Number Disconnected", "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">[StopWorkflowStep40_1]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <TerminateWorkflow DisplayName="StopWorkflowStep40: End Workflow Succeeded - Number Disconnected" Exception="[New Microsoft.Xrm.Sdk.InvalidPluginExecutionException(Microsoft.Xrm.Sdk.OperationStatus.Succeeded)]" Reason="[DirectCast(StopWorkflowStep40_1, System.String)]" />
                                    </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>
                    <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionSequence, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionStep41: No Answer">
                      <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="ConditionBranchStep42_condition" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep42_1" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep42_2" />
                        </sco:Collection>
                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                          <mxswa:GetEntityProperty Attribute="vhacrm_outboundcalloutcome_code" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[ConditionBranchStep42_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.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, "713770002", "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">[ConditionBranchStep42_2]</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() { ConditionBranchStep42_2 }]</InArgument>
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep42_1]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep42_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="ConditionBranchStep42">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep42_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="ConditionBranchStep42">
                                <mxswa:ActivityReference.Properties>
                                  <sco:Collection x:TypeArguments="Variable" x:Key="Variables" />
                                  <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                    <mxswa:SetState DisplayName="SetStateStep43: Complete as Negative Attempt" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityId="[InputEntities(&quot;primaryEntity&quot;).Id]" EntityName="phonecall">
                                      <mxswa:SetState.State>
                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="1" />
                                          </mxswa:ReferenceLiteral>
                                        </InArgument>
                                      </mxswa:SetState.State>
                                      <mxswa:SetState.Status>
                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="713770004" />
                                          </mxswa:ReferenceLiteral>
                                        </InArgument>
                                      </mxswa:SetState.Status>
                                    </mxswa:SetState>
                                    <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionSequence, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionStep44: Check if max attempts has been reached.">
                                      <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="ConditionBranchStep45_condition" />
                                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep45_1" />
                                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep45_2" />
                                        </sco:Collection>
                                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                          <mxswa:GetEntityProperty Attribute="vhacrm_attempt_number" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[ConditionBranchStep45_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:GetEntityProperty Attribute="vhacrm_attempts_number" Entity="[InputEntities(&quot;related_regardingobjectid#campaignactivity&quot;)]" EntityName="campaignactivity" Value="[ConditionBranchStep45_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">LessThan</InArgument>
                                              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { ConditionBranchStep45_2 }]</InArgument>
                                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep45_1]</InArgument>
                                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep45_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="ConditionBranchStep45">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep45_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="ConditionBranchStep45">
                                                <mxswa:ActivityReference.Properties>
                                                  <sco:Collection x:TypeArguments="Variable" x:Key="Variables" />
                                                  <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                                    <Sequence DisplayName="CreateStep46: Create Next Phone Call">
                                                      <Sequence.Variables>
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_1" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_2" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_3" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_4" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_5" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_6" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_7" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_8" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_9" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_10" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_11" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_12" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_13" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_14" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_15" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_16" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_17" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_18" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_19" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_20" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_21" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_22" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_23" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_24" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_25" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_26" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep46_27" />
                                                      </Sequence.Variables>
                                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep46_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.OptionSetValue, "713770000", "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">[CreateStep46_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">SelectFirstNonNull</InArgument>
                                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { CreateStep46_2 }]</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">[CreateStep46_1]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="vhacrm_type_code" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_1]">
                                                        <mxswa:SetEntityProperty.TargetType>
                                                          <InArgument x:TypeArguments="s:Type">
                                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:OptionSetValue" />
                                                          </InArgument>
                                                        </mxswa:SetEntityProperty.TargetType>
                                                      </mxswa:SetEntityProperty>
                                                      <mxswa:GetEntityProperty Attribute="subject" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep46_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() { CreateStep46_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">[CreateStep46_3]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="subject" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_3]">
                                                        <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="to" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep46_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() { CreateStep46_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">[CreateStep46_5]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="to" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_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="phonenumber" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep46_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: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() { CreateStep46_8 }]</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">[CreateStep46_7]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="phonenumber" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_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:GetEntityProperty Attribute="from" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep46_10]">
                                                        <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() { CreateStep46_10 }]</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">[CreateStep46_9]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="from" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_9]">
                                                        <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_facilityid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep46_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() { CreateStep46_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">[CreateStep46_11]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="vhacrm_facilityid" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_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:GetEntityProperty Attribute="vhacrm_preferredfacility_text" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep46_14]">
                                                        <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() { CreateStep46_14 }]</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">[CreateStep46_13]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="vhacrm_preferredfacility_text" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_13]">
                                                        <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="regardingobjectid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep46_16]">
                                                        <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() { CreateStep46_16 }]</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">[CreateStep46_15]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="regardingobjectid" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_15]">
                                                        <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="ownerid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep46_18]">
                                                        <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() { CreateStep46_18 }]</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">[CreateStep46_17]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="ownerid" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_17]">
                                                        <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="vhacrm_veteranid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep46_20]">
                                                        <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() { CreateStep46_20 }]</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">[CreateStep46_19]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="vhacrm_veteranid" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_19]">
                                                        <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, "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">[CreateStep46_21]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="directioncode" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_21]">
                                                        <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.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">[CreateStep46_22]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="leftvoicemail" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_22]">
                                                        <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.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">[CreateStep46_23]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="prioritycode" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_23]">
                                                        <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.Guid, "a76c3ba1-8f01-e611-811e-127b25dcbde7", "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">[CreateStep46_25]</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", CreateStep46_25, "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">[CreateStep46_24]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="transactioncurrencyid" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_24]">
                                                        <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="vhacrm_attempt_number" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep46_27]">
                                                        <mxswa:GetEntityProperty.TargetType>
                                                          <InArgument x:TypeArguments="s:Type">
                                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Int32" />
                                                          </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() { CreateStep46_27 }]</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">[CreateStep46_26]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="vhacrm_attempt_number" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep46_26]">
                                                        <mxswa:SetEntityProperty.TargetType>
                                                          <InArgument x:TypeArguments="s:Type">
                                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Int32" />
                                                          </InArgument>
                                                        </mxswa:SetEntityProperty.TargetType>
                                                      </mxswa:SetEntityProperty>
                                                      <mxswa:CreateEntity EntityId="{x:Null}" DisplayName="CreateStep46: Create Next Phone Call" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" />
                                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep46_localParameter&quot;)]" Value="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" />
                                                    </Sequence>
                                                    <Sequence DisplayName="UpdateStep52: Increment attempt">
                                                      <Sequence.Variables>
                                                        <Variable x:TypeArguments="x:Object" Name="UpdateStep52_1" />
                                                        <Variable x:TypeArguments="x:Object" Name="UpdateStep52_2" />
                                                        <Variable x:TypeArguments="x:Object" Name="UpdateStep52_3" />
                                                        <Variable x:TypeArguments="x:Object" Name="UpdateStep52_4" />
                                                        <Variable x:TypeArguments="x:Object" Name="UpdateStep52_5" />
                                                      </Sequence.Variables>
                                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" Value="[New Entity(&quot;phonecall&quot;)]" />
                                                      <Assign x:TypeArguments="s:Guid" To="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;).Id]" Value="[CreatedEntities(&quot;CreateStep46_localParameter&quot;).Id]" />
                                                      <mxswa:GetEntityProperty Attribute="vhacrm_attempt_number" Entity="[CreatedEntities(&quot;CreateStep46_localParameter&quot;)]" EntityName="phonecall" Value="[UpdateStep52_3]">
                                                        <mxswa:GetEntityProperty.TargetType>
                                                          <InArgument x:TypeArguments="s:Type">
                                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Int32" />
                                                          </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() { UpdateStep52_3 }]</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">[UpdateStep52_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.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">[UpdateStep52_5]</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() { UpdateStep52_5 }]</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">[UpdateStep52_4]</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() { UpdateStep52_2, UpdateStep52_4 }]</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">[UpdateStep52_1]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="vhacrm_attempt_number" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[UpdateStep52_1]">
                                                        <mxswa:SetEntityProperty.TargetType>
                                                          <InArgument x:TypeArguments="s:Type">
                                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Int32" />
                                                          </InArgument>
                                                        </mxswa:SetEntityProperty.TargetType>
                                                      </mxswa:SetEntityProperty>
                                                      <mxswa:UpdateEntity DisplayName="UpdateStep52" Entity="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" EntityName="phonecall" />
                                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep46_localParameter&quot;)]" Value="[CreatedEntities(&quot;CreateStep46_localParameter#Temp&quot;)]" />
                                                    </Sequence>
                                                    <Sequence DisplayName="StopWorkflowStep54: End Workflow - Succeeded No Answer">
                                                      <Sequence.Variables>
                                                        <Variable x:TypeArguments="x:Object" Name="StopWorkflowStep54_1" />
                                                        <Variable x:TypeArguments="x:String" Default="cf838446-a55c-4421-ac5f-22e115deef32" Name="stepLabelLabelId" />
                                                        <Variable x:TypeArguments="x:String" Default="Succeeded No Answer" Name="stepLabelDescription" />
                                                        <Variable x:TypeArguments="x:Int32" Default="1033" Name="stepLabelLanguageCode" />
                                                      </Sequence.Variables>
                                                      <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, "Succeeded No Answer", "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">[StopWorkflowStep54_1]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <TerminateWorkflow DisplayName="StopWorkflowStep54: End Workflow - Succeeded No Answer" Exception="[New Microsoft.Xrm.Sdk.InvalidPluginExecutionException(Microsoft.Xrm.Sdk.OperationStatus.Succeeded)]" Reason="[DirectCast(StopWorkflowStep54_1, System.String)]" />
                                                    </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:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionSequence, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionStep55: Call Disconnected">
                      <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="ConditionBranchStep56_condition" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep56_1" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep56_2" />
                        </sco:Collection>
                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                          <mxswa:GetEntityProperty Attribute="vhacrm_outboundcalloutcome_code" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[ConditionBranchStep56_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.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, "713770006", "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">[ConditionBranchStep56_2]</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() { ConditionBranchStep56_2 }]</InArgument>
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep56_1]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep56_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="ConditionBranchStep56">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep56_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="ConditionBranchStep56">
                                <mxswa:ActivityReference.Properties>
                                  <sco:Collection x:TypeArguments="Variable" x:Key="Variables" />
                                  <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                    <mxswa:SetState DisplayName="SetStateStep57: Complete as Negative Attempt" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityId="[InputEntities(&quot;primaryEntity&quot;).Id]" EntityName="phonecall">
                                      <mxswa:SetState.State>
                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="1" />
                                          </mxswa:ReferenceLiteral>
                                        </InArgument>
                                      </mxswa:SetState.State>
                                      <mxswa:SetState.Status>
                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="713770004" />
                                          </mxswa:ReferenceLiteral>
                                        </InArgument>
                                      </mxswa:SetState.Status>
                                    </mxswa:SetState>
                                    <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionSequence, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionStep58: Check if max attempts has been reached.">
                                      <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="ConditionBranchStep59_condition" />
                                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep59_1" />
                                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep59_2" />
                                        </sco:Collection>
                                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                          <mxswa:GetEntityProperty Attribute="vhacrm_attempt_number" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[ConditionBranchStep59_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:GetEntityProperty Attribute="vhacrm_attempts_number" Entity="[InputEntities(&quot;related_regardingobjectid#campaignactivity&quot;)]" EntityName="campaignactivity" Value="[ConditionBranchStep59_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">LessThan</InArgument>
                                              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { ConditionBranchStep59_2 }]</InArgument>
                                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep59_1]</InArgument>
                                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep59_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="ConditionBranchStep59">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep59_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="ConditionBranchStep59">
                                                <mxswa:ActivityReference.Properties>
                                                  <sco:Collection x:TypeArguments="Variable" x:Key="Variables" />
                                                  <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                                    <Sequence DisplayName="CreateStep60: Create Next Phone Call">
                                                      <Sequence.Variables>
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_1" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_2" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_3" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_4" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_5" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_6" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_7" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_8" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_9" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_10" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_11" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_12" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_13" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_14" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_15" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_16" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_17" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_18" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_19" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_20" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_21" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_22" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_23" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_24" />
                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep60_25" />
                                                      </Sequence.Variables>
                                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep60_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.OptionSetValue, "713770000", "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">[CreateStep60_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">SelectFirstNonNull</InArgument>
                                                          <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { CreateStep60_2 }]</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">[CreateStep60_1]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="vhacrm_type_code" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_1]">
                                                        <mxswa:SetEntityProperty.TargetType>
                                                          <InArgument x:TypeArguments="s:Type">
                                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:OptionSetValue" />
                                                          </InArgument>
                                                        </mxswa:SetEntityProperty.TargetType>
                                                      </mxswa:SetEntityProperty>
                                                      <mxswa:GetEntityProperty Attribute="subject" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep60_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() { CreateStep60_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">[CreateStep60_3]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="subject" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_3]">
                                                        <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="to" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep60_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() { CreateStep60_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">[CreateStep60_5]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="to" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_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="phonenumber" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep60_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: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() { CreateStep60_8 }]</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">[CreateStep60_7]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="phonenumber" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_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:GetEntityProperty Attribute="from" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep60_10]">
                                                        <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() { CreateStep60_10 }]</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">[CreateStep60_9]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="from" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_9]">
                                                        <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_facilityid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep60_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() { CreateStep60_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">[CreateStep60_11]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="vhacrm_facilityid" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_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:GetEntityProperty Attribute="vhacrm_preferredfacility_text" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep60_14]">
                                                        <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() { CreateStep60_14 }]</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">[CreateStep60_13]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="vhacrm_preferredfacility_text" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_13]">
                                                        <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="regardingobjectid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep60_16]">
                                                        <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() { CreateStep60_16 }]</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">[CreateStep60_15]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="regardingobjectid" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_15]">
                                                        <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="vhacrm_veteranid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep60_18]">
                                                        <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() { CreateStep60_18 }]</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">[CreateStep60_17]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="vhacrm_veteranid" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_17]">
                                                        <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, "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">[CreateStep60_19]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="directioncode" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_19]">
                                                        <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.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">[CreateStep60_20]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="leftvoicemail" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_20]">
                                                        <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.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">[CreateStep60_21]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="prioritycode" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_21]">
                                                        <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.Guid, "a76c3ba1-8f01-e611-811e-127b25dcbde7", "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">[CreateStep60_23]</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", CreateStep60_23, "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">[CreateStep60_22]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="transactioncurrencyid" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_22]">
                                                        <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="vhacrm_attempt_number" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep60_25]">
                                                        <mxswa:GetEntityProperty.TargetType>
                                                          <InArgument x:TypeArguments="s:Type">
                                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Int32" />
                                                          </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() { CreateStep60_25 }]</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">[CreateStep60_24]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="vhacrm_attempt_number" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep60_24]">
                                                        <mxswa:SetEntityProperty.TargetType>
                                                          <InArgument x:TypeArguments="s:Type">
                                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Int32" />
                                                          </InArgument>
                                                        </mxswa:SetEntityProperty.TargetType>
                                                      </mxswa:SetEntityProperty>
                                                      <mxswa:CreateEntity EntityId="{x:Null}" DisplayName="CreateStep60: Create Next Phone Call" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" />
                                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep60_localParameter&quot;)]" Value="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" />
                                                    </Sequence>
                                                    <Sequence DisplayName="UpdateStep80: Increment Attempt">
                                                      <Sequence.Variables>
                                                        <Variable x:TypeArguments="x:Object" Name="UpdateStep80_1" />
                                                        <Variable x:TypeArguments="x:Object" Name="UpdateStep80_2" />
                                                        <Variable x:TypeArguments="x:Object" Name="UpdateStep80_3" />
                                                        <Variable x:TypeArguments="x:Object" Name="UpdateStep80_4" />
                                                        <Variable x:TypeArguments="x:Object" Name="UpdateStep80_5" />
                                                      </Sequence.Variables>
                                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" Value="[New Entity(&quot;phonecall&quot;)]" />
                                                      <Assign x:TypeArguments="s:Guid" To="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;).Id]" Value="[CreatedEntities(&quot;CreateStep60_localParameter&quot;).Id]" />
                                                      <mxswa:GetEntityProperty Attribute="vhacrm_attempt_number" Entity="[CreatedEntities(&quot;CreateStep60_localParameter&quot;)]" EntityName="phonecall" Value="[UpdateStep80_3]">
                                                        <mxswa:GetEntityProperty.TargetType>
                                                          <InArgument x:TypeArguments="s:Type">
                                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Int32" />
                                                          </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() { UpdateStep80_3 }]</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">[UpdateStep80_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.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">[UpdateStep80_5]</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() { UpdateStep80_5 }]</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">[UpdateStep80_4]</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() { UpdateStep80_2, UpdateStep80_4 }]</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">[UpdateStep80_1]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <mxswa:SetEntityProperty Attribute="vhacrm_attempt_number" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[UpdateStep80_1]">
                                                        <mxswa:SetEntityProperty.TargetType>
                                                          <InArgument x:TypeArguments="s:Type">
                                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Int32" />
                                                          </InArgument>
                                                        </mxswa:SetEntityProperty.TargetType>
                                                      </mxswa:SetEntityProperty>
                                                      <mxswa:UpdateEntity DisplayName="UpdateStep80" Entity="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" EntityName="phonecall" />
                                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep60_localParameter&quot;)]" Value="[CreatedEntities(&quot;CreateStep60_localParameter#Temp&quot;)]" />
                                                    </Sequence>
                                                    <Sequence DisplayName="StopWorkflowStep61: End Workflow - Succeeded Call Disconnected">
                                                      <Sequence.Variables>
                                                        <Variable x:TypeArguments="x:Object" Name="StopWorkflowStep61_1" />
                                                        <Variable x:TypeArguments="x:String" Default="719feb1a-ece4-4d2d-83cf-0980cf51c1a5" Name="stepLabelLabelId" />
                                                        <Variable x:TypeArguments="x:String" Default="Succeeded Call Disconnected" Name="stepLabelDescription" />
                                                        <Variable x:TypeArguments="x:Int32" Default="1033" Name="stepLabelLanguageCode" />
                                                      </Sequence.Variables>
                                                      <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, "Succeeded Call Disconnected", "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">[StopWorkflowStep61_1]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <TerminateWorkflow DisplayName="StopWorkflowStep61: End Workflow - Succeeded Call Disconnected" Exception="[New Microsoft.Xrm.Sdk.InvalidPluginExecutionException(Microsoft.Xrm.Sdk.OperationStatus.Succeeded)]" Reason="[DirectCast(StopWorkflowStep61_1, System.String)]" />
                                                    </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:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionSequence, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionStep62: Call Outcome Not Required">
                      <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="ConditionBranchStep63_condition" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep63_1" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep63_2" />
                        </sco:Collection>
                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                          <mxswa:GetEntityProperty Attribute="vhacrm_outboundcalloutcome_code" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[ConditionBranchStep63_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.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, "713770008", "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">[ConditionBranchStep63_2]</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() { ConditionBranchStep63_2 }]</InArgument>
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep63_1]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep63_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="ConditionBranchStep63">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep63_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="ConditionBranchStep63">
                                <mxswa:ActivityReference.Properties>
                                  <sco:Collection x:TypeArguments="Variable" x:Key="Variables" />
                                  <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                    <mxswa:SetState DisplayName="SetStateStep64: Set Phone Call to Canceled" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityId="[InputEntities(&quot;primaryEntity&quot;).Id]" EntityName="phonecall">
                                      <mxswa:SetState.State>
                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="2" />
                                          </mxswa:ReferenceLiteral>
                                        </InArgument>
                                      </mxswa:SetState.State>
                                      <mxswa:SetState.Status>
                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="3" />
                                          </mxswa:ReferenceLiteral>
                                        </InArgument>
                                      </mxswa:SetState.Status>
                                    </mxswa:SetState>
                                    <Sequence DisplayName="StopWorkflowStep65: End Workflow - Succeeded Not Required">
                                      <Sequence.Variables>
                                        <Variable x:TypeArguments="x:Object" Name="StopWorkflowStep65_1" />
                                        <Variable x:TypeArguments="x:String" Default="e654aaa6-ec57-4f33-80a0-78db9fe6fd2a" Name="stepLabelLabelId" />
                                        <Variable x:TypeArguments="x:String" Name="stepLabelDescription">
                                          <Variable.Default>
                                            <Literal x:TypeArguments="x:String" Value="" />
                                          </Variable.Default>
                                        </Variable>
                                        <Variable x:TypeArguments="x:Int32" Default="1033" Name="stepLabelLanguageCode" />
                                      </Sequence.Variables>
                                      <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, "", "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">[StopWorkflowStep65_1]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <TerminateWorkflow DisplayName="StopWorkflowStep65: End Workflow - Succeeded Not Required" Exception="[New Microsoft.Xrm.Sdk.InvalidPluginExecutionException(Microsoft.Xrm.Sdk.OperationStatus.Succeeded)]" Reason="[DirectCast(StopWorkflowStep65_1, System.String)]" />
                                    </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>
                    <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionSequence, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionStep66: Left Message">
                      <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="ConditionBranchStep67_condition" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep67_1" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep67_2" />
                        </sco:Collection>
                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                          <mxswa:GetEntityProperty Attribute="vhacrm_outboundcalloutcome_code" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[ConditionBranchStep67_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.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, "713770003", "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">[ConditionBranchStep67_2]</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() { ConditionBranchStep67_2 }]</InArgument>
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep67_1]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep67_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="ConditionBranchStep67">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep67_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="ConditionBranchStep67">
                                <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="ConditionStep68: If Voicemail is a positive attempt">
                                      <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="ConditionBranchStep69_condition" />
                                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep69_1" />
                                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep69_2" />
                                        </sco:Collection>
                                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                          <mxswa:GetEntityProperty Attribute="vhacrm_isvoicemailpositiveattempt_bool" Entity="[InputEntities(&quot;related_regardingobjectid#campaignactivity&quot;)]" EntityName="campaignactivity" Value="[ConditionBranchStep69_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.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, "1" }]</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">[ConditionBranchStep69_2]</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() { ConditionBranchStep69_2 }]</InArgument>
                                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep69_1]</InArgument>
                                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep69_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="ConditionBranchStep69">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep69_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="ConditionBranchStep69">
                                                <mxswa:ActivityReference.Properties>
                                                  <sco:Collection x:TypeArguments="Variable" x:Key="Variables" />
                                                  <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                                    <mxswa:SetState DisplayName="SetStateStep70: Complete as Positive Attempt" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityId="[InputEntities(&quot;primaryEntity&quot;).Id]" EntityName="phonecall">
                                                      <mxswa:SetState.State>
                                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="1" />
                                                          </mxswa:ReferenceLiteral>
                                                        </InArgument>
                                                      </mxswa:SetState.State>
                                                      <mxswa:SetState.Status>
                                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="713770003" />
                                                          </mxswa:ReferenceLiteral>
                                                        </InArgument>
                                                      </mxswa:SetState.Status>
                                                    </mxswa:SetState>
                                                    <Sequence DisplayName="StopWorkflowStep79: End Workflow - Succeeded">
                                                      <Sequence.Variables>
                                                        <Variable x:TypeArguments="x:Object" Name="StopWorkflowStep79_1" />
                                                        <Variable x:TypeArguments="x:String" Default="0887334b-9257-4e57-8a1e-a7342799a791" Name="stepLabelLabelId" />
                                                        <Variable x:TypeArguments="x:String" Name="stepLabelDescription">
                                                          <Variable.Default>
                                                            <Literal x:TypeArguments="x:String" Value="" />
                                                          </Variable.Default>
                                                        </Variable>
                                                        <Variable x:TypeArguments="x:Int32" Default="1033" Name="stepLabelLanguageCode" />
                                                      </Sequence.Variables>
                                                      <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, "", "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">[StopWorkflowStep79_1]</OutArgument>
                                                        </mxswa:ActivityReference.Arguments>
                                                      </mxswa:ActivityReference>
                                                      <TerminateWorkflow DisplayName="StopWorkflowStep79: End Workflow - Succeeded" Exception="[New Microsoft.Xrm.Sdk.InvalidPluginExecutionException(Microsoft.Xrm.Sdk.OperationStatus.Succeeded)]" Reason="[DirectCast(StopWorkflowStep79_1, System.String)]" />
                                                    </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>
                                    <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionSequence, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionStep71: If Voicemail is a negative attempt">
                                      <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="ConditionBranchStep72_condition" />
                                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep72_1" />
                                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep72_2" />
                                        </sco:Collection>
                                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                          <mxswa:GetEntityProperty Attribute="vhacrm_isvoicemailpositiveattempt_bool" Entity="[InputEntities(&quot;related_regardingobjectid#campaignactivity&quot;)]" EntityName="campaignactivity" Value="[ConditionBranchStep72_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.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, "0" }]</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">[ConditionBranchStep72_2]</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() { ConditionBranchStep72_2 }]</InArgument>
                                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep72_1]</InArgument>
                                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep72_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="ConditionBranchStep72">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep72_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="ConditionBranchStep72">
                                                <mxswa:ActivityReference.Properties>
                                                  <sco:Collection x:TypeArguments="Variable" x:Key="Variables" />
                                                  <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                                    <mxswa:SetState DisplayName="SetStateStep73: Complete as Negative Attempt" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityId="[InputEntities(&quot;primaryEntity&quot;).Id]" EntityName="phonecall">
                                                      <mxswa:SetState.State>
                                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="1" />
                                                          </mxswa:ReferenceLiteral>
                                                        </InArgument>
                                                      </mxswa:SetState.State>
                                                      <mxswa:SetState.Status>
                                                        <InArgument x:TypeArguments="mxs:OptionSetValue">
                                                          <mxswa:ReferenceLiteral x:TypeArguments="mxs:OptionSetValue">
                                                            <mxs:OptionSetValue ExtensionData="{x:Null}" Value="713770004" />
                                                          </mxswa:ReferenceLiteral>
                                                        </InArgument>
                                                      </mxswa:SetState.Status>
                                                    </mxswa:SetState>
                                                    <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionSequence, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionStep74: Check if max attempts has been reached.">
                                                      <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="ConditionBranchStep75_condition" />
                                                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep75_1" />
                                                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep75_2" />
                                                        </sco:Collection>
                                                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                                          <mxswa:GetEntityProperty Attribute="vhacrm_attempt_number" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[ConditionBranchStep75_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:GetEntityProperty Attribute="vhacrm_attempts_number" Entity="[InputEntities(&quot;related_regardingobjectid#campaignactivity&quot;)]" EntityName="campaignactivity" Value="[ConditionBranchStep75_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">LessThan</InArgument>
                                                              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { ConditionBranchStep75_2 }]</InArgument>
                                                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep75_1]</InArgument>
                                                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep75_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="ConditionBranchStep75">
                                                            <mxswa:ActivityReference.Arguments>
                                                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep75_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="ConditionBranchStep75">
                                                                <mxswa:ActivityReference.Properties>
                                                                  <sco:Collection x:TypeArguments="Variable" x:Key="Variables" />
                                                                  <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                                                    <Sequence DisplayName="CreateStep76: Create Next Phone Call">
                                                                      <Sequence.Variables>
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_1" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_2" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_3" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_4" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_5" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_6" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_7" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_8" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_9" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_10" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_11" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_12" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_13" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_14" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_15" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_16" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_17" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_18" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_19" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_20" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_21" />
                                                                        <Variable x:TypeArguments="x:Object" Name="CreateStep76_22" />
                                                                      </Sequence.Variables>
                                                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep76_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.OptionSetValue, "713770000", "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">[CreateStep76_1]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <mxswa:SetEntityProperty Attribute="vhacrm_type_code" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep76_1]">
                                                                        <mxswa:SetEntityProperty.TargetType>
                                                                          <InArgument x:TypeArguments="s:Type">
                                                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="mxs:OptionSetValue" />
                                                                          </InArgument>
                                                                        </mxswa:SetEntityProperty.TargetType>
                                                                      </mxswa:SetEntityProperty>
                                                                      <mxswa:GetEntityProperty Attribute="subject" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep76_3]">
                                                                        <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() { CreateStep76_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">[CreateStep76_2]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <mxswa:SetEntityProperty Attribute="subject" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep76_2]">
                                                                        <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="to" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep76_5]">
                                                                        <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() { CreateStep76_5 }]</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">[CreateStep76_4]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <mxswa:SetEntityProperty Attribute="to" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep76_4]">
                                                                        <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="phonenumber" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep76_7]">
                                                                        <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() { CreateStep76_7 }]</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">[CreateStep76_6]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <mxswa:SetEntityProperty Attribute="phonenumber" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep76_6]">
                                                                        <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="vhacrm_facilityid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep76_9]">
                                                                        <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() { CreateStep76_9 }]</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">[CreateStep76_8]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <mxswa:SetEntityProperty Attribute="vhacrm_facilityid" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep76_8]">
                                                                        <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="vhacrm_preferredfacility_text" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep76_11]">
                                                                        <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() { CreateStep76_11 }]</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">[CreateStep76_10]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <mxswa:SetEntityProperty Attribute="vhacrm_preferredfacility_text" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep76_10]">
                                                                        <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="regardingobjectid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep76_13]">
                                                                        <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() { CreateStep76_13 }]</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">[CreateStep76_12]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <mxswa:SetEntityProperty Attribute="regardingobjectid" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep76_12]">
                                                                        <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="vhacrm_veteranid" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep76_15]">
                                                                        <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() { CreateStep76_15 }]</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">[CreateStep76_14]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <mxswa:SetEntityProperty Attribute="vhacrm_veteranid" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep76_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.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">[CreateStep76_16]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <mxswa:SetEntityProperty Attribute="directioncode" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep76_16]">
                                                                        <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.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">[CreateStep76_17]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <mxswa:SetEntityProperty Attribute="leftvoicemail" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep76_17]">
                                                                        <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.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">[CreateStep76_18]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <mxswa:SetEntityProperty Attribute="prioritycode" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep76_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: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", "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">[CreateStep76_20]</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", CreateStep76_20, "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">[CreateStep76_19]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <mxswa:SetEntityProperty Attribute="transactioncurrencyid" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep76_19]">
                                                                        <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="vhacrm_attempt_number" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="phonecall" Value="[CreateStep76_22]">
                                                                        <mxswa:GetEntityProperty.TargetType>
                                                                          <InArgument x:TypeArguments="s:Type">
                                                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Int32" />
                                                                          </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() { CreateStep76_22 }]</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">[CreateStep76_21]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <mxswa:SetEntityProperty Attribute="vhacrm_attempt_number" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" Value="[CreateStep76_21]">
                                                                        <mxswa:SetEntityProperty.TargetType>
                                                                          <InArgument x:TypeArguments="s:Type">
                                                                            <mxswa:ReferenceLiteral x:TypeArguments="s:Type" Value="x:Int32" />
                                                                          </InArgument>
                                                                        </mxswa:SetEntityProperty.TargetType>
                                                                      </mxswa:SetEntityProperty>
                                                                      <mxswa:CreateEntity EntityId="{x:Null}" DisplayName="CreateStep76: Create Next Phone Call" Entity="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" EntityName="phonecall" />
                                                                      <Assign x:TypeArguments="mxs:Entity" To="[CreatedEntities(&quot;CreateStep76_localParameter&quot;)]" Value="[CreatedEntities(&quot;CreateStep76_localParameter#Temp&quot;)]" />
                                                                    </Sequence>
                                                                    <Sequence DisplayName="StopWorkflowStep77: End Workflow - Succeeded Left Message">
                                                                      <Sequence.Variables>
                                                                        <Variable x:TypeArguments="x:Object" Name="StopWorkflowStep77_1" />
                                                                        <Variable x:TypeArguments="x:String" Default="0738ee42-992b-4692-b39d-905b14911ebe" Name="stepLabelLabelId" />
                                                                        <Variable x:TypeArguments="x:String" Name="stepLabelDescription">
                                                                          <Variable.Default>
                                                                            <Literal x:TypeArguments="x:String" Value="" />
                                                                          </Variable.Default>
                                                                        </Variable>
                                                                        <Variable x:TypeArguments="x:Int32" Default="1033" Name="stepLabelLanguageCode" />
                                                                      </Sequence.Variables>
                                                                      <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, "", "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">[StopWorkflowStep77_1]</OutArgument>
                                                                        </mxswa:ActivityReference.Arguments>
                                                                      </mxswa:ActivityReference>
                                                                      <TerminateWorkflow DisplayName="StopWorkflowStep77: End Workflow - Succeeded Left Message" Exception="[New Microsoft.Xrm.Sdk.InvalidPluginExecutionException(Microsoft.Xrm.Sdk.OperationStatus.Succeeded)]" Reason="[DirectCast(StopWorkflowStep77_1, System.String)]" />
                                                                    </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>
                                    <Sequence DisplayName="StopWorkflowStep78: End Workflow - Succeeded">
                                      <Sequence.Variables>
                                        <Variable x:TypeArguments="x:Object" Name="StopWorkflowStep78_1" />
                                        <Variable x:TypeArguments="x:String" Default="e66a1f01-fefd-4fa4-8468-8bf5235cc852" Name="stepLabelLabelId" />
                                        <Variable x:TypeArguments="x:String" Name="stepLabelDescription">
                                          <Variable.Default>
                                            <Literal x:TypeArguments="x:String" Value="" />
                                          </Variable.Default>
                                        </Variable>
                                        <Variable x:TypeArguments="x:Int32" Default="1033" Name="stepLabelLanguageCode" />
                                      </Sequence.Variables>
                                      <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, "", "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">[StopWorkflowStep78_1]</OutArgument>
                                        </mxswa:ActivityReference.Arguments>
                                      </mxswa:ActivityReference>
                                      <TerminateWorkflow DisplayName="StopWorkflowStep78: End Workflow - Succeeded" Exception="[New Microsoft.Xrm.Sdk.InvalidPluginExecutionException(Microsoft.Xrm.Sdk.OperationStatus.Succeeded)]" Reason="[DirectCast(StopWorkflowStep78_1, System.String)]" />
                                    </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>