<Activity x:Class="XrmWorkflow8c08ef5d0e744b20b2ed61a91cce9ec1" 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: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:XrmWorkflow8c08ef5d0e744b20b2ed61a91cce9ec1.InputEntities>
    <InArgument x:TypeArguments="scg:IDictionary(x:String, mxs:Entity)" />
  </this:XrmWorkflow8c08ef5d0e744b20b2ed61a91cce9ec1.InputEntities>
  <this:XrmWorkflow8c08ef5d0e744b20b2ed61a91cce9ec1.CreatedEntities>
    <InArgument x:TypeArguments="scg:IDictionary(x:String, mxs:Entity)" />
  </this:XrmWorkflow8c08ef5d0e744b20b2ed61a91cce9ec1.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="CustomActivityStep1ResultString_localParameter" />
      <Variable x:TypeArguments="x:Boolean" Default="False" Name="CustomActivityStep1ResultBoolean_localParameter" />
      <Variable x:TypeArguments="s:DateTime" Default="" Name="CustomActivityStep1ResultDateTime_localParameter" />
      <Variable x:TypeArguments="x:Decimal" Default="0" Name="CustomActivityStep1ResultDecimal_localParameter" />
      <Variable x:TypeArguments="x:Double" Default="0" Name="CustomActivityStep1ResultDouble_localParameter" />
      <Variable x:TypeArguments="x:Int32" Default="0" Name="CustomActivityStep1ResultInteger_localParameter" />
      <Variable x:TypeArguments="mxs:Money" Name="CustomActivityStep1ResultMoney_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.Composite, Microsoft.Crm.Workflow, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DisplayName="CustomActivityStep1: Fire N52 rule that assigns the Request to the new POC">
      <mxswa:ActivityReference.Properties>
        <sco:Collection x:TypeArguments="Variable" x:Key="Variables">
          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep1_1" />
          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep1_1_converted" />
          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep1_2" />
          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep1_2_converted" />
          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep1_3" />
          <Variable x:TypeArguments="x:Object" Name="CustomActivityStep1_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, "8ha", "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">[CustomActivityStep1_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">[CustomActivityStep1_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">[CustomActivityStep1_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">[CustomActivityStep1_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">[CustomActivityStep1_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">[CustomActivityStep1_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">[CustomActivityStep1_3_converted]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
          <mxswa:ActivityReference AssemblyQualifiedName="North52.FormulaManager.WorkflowActivities.ExecuteFormula, North52.FormulaManager, Version=1.0.0.492, Culture=neutral, PublicKeyToken=a8878fd7dad60ca1" DisplayName="CustomActivityStep1: Fire N52 rule that assigns the Request to the new POC">
            <mxswa:ActivityReference.Arguments>
              <InArgument x:TypeArguments="x:String" x:Key="FormulaShortCode">[DirectCast(CustomActivityStep1_1_converted, System.String)]</InArgument>
              <InArgument x:TypeArguments="x:String" x:Key="FormulaParameterXml">[DirectCast(CustomActivityStep1_2_converted, System.String)]</InArgument>
              <InArgument x:TypeArguments="x:String" x:Key="PrimaryEntityId">[DirectCast(CustomActivityStep1_3_converted, System.String)]</InArgument>
              <OutArgument x:TypeArguments="x:String" x:Key="ResultString">[CustomActivityStep1ResultString_localParameter]</OutArgument>
              <OutArgument x:TypeArguments="x:Boolean" x:Key="ResultBoolean">[CustomActivityStep1ResultBoolean_localParameter]</OutArgument>
              <OutArgument x:TypeArguments="s:DateTime" x:Key="ResultDateTime">[CustomActivityStep1ResultDateTime_localParameter]</OutArgument>
              <OutArgument x:TypeArguments="x:Decimal" x:Key="ResultDecimal">[CustomActivityStep1ResultDecimal_localParameter]</OutArgument>
              <OutArgument x:TypeArguments="x:Double" x:Key="ResultDouble">[CustomActivityStep1ResultDouble_localParameter]</OutArgument>
              <OutArgument x:TypeArguments="x:Int32" x:Key="ResultInteger">[CustomActivityStep1ResultInteger_localParameter]</OutArgument>
              <OutArgument x:TypeArguments="mxs:Money" x:Key="ResultMoney">[CustomActivityStep1ResultMoney_localParameter]</OutArgument>
            </mxswa:ActivityReference.Arguments>
          </mxswa:ActivityReference>
        </sco:Collection>
      </mxswa:ActivityReference.Properties>
    </mxswa:ActivityReference>
    <Sequence DisplayName="ChildWorkflowStep2: Sends email to new facility poc and NCCHV Supervisors, also CC's previous facility">
      <Sequence.Variables>
        <Variable x:TypeArguments="scg:Dictionary(x:String, x:Object)" Default="[New Dictionary(Of System.String, System.Object)]" Name="ChildWorkflowStep2_1" />
      </Sequence.Variables>
      <mxswa:StartChildWorkflow DisplayName="ChildWorkflowStep2: Sends email to new facility poc and NCCHV Supervisors, also CC's previous facility" EntityId="[InputEntities(&quot;primaryEntity&quot;).Id]" EntityName="incident" InputParameters="[ChildWorkflowStep2_1]" WorkflowId="a36417dc-1f4d-49ac-8985-340437eb7d15" />
    </Sequence>
  </mxswa:Workflow>
</Activity>