<Activity x:Class="XrmWorkflowdf70f197fd1942b39e28bddb5dea0126" 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:XrmWorkflowdf70f197fd1942b39e28bddb5dea0126.InputEntities>
    <InArgument x:TypeArguments="scg:IDictionary(x:String, mxs:Entity)" />
  </this:XrmWorkflowdf70f197fd1942b39e28bddb5dea0126.InputEntities>
  <this:XrmWorkflowdf70f197fd1942b39e28bddb5dea0126.CreatedEntities>
    <InArgument x:TypeArguments="scg:IDictionary(x:String, mxs:Entity)" />
  </this:XrmWorkflowdf70f197fd1942b39e28bddb5dea0126.CreatedEntities>
  <mva:VisualBasic.Settings>Assembly references and imported namespaces for internal implementation</mva:VisualBasic.Settings>
  <mxswa:Workflow>
    <mxswa:Workflow.Variables>
      <Variable x:TypeArguments="x:String" Default="[Nothing]" Name="CustomActivityStep24ResultString_localParameter" />
      <Variable x:TypeArguments="x:Boolean" Default="False" Name="CustomActivityStep24ResultBoolean_localParameter" />
      <Variable x:TypeArguments="s:DateTime" Default="" Name="CustomActivityStep24ResultDateTime_localParameter" />
      <Variable x:TypeArguments="x:Decimal" Default="0" Name="CustomActivityStep24ResultDecimal_localParameter" />
      <Variable x:TypeArguments="x:Double" Default="0" Name="CustomActivityStep24ResultDouble_localParameter" />
      <Variable x:TypeArguments="x:Int32" Default="0" Name="CustomActivityStep24ResultInteger_localParameter" />
      <Variable x:TypeArguments="mxs:Money" Name="CustomActivityStep24ResultMoney_localParameter">
        <Variable.Default>
          <mxswa:ReferenceLiteral x:TypeArguments="mxs:Money">
            <x:Null />
          </mxswa:ReferenceLiteral>
        </Variable.Default>
      </Variable>
      <Variable x:TypeArguments="x:String" Default="[Nothing]" Name="CustomActivityStep25ResultString_localParameter" />
      <Variable x:TypeArguments="x:Boolean" Default="False" Name="CustomActivityStep25ResultBoolean_localParameter" />
      <Variable x:TypeArguments="s:DateTime" Default="" Name="CustomActivityStep25ResultDateTime_localParameter" />
      <Variable x:TypeArguments="x:Decimal" Default="0" Name="CustomActivityStep25ResultDecimal_localParameter" />
      <Variable x:TypeArguments="x:Double" Default="0" Name="CustomActivityStep25ResultDouble_localParameter" />
      <Variable x:TypeArguments="x:Int32" Default="0" Name="CustomActivityStep25ResultInteger_localParameter" />
      <Variable x:TypeArguments="mxs:Money" Name="CustomActivityStep25ResultMoney_localParameter">
        <Variable.Default>
          <mxswa:ReferenceLiteral x:TypeArguments="mxs:Money">
            <x:Null />
          </mxswa:ReferenceLiteral>
        </Variable.Default>
      </Variable>
      <Variable x:TypeArguments="x:String" Default="[Nothing]" Name="CustomActivityStep26ResultString_localParameter" />
      <Variable x:TypeArguments="x:Boolean" Default="False" Name="CustomActivityStep26ResultBoolean_localParameter" />
      <Variable x:TypeArguments="s:DateTime" Default="" Name="CustomActivityStep26ResultDateTime_localParameter" />
      <Variable x:TypeArguments="x:Decimal" Default="0" Name="CustomActivityStep26ResultDecimal_localParameter" />
      <Variable x:TypeArguments="x:Double" Default="0" Name="CustomActivityStep26ResultDouble_localParameter" />
      <Variable x:TypeArguments="x:Int32" Default="0" Name="CustomActivityStep26ResultInteger_localParameter" />
      <Variable x:TypeArguments="mxs:Money" Name="CustomActivityStep26ResultMoney_localParameter">
        <Variable.Default>
          <mxswa:ReferenceLiteral x:TypeArguments="mxs:Money">
            <x:Null />
          </mxswa:ReferenceLiteral>
        </Variable.Default>
      </Variable>
    </mxswa:Workflow.Variables>
    <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConditionSequence, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConditionStep11: If End Time contains data and user is not working OT">
      <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="ConditionBranchStep12_condition" />
          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep12_1" />
          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep12_2" />
          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep12_3" />
          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep12_4" />
          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep15_condition" />
          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep15_1" />
          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep15_2" />
          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep15_3" />
          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep15_4" />
          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep20_condition" />
          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep20_1" />
          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep20_2" />
          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep20_3" />
          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep20_4" />
        </sco:Collection>
        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
          <mxswa:GetEntityProperty Attribute="vhacrm_endtime_datetime" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="vhacrm_workhours" Value="[ConditionBranchStep12_2]">
            <mxswa:GetEntityProperty.TargetType>
              <InArgument x:TypeArguments="s:Type">
                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                  <x:Null />
                </mxswa:ReferenceLiteral>
              </InArgument>
            </mxswa:GetEntityProperty.TargetType>
          </mxswa:GetEntityProperty>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateCondition">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="mxsq:ConditionOperator" x:Key="ConditionOperator">NotNull</InArgument>
              <x:Null x:Key="Parameters" />
              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep12_2]</InArgument>
              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep12_1]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
          <mxswa:GetEntityProperty Attribute="vhacrm_overtimestarttime_datetime" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="vhacrm_workhours" Value="[ConditionBranchStep12_4]">
            <mxswa:GetEntityProperty.TargetType>
              <InArgument x:TypeArguments="s:Type">
                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                  <x:Null />
                </mxswa:ReferenceLiteral>
              </InArgument>
            </mxswa:GetEntityProperty.TargetType>
          </mxswa:GetEntityProperty>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateCondition">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="mxsq:ConditionOperator" x:Key="ConditionOperator">Null</InArgument>
              <x:Null x:Key="Parameters" />
              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep12_4]</InArgument>
              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep12_3]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateLogicalCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateLogicalCondition">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="mxsq:LogicalOperator" x:Key="LogicalOperator">And</InArgument>
              <InArgument x:TypeArguments="x:Boolean" x:Key="LeftOperand">[ConditionBranchStep12_1]</InArgument>
              <InArgument x:TypeArguments="x:Boolean" x:Key="RightOperand">[ConditionBranchStep12_3]</InArgument>
              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep12_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="ConditionBranchStep12">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep12_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="ConditionBranchStep12">
                <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="ConditionStep13: if work hours end time &lt; current time ">
                      <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="ConditionBranchStep14_condition" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep14_1" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep14_2" />
                        </sco:Collection>
                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                          <mxswa:GetEntityProperty Attribute="vhacrm_endtime_datetime" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="vhacrm_workhours" Value="[ConditionBranchStep14_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">RetrieveCurrentTime</InArgument>
                              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters" xml:space="preserve">[New Object() {  }]</InArgument>
                              <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                                  <x:Null />
                                </mxswa:ReferenceLiteral>
                              </InArgument>
                              <OutArgument x:TypeArguments="x:Object" x:Key="Result">[ConditionBranchStep14_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">LessThan</InArgument>
                              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { ConditionBranchStep14_2 }]</InArgument>
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep14_1]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep14_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="ConditionBranchStep14">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep14_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="ConditionBranchStep14">
                                <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.Composite, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="CustomActivityStep24: Call Work Hours - Disable EED User Process Genie">
                                      <mxswa:ActivityReference.Properties>
                                        <sco:Collection x:TypeArguments="Variable" x:Key="Variables">
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep24_1" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep24_1_converted" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep24_2" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep24_2_converted" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep24_3" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep24_3_converted" />
                                        </sco:Collection>
                                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                          <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, "qp6", "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">[CustomActivityStep24_1]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </mxswa:ActivityReference>
                                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConvertCrmXrmTypes, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConvertCrmXrmTypes">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:Object" x:Key="Value">[CustomActivityStep24_1]</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">[CustomActivityStep24_1_converted]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </mxswa:ActivityReference>
                                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConvertCrmXrmTypes, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConvertCrmXrmTypes">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:Object" x:Key="Value">[CustomActivityStep24_2]</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">[CustomActivityStep24_2_converted]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </mxswa:ActivityReference>
                                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConvertCrmXrmTypes, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConvertCrmXrmTypes">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:Object" x:Key="Value">[CustomActivityStep24_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">[CustomActivityStep24_3_converted]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </mxswa:ActivityReference>
                                          <mxswa:ActivityReference AssemblyQualifiedName="North52.FormulaManager.WorkflowActivities.ExecuteFormula, North52.FormulaManager, Version=1.0.0.518, Culture=neutral, PublicKeyToken=a8878fd7dad60ca1" DisplayName="CustomActivityStep24: Call Work Hours - Disable EED User Process Genie">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:String" x:Key="FormulaShortCode">[DirectCast(CustomActivityStep24_1_converted, System.String)]</InArgument>
                                              <InArgument x:TypeArguments="x:String" x:Key="FormulaParameterXml">[DirectCast(CustomActivityStep24_2_converted, System.String)]</InArgument>
                                              <InArgument x:TypeArguments="x:String" x:Key="PrimaryEntityId">[DirectCast(CustomActivityStep24_3_converted, System.String)]</InArgument>
                                              <OutArgument x:TypeArguments="x:String" x:Key="ResultString">[CustomActivityStep24ResultString_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="x:Boolean" x:Key="ResultBoolean">[CustomActivityStep24ResultBoolean_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="s:DateTime" x:Key="ResultDateTime">[CustomActivityStep24ResultDateTime_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="x:Decimal" x:Key="ResultDecimal">[CustomActivityStep24ResultDecimal_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="x:Double" x:Key="ResultDouble">[CustomActivityStep24ResultDouble_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="x:Int32" x:Key="ResultInteger">[CustomActivityStep24ResultInteger_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="mxs:Money" x:Key="ResultMoney">[CustomActivityStep24ResultMoney_localParameter]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </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>
                  </sco:Collection>
                </mxswa:ActivityReference.Properties>
              </mxswa:ActivityReference>
              <x:Null x:Key="Else" />
            </mxswa:ActivityReference.Properties>
          </mxswa:ActivityReference>
          <mxswa:GetEntityProperty Attribute="vhacrm_endtime_datetime" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="vhacrm_workhours" Value="[ConditionBranchStep15_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">Null</InArgument>
              <x:Null x:Key="Parameters" />
              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep15_2]</InArgument>
              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep15_1]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
          <mxswa:GetEntityProperty Attribute="vhacrm_overtimeendtime_datetime" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="vhacrm_workhours" Value="[ConditionBranchStep15_4]">
            <mxswa:GetEntityProperty.TargetType>
              <InArgument x:TypeArguments="s:Type">
                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                  <x:Null />
                </mxswa:ReferenceLiteral>
              </InArgument>
            </mxswa:GetEntityProperty.TargetType>
          </mxswa:GetEntityProperty>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateCondition">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="mxsq:ConditionOperator" x:Key="ConditionOperator">NotNull</InArgument>
              <x:Null x:Key="Parameters" />
              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep15_4]</InArgument>
              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep15_3]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateLogicalCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateLogicalCondition">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="mxsq:LogicalOperator" x:Key="LogicalOperator">And</InArgument>
              <InArgument x:TypeArguments="x:Boolean" x:Key="LeftOperand">[ConditionBranchStep15_1]</InArgument>
              <InArgument x:TypeArguments="x:Boolean" x:Key="RightOperand">[ConditionBranchStep15_3]</InArgument>
              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep15_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="ConditionBranchStep15">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep15_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="ConditionBranchStep15">
                <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="ConditionStep17: if OT end time &lt; current time">
                      <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="ConditionBranchStep18_condition" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep18_1" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep18_2" />
                        </sco:Collection>
                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                          <mxswa:GetEntityProperty Attribute="vhacrm_overtimeendtime_datetime" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="vhacrm_workhours" Value="[ConditionBranchStep18_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">RetrieveCurrentTime</InArgument>
                              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters" xml:space="preserve">[New Object() {  }]</InArgument>
                              <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                                  <x:Null />
                                </mxswa:ReferenceLiteral>
                              </InArgument>
                              <OutArgument x:TypeArguments="x:Object" x:Key="Result">[ConditionBranchStep18_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">LessThan</InArgument>
                              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { ConditionBranchStep18_2 }]</InArgument>
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep18_1]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep18_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="ConditionBranchStep18">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep18_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="ConditionBranchStep18">
                                <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.Composite, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="CustomActivityStep25: Call Work Hours - Disable EED User Process Genie">
                                      <mxswa:ActivityReference.Properties>
                                        <sco:Collection x:TypeArguments="Variable" x:Key="Variables">
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep25_1" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep25_1_converted" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep25_2" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep25_2_converted" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep25_3" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep25_3_converted" />
                                        </sco:Collection>
                                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                          <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, "qp6", "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">[CustomActivityStep25_1]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </mxswa:ActivityReference>
                                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConvertCrmXrmTypes, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConvertCrmXrmTypes">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:Object" x:Key="Value">[CustomActivityStep25_1]</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">[CustomActivityStep25_1_converted]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </mxswa:ActivityReference>
                                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConvertCrmXrmTypes, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConvertCrmXrmTypes">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:Object" x:Key="Value">[CustomActivityStep25_2]</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">[CustomActivityStep25_2_converted]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </mxswa:ActivityReference>
                                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConvertCrmXrmTypes, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConvertCrmXrmTypes">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:Object" x:Key="Value">[CustomActivityStep25_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">[CustomActivityStep25_3_converted]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </mxswa:ActivityReference>
                                          <mxswa:ActivityReference AssemblyQualifiedName="North52.FormulaManager.WorkflowActivities.ExecuteFormula, North52.FormulaManager, Version=1.0.0.518, Culture=neutral, PublicKeyToken=a8878fd7dad60ca1" DisplayName="CustomActivityStep25: Call Work Hours - Disable EED User Process Genie">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:String" x:Key="FormulaShortCode">[DirectCast(CustomActivityStep25_1_converted, System.String)]</InArgument>
                                              <InArgument x:TypeArguments="x:String" x:Key="FormulaParameterXml">[DirectCast(CustomActivityStep25_2_converted, System.String)]</InArgument>
                                              <InArgument x:TypeArguments="x:String" x:Key="PrimaryEntityId">[DirectCast(CustomActivityStep25_3_converted, System.String)]</InArgument>
                                              <OutArgument x:TypeArguments="x:String" x:Key="ResultString">[CustomActivityStep25ResultString_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="x:Boolean" x:Key="ResultBoolean">[CustomActivityStep25ResultBoolean_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="s:DateTime" x:Key="ResultDateTime">[CustomActivityStep25ResultDateTime_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="x:Decimal" x:Key="ResultDecimal">[CustomActivityStep25ResultDecimal_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="x:Double" x:Key="ResultDouble">[CustomActivityStep25ResultDouble_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="x:Int32" x:Key="ResultInteger">[CustomActivityStep25ResultInteger_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="mxs:Money" x:Key="ResultMoney">[CustomActivityStep25ResultMoney_localParameter]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </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>
                  </sco:Collection>
                </mxswa:ActivityReference.Properties>
              </mxswa:ActivityReference>
              <x:Null x:Key="Else" />
            </mxswa:ActivityReference.Properties>
          </mxswa:ActivityReference>
          <mxswa:GetEntityProperty Attribute="vhacrm_endtime_datetime" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="vhacrm_workhours" Value="[ConditionBranchStep20_2]">
            <mxswa:GetEntityProperty.TargetType>
              <InArgument x:TypeArguments="s:Type">
                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                  <x:Null />
                </mxswa:ReferenceLiteral>
              </InArgument>
            </mxswa:GetEntityProperty.TargetType>
          </mxswa:GetEntityProperty>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateCondition">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="mxsq:ConditionOperator" x:Key="ConditionOperator">NotNull</InArgument>
              <x:Null x:Key="Parameters" />
              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep20_2]</InArgument>
              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep20_1]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
          <mxswa:GetEntityProperty Attribute="vhacrm_overtimeendtime_datetime" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="vhacrm_workhours" Value="[ConditionBranchStep20_4]">
            <mxswa:GetEntityProperty.TargetType>
              <InArgument x:TypeArguments="s:Type">
                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                  <x:Null />
                </mxswa:ReferenceLiteral>
              </InArgument>
            </mxswa:GetEntityProperty.TargetType>
          </mxswa:GetEntityProperty>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateCondition">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="mxsq:ConditionOperator" x:Key="ConditionOperator">NotNull</InArgument>
              <x:Null x:Key="Parameters" />
              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep20_4]</InArgument>
              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep20_3]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.EvaluateLogicalCondition, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="EvaluateLogicalCondition">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="mxsq:LogicalOperator" x:Key="LogicalOperator">And</InArgument>
              <InArgument x:TypeArguments="x:Boolean" x:Key="LeftOperand">[ConditionBranchStep20_1]</InArgument>
              <InArgument x:TypeArguments="x:Boolean" x:Key="RightOperand">[ConditionBranchStep20_3]</InArgument>
              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep20_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="ConditionBranchStep20">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep20_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="ConditionBranchStep20">
                <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="ConditionStep21: If work hours end time AND OT end time &lt; current time">
                      <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="ConditionBranchStep22_condition" />
                          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep22_1" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep22_2" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep22_3" />
                          <Variable x:TypeArguments="x:Boolean" Default="False" Name="ConditionBranchStep22_4" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep22_5" />
                          <Variable x:TypeArguments="x:Object" Name="ConditionBranchStep22_6" />
                        </sco:Collection>
                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                          <mxswa:GetEntityProperty Attribute="vhacrm_endtime_datetime" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="vhacrm_workhours" Value="[ConditionBranchStep22_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">RetrieveCurrentTime</InArgument>
                              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters" xml:space="preserve">[New Object() {  }]</InArgument>
                              <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                                  <x:Null />
                                </mxswa:ReferenceLiteral>
                              </InArgument>
                              <OutArgument x:TypeArguments="x:Object" x:Key="Result">[ConditionBranchStep22_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">LessThan</InArgument>
                              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { ConditionBranchStep22_3 }]</InArgument>
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep22_2]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep22_1]</OutArgument>
                            </mxswa:ActivityReference.Arguments>
                          </mxswa:ActivityReference>
                          <mxswa:GetEntityProperty Attribute="vhacrm_overtimeendtime_datetime" Entity="[InputEntities(&quot;primaryEntity&quot;)]" EntityName="vhacrm_workhours" Value="[ConditionBranchStep22_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">RetrieveCurrentTime</InArgument>
                              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters" xml:space="preserve">[New Object() {  }]</InArgument>
                              <InArgument x:TypeArguments="s:Type" x:Key="TargetType">
                                <mxswa:ReferenceLiteral x:TypeArguments="s:Type">
                                  <x:Null />
                                </mxswa:ReferenceLiteral>
                              </InArgument>
                              <OutArgument x:TypeArguments="x:Object" x:Key="Result">[ConditionBranchStep22_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">LessThan</InArgument>
                              <InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { ConditionBranchStep22_6 }]</InArgument>
                              <InArgument x:TypeArguments="x:Object" x:Key="Operand">[ConditionBranchStep22_5]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep22_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">[ConditionBranchStep22_1]</InArgument>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="RightOperand">[ConditionBranchStep22_4]</InArgument>
                              <OutArgument x:TypeArguments="x:Boolean" x:Key="Result">[ConditionBranchStep22_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="ConditionBranchStep22">
                            <mxswa:ActivityReference.Arguments>
                              <InArgument x:TypeArguments="x:Boolean" x:Key="Condition">[ConditionBranchStep22_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="ConditionBranchStep22">
                                <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.Composite, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="CustomActivityStep26: Call Work Hours - Disable EED User Process Genie">
                                      <mxswa:ActivityReference.Properties>
                                        <sco:Collection x:TypeArguments="Variable" x:Key="Variables">
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep26_1" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep26_1_converted" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep26_2" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep26_2_converted" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep26_3" />
                                          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep26_3_converted" />
                                        </sco:Collection>
                                        <sco:Collection x:TypeArguments="Activity" x:Key="Activities">
                                          <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, "qp6", "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">[CustomActivityStep26_1]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </mxswa:ActivityReference>
                                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConvertCrmXrmTypes, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConvertCrmXrmTypes">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:Object" x:Key="Value">[CustomActivityStep26_1]</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">[CustomActivityStep26_1_converted]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </mxswa:ActivityReference>
                                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConvertCrmXrmTypes, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConvertCrmXrmTypes">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:Object" x:Key="Value">[CustomActivityStep26_2]</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">[CustomActivityStep26_2_converted]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </mxswa:ActivityReference>
                                          <mxswa:ActivityReference AssemblyQualifiedName="Microsoft.Crm.Workflow.Activities.ConvertCrmXrmTypes, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="ConvertCrmXrmTypes">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:Object" x:Key="Value">[CustomActivityStep26_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">[CustomActivityStep26_3_converted]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </mxswa:ActivityReference>
                                          <mxswa:ActivityReference AssemblyQualifiedName="North52.FormulaManager.WorkflowActivities.ExecuteFormula, North52.FormulaManager, Version=1.0.0.518, Culture=neutral, PublicKeyToken=a8878fd7dad60ca1" DisplayName="CustomActivityStep26: Call Work Hours - Disable EED User Process Genie">
                                            <mxswa:ActivityReference.Arguments>
                                              <InArgument x:TypeArguments="x:String" x:Key="FormulaShortCode">[DirectCast(CustomActivityStep26_1_converted, System.String)]</InArgument>
                                              <InArgument x:TypeArguments="x:String" x:Key="FormulaParameterXml">[DirectCast(CustomActivityStep26_2_converted, System.String)]</InArgument>
                                              <InArgument x:TypeArguments="x:String" x:Key="PrimaryEntityId">[DirectCast(CustomActivityStep26_3_converted, System.String)]</InArgument>
                                              <OutArgument x:TypeArguments="x:String" x:Key="ResultString">[CustomActivityStep26ResultString_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="x:Boolean" x:Key="ResultBoolean">[CustomActivityStep26ResultBoolean_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="s:DateTime" x:Key="ResultDateTime">[CustomActivityStep26ResultDateTime_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="x:Decimal" x:Key="ResultDecimal">[CustomActivityStep26ResultDecimal_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="x:Double" x:Key="ResultDouble">[CustomActivityStep26ResultDouble_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="x:Int32" x:Key="ResultInteger">[CustomActivityStep26ResultInteger_localParameter]</OutArgument>
                                              <OutArgument x:TypeArguments="mxs:Money" x:Key="ResultMoney">[CustomActivityStep26ResultMoney_localParameter]</OutArgument>
                                            </mxswa:ActivityReference.Arguments>
                                          </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>
                  </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>