<Activity mc:Ignorable="sads sap sap2010" x:Class="ActivityBuilder"
 xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
 xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 xmlns:eac="clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client"
 xmlns:eacg="clr-namespace:ESRI.ArcGIS.Client.Geometry;assembly=ESRI.ArcGIS.Client"
 xmlns:eact="clr-namespace:ESRI.ArcGIS.Client.Tasks;assembly=ESRI.ArcGIS.Client"
 xmlns:esri="http://schemas.esri.com/arcgis/client/2009"
 xmlns:gcx="http://apis.geocortex.com/2009"
 xmlns:gfc="clr-namespace:Geocortex.Forms.Client;assembly=Geocortex.EssentialsWpfApi"
 xmlns:gfci="clr-namespace:Geocortex.Forms.Client.Items;assembly=Geocortex.EssentialsWpfApi"
 xmlns:ggg="clr-namespace:Geocortex.Gis.Geometries;assembly=Geocortex.Gis"
 xmlns:gw="clr-namespace:Geocortex.Workflow;assembly=Geocortex.Workflow"
 xmlns:gwa="clr-namespace:Geocortex.Workflow.Activities;assembly=Geocortex.Workflow"
 xmlns:gwa1="clr-namespace:Geocortex.Workflow.Activities;assembly=Geocortex.Workflow.Activities"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities"
 xmlns:mvc="clr-namespace:Microsoft.VisualBasic.CompilerServices;assembly=Microsoft.VisualBasic"
 xmlns:s="clr-namespace:System;assembly=System"
 xmlns:s1="clr-namespace:System;assembly=mscorlib"
 xmlns:s2="clr-namespace:System;assembly=System.Core"
 xmlns:s3="clr-namespace:System;assembly=System.ServiceModel"
 xmlns:s4="clr-namespace:System;assembly=System.DirectoryServices"
 xmlns:s5="clr-namespace:System;assembly=System.Web.Services"
 xmlns:s6="clr-namespace:System;assembly=System.AddIn"
 xmlns:s7="clr-namespace:System;assembly=System.ComponentModel.Composition"
 xmlns:s8="clr-namespace:System;assembly=System.Reactive.Core"
 xmlns:sa="clr-namespace:System.Activities;assembly=System.Activities"
 xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger"
 xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
 xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation"
 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
 xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"
 xmlns:sw="clr-namespace:System.Windows;assembly=PresentationFramework"
 xmlns:sw1="clr-namespace:System.Windows;assembly=WindowsBase"
 xmlns:sw2="clr-namespace:System.Windows;assembly=PresentationCore"
 xmlns:swt="clr-namespace:System.Windows.Threading;assembly=WindowsBase"
 xmlns:swt1="clr-namespace:System.Windows.Threading;assembly=System.Windows.Presentation"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <x:Members>
    <x:Property Name="ParcelIdField" Type="InArgument(x:String)" />
    <x:Property Name="ParcelLayerName" Type="InArgument(x:String)" />
    <x:Property Name="ParcelMapServiceId" Type="InArgument(x:String)" />
    <x:Property sap2010:Annotation.AnnotationText="Do not supply a value for this argument when adding this workflow to an Essentials site. &#xA;&#xA;It is used with this workflow in a URL parameter when launching a viewer, allowing the viewer to automatically zoom to a selected parcel." Name="ParcelId" Type="InArgument(x:String)" />
  </x:Members>
  <mva:VisualBasic.Settings>
    <x:Null />
  </mva:VisualBasic.Settings>
  <sap2010:WorkflowViewState.IdRef>ActivityBuilder_1</sap2010:WorkflowViewState.IdRef>
  <TextExpression.NamespacesForImplementation>
    <sco:Collection x:TypeArguments="x:String">
      <x:String>System.Activities.XamlIntegration</x:String>
      <x:String>System.Activities.Validation</x:String>
      <x:String>System.Activities</x:String>
      <x:String>System.Activities.Statements</x:String>
      <x:String>System.Activities.Expressions</x:String>
      <x:String>System.Windows.Shapes</x:String>
      <x:String>System.Windows.Controls</x:String>
      <x:String>System.Windows.Documents</x:String>
      <x:String>System.Windows.Shell</x:String>
      <x:String>System.Windows.Navigation</x:String>
      <x:String>System.Windows.Data</x:String>
      <x:String>System.Windows</x:String>
      <x:String>System.Windows.Controls.Primitives</x:String>
      <x:String>System.Windows.Media.Animation</x:String>
      <x:String>System.Windows.Input</x:String>
      <x:String>System.Windows.Media</x:String>
      <x:String>System.Diagnostics</x:String>
      <x:String>System.Windows.Media.Effects</x:String>
      <x:String>System.Windows.Media.Imaging</x:String>
      <x:String>System.Windows.Media.Media3D</x:String>
      <x:String>System.Windows.Automation</x:String>
      <x:String>System.Windows.Media.TextFormatting</x:String>
      <x:String>System.Windows.Ink</x:String>
      <x:String>System.Windows.Forms.Integration</x:String>
      <x:String>ESRI.ArcGIS.Client</x:String>
      <x:String>ESRI.ArcGIS.Client.Geometry</x:String>
      <x:String>ESRI.ArcGIS.Client.Tasks</x:String>
      <x:String>ESRI.ArcGIS.Client.Symbols</x:String>
      <x:String>ESRI.ArcGIS.Client.ValueConverters</x:String>
      <x:String>ESRI.ArcGIS.Client.AdvancedSymbology</x:String>
      <x:String>Geocortex.Resources.Client</x:String>
      <x:String>Geocortex.Essentials.Client</x:String>
      <x:String>Geocortex.Workflow.Client</x:String>
      <x:String>Geocortex.Client</x:String>
      <x:String>Geocortex.Forms.Client</x:String>
      <x:String>Geocortex.Forms.Client.Items</x:String>
      <x:String>Geocortex.Gis.Geometries</x:String>
      <x:String>Geocortex.Workflow</x:String>
      <x:String>Geocortex.Workflow.Activities</x:String>
      <x:String>Microsoft.VisualBasic.Activities</x:String>
      <x:String>Microsoft.VisualBasic.CompilerServices</x:String>
      <x:String>System</x:String>
      <x:String>System.Activities.Debugger.Symbol</x:String>
      <x:String>System.Collections.Generic</x:String>
      <x:String>System.Windows.Threading</x:String>
      <x:String>System.Windows.Markup</x:String>
    </sco:Collection>
  </TextExpression.NamespacesForImplementation>
  <TextExpression.ReferencesForImplementation>
    <sco:Collection x:TypeArguments="AssemblyReference">
      <AssemblyReference>System.Activities</AssemblyReference>
      <AssemblyReference>PresentationFramework</AssemblyReference>
      <AssemblyReference>WindowsBase</AssemblyReference>
      <AssemblyReference>PresentationCore</AssemblyReference>
      <AssemblyReference>WindowsFormsIntegration</AssemblyReference>
      <AssemblyReference>ESRI.ArcGIS.Client</AssemblyReference>
      <AssemblyReference>Geocortex.EssentialsWpfApi</AssemblyReference>
      <AssemblyReference>Geocortex.Gis</AssemblyReference>
      <AssemblyReference>Geocortex.Workflow</AssemblyReference>
      <AssemblyReference>Geocortex.Workflow.Activities</AssemblyReference>
      <AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
      <AssemblyReference>System</AssemblyReference>
      <AssemblyReference>mscorlib</AssemblyReference>
      <AssemblyReference>System.Core</AssemblyReference>
      <AssemblyReference>System.ServiceModel</AssemblyReference>
      <AssemblyReference>System.DirectoryServices</AssemblyReference>
      <AssemblyReference>System.Web.Services</AssemblyReference>
      <AssemblyReference>System.AddIn</AssemblyReference>
      <AssemblyReference>System.ComponentModel.Composition</AssemblyReference>
      <AssemblyReference>System.Reactive.Core</AssemblyReference>
      <AssemblyReference>System.Windows.Presentation</AssemblyReference>
      <AssemblyReference>System.Xaml</AssemblyReference>
    </sco:Collection>
  </TextExpression.ReferencesForImplementation>
  <Sequence sap2010:Annotation.AnnotationText="Latitude Geographics Ltd. 2015&#xA;======================&#xA;This workflow searches for a parcel of a given ID, selects the parcel, and zooms the map to the parcel location.&#xA;======================" DisplayName="Global Sequence" sap2010:WorkflowViewState.IdRef="Sequence_6" mva:VisualBasic.Settings="Assembly references and imported namespaces serialized as XML namespaces">
    <Flowchart sap2010:Annotation.AnnotationText="This workflow provides examples of the following:&#xA;&#xA;• Obtaining user input from a form&#xA;• Querying for features as a result of that input&#xA;• Selecting the results of a query&#xA;• Setting the map extent to features returned from a query&#xA;• A workflow that can be launched on viewer startup via URL parameters.&#xA;• Configuring an autocomplete form item from supplied arguments&#xA;&#xA;&#xA;" sap2010:WorkflowViewState.IdRef="Flowchart_1">
      <Flowchart.Variables>
        <Variable x:TypeArguments="esri:FeatureSet" Name="parcelQueryResult" />
        <Variable x:TypeArguments="x:String" Name="buttonResult" />
        <Variable x:TypeArguments="x:Boolean" Default="False" Name="displayUI" />
        <Variable x:TypeArguments="x:String" Name="parcelLayerId" />
        <Variable x:TypeArguments="x:String" Name="parcelQueryUrl" />
        <Variable x:TypeArguments="esri:LayerSource" Name="parcelLayerSource" />
        <Variable x:TypeArguments="x:String" Name="parcelToken" />
      </Flowchart.Variables>
      <Flowchart.StartNode>
        <FlowStep x:Name="__ReferenceID3" sap2010:WorkflowViewState.IdRef="FlowStep_8">
          <Sequence sap2010:Annotation.AnnotationText="Prepare the UI and get mapservice info." DisplayName="Initialize Workflow" sap2010:WorkflowViewState.IdRef="Sequence_1">
            <gwa1:ConfigureWorkflowContainer IconUri="Resources/Images/Icons/Toolbar/house-number-24.png" sap2010:WorkflowViewState.IdRef="ConfigureWorkflowContainer_2" IsBusy="[True]" ShowContainer="[True]" Title="Initializing..." WorkflowContainerName="Default" />
            <gwa1:GetMapServiceInfo sap2010:Annotation.AnnotationText="Use the Essentials MapService Id and Layer Name to find the rest of the needed info. These items are the least likely to change without warning.&#xA;&#xA;Dynamic mapservice layers will also need the 'Source', while secured layers will need the 'Token'. Capture these here and supply them to any tasks which need them, eg: Query.&#xA;&#xA;Note: The URL of a mapservice layer will be in the 'Layer Url' out argument, while a featurelayer URL will be in the 'Mapservice Url' out argument" sap2010:WorkflowViewState.IdRef="GetMapServiceInfo_1" LayerId="[parcelLayerId]" LayerName="[ParcelLayerName]" LayerUrl="[parcelQueryUrl]" MapServiceId="[ParcelMapServiceId]" Source="[parcelLayerSource]" Token="[parcelToken]" />
          </Sequence>
          <FlowStep.Next>
            <FlowDecision x:Name="__ReferenceID2" sap2010:Annotation.AnnotationText="If a ParcelID has already been provided (ie: via a URL parameter at startup), skip the UI and go straight to selecting the parcel" Condition="[Not String.IsNullOrEmpty(ParcelId)]" sap2010:WorkflowViewState.IdRef="FlowDecision_4">
              <FlowDecision.True>
                <FlowStep x:Name="__ReferenceID0" sap2010:WorkflowViewState.IdRef="FlowStep_5">
                  <gwa1:QueryTask sap2010:Annotation.AnnotationText="Query ArcGIS Server for a parcel matching the provided ID. Uses a wildcard query to potentially match partial IDs." DisplayName="Query Parcel Layer" sap2010:WorkflowViewState.IdRef="QueryTask_1" MaxAllowableOffset="0" OutFields="*" QueryServiceUrl="[parcelQueryUrl]" Results="[parcelQueryResult]" ReturnGeometry="True" Source="[parcelLayerSource]" SpatialRelationship="esriSpatialRelIntersects" Token="[parcelToken]" Where="[ParcelIDField + &quot; LIKE '&quot; + ParcelId + &quot;%'&quot;]" />
                  <FlowStep.Next>
                    <FlowStep x:Name="__ReferenceID1" sap2010:WorkflowViewState.IdRef="FlowStep_2">
                      <gwa1:SelectFeatures sap2010:Annotation.AnnotationText="Selects the features on the parcels layer. The correct Essentials MapService ID and Layer Name are required for the selection to work properly." CombineMode="[Geocortex.Workflow.Activities.CombineMode.Replace]" FeatureSet="[parcelQueryResult]" sap2010:WorkflowViewState.IdRef="SelectFeatures_1" LayerName="[ParcelLayerName]" MapServiceId="[ParcelMapServiceId]" ShowPushpins="True" />
                      <FlowStep.Next>
                        <FlowStep x:Name="__ReferenceID5" sap2010:WorkflowViewState.IdRef="FlowStep_10">
                          <Sequence sap2010:Annotation.AnnotationText="Get the extent of the returned results and zoom to this location." DisplayName="Zoom To Results" sap2010:WorkflowViewState.IdRef="Sequence_9">
                            <Sequence.Variables>
                              <Variable x:TypeArguments="esri:Envelope" Name="resultExtent" />
                            </Sequence.Variables>
                            <gwa1:GetFeatureSetExtent sap2010:Annotation.AnnotationText="Get the extent of the returned results" FeatureSet="[parcelQueryResult]" sap2010:WorkflowViewState.IdRef="GetFeatureSetExtent_1" Result="[resultExtent]" />
                            <gwa1:SetMapExtent sap2010:Annotation.AnnotationText="Every 'Extent' object has an Expand method that will automatically buffer it by a selected number of times" Extent="[resultExtent.Expand(5)]" sap2010:WorkflowViewState.IdRef="SetMapExtent_1" />
                          </Sequence>
                        </FlowStep>
                      </FlowStep.Next>
                    </FlowStep>
                  </FlowStep.Next>
                </FlowStep>
              </FlowDecision.True>
              <FlowDecision.False>
                <FlowStep x:Name="__ReferenceID4" sap2010:WorkflowViewState.IdRef="FlowStep_9">
                  <Sequence sap2010:Annotation.AnnotationText="Show a form allowing the user to choose the ID of the parcel to select." DisplayName="Show Parcel Search Form" sap2010:WorkflowViewState.IdRef="Sequence_8">
                    <Sequence.Variables>
                      <Variable x:TypeArguments="x:String" Name="parcelQueryWhereClause" />
                    </Sequence.Variables>
                    <Assign sap2010:Annotation.AnnotationText="Construct a where clause for the autocomplete using the field name supplied by the administrator.&#xA;&#xA;This will be assigned to the where clause property of the autocomplete box in the 'RuntimeModifications' section below" sap2010:WorkflowViewState.IdRef="Assign_13">
                      <Assign.To>
                        <OutArgument x:TypeArguments="x:String">[parcelQueryWhereClause]</OutArgument>
                      </Assign.To>
                      <Assign.Value>
                        <InArgument x:TypeArguments="x:String">[ParcelIdField + " Like '{0}%'"]</InArgument>
                      </Assign.Value>
                    </Assign>
                    <gwa1:DisplayForm ButtonResultValue="[buttonResult]" DisplayName="DisplayForm" FormDefinition="&lt;FormDefinition xmlns=&quot;http://schemas.datacontract.org/2004/07/Geocortex.Forms.Client&quot; xmlns:i=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;ContainerFormItem xmlns:a=&quot;http://schemas.datacontract.org/2004/07/Geocortex.Forms.Client.Items&quot;&gt;&lt;a:ArgumentName/&gt;&lt;a:IsVisible&gt;true&lt;/a:IsVisible&gt;&lt;a:ItemID&gt;Group1&lt;/a:ItemID&gt;&lt;a:ToolTip/&gt;&lt;a:ValidationItems xmlns:b=&quot;http://schemas.datacontract.org/2004/07/Geocortex.Forms.Client.Items.Validation&quot;/&gt;&lt;a:Description&gt;Enter a parcel ID.&lt;/a:Description&gt;&lt;a:FormItems&gt;&lt;a:FormItem i:type=&quot;a:ContainerFormItem&quot;&gt;&lt;a:ArgumentName/&gt;&lt;a:IsVisible&gt;true&lt;/a:IsVisible&gt;&lt;a:ItemID&gt;Group2&lt;/a:ItemID&gt;&lt;a:ToolTip/&gt;&lt;a:ValidationItems xmlns:b=&quot;http://schemas.datacontract.org/2004/07/Geocortex.Forms.Client.Items.Validation&quot;/&gt;&lt;a:Description&gt;As you type, a filtered list of matching IDs will display to help you find an exact match.&lt;/a:Description&gt;&lt;a:FormItems/&gt;&lt;a:MaxWidth&gt;INF&lt;/a:MaxWidth&gt;&lt;a:Orientation&gt;Vertical&lt;/a:Orientation&gt;&lt;a:VisibleControlID i:nil=&quot;true&quot;/&gt;&lt;a:VisibleControlValue i:nil=&quot;true&quot;/&gt;&lt;/a:FormItem&gt;&lt;a:FormItem i:type=&quot;a:ContainerFormItem&quot;&gt;&lt;a:ArgumentName/&gt;&lt;a:IsVisible&gt;true&lt;/a:IsVisible&gt;&lt;a:ItemID&gt;Group3&lt;/a:ItemID&gt;&lt;a:ToolTip/&gt;&lt;a:ValidationItems xmlns:b=&quot;http://schemas.datacontract.org/2004/07/Geocortex.Forms.Client.Items.Validation&quot;/&gt;&lt;a:Description&gt;Choose an ID from the list, or enter a partial ID to find multiple results.&lt;/a:Description&gt;&lt;a:FormItems/&gt;&lt;a:MaxWidth&gt;INF&lt;/a:MaxWidth&gt;&lt;a:Orientation&gt;Vertical&lt;/a:Orientation&gt;&lt;a:VisibleControlID i:nil=&quot;true&quot;/&gt;&lt;a:VisibleControlValue i:nil=&quot;true&quot;/&gt;&lt;/a:FormItem&gt;&lt;a:FormItem i:type=&quot;a:ContainerFormItem&quot;&gt;&lt;a:ArgumentName/&gt;&lt;a:IsVisible&gt;true&lt;/a:IsVisible&gt;&lt;a:ItemID&gt;Group4&lt;/a:ItemID&gt;&lt;a:ToolTip/&gt;&lt;a:ValidationItems xmlns:b=&quot;http://schemas.datacontract.org/2004/07/Geocortex.Forms.Client.Items.Validation&quot;/&gt;&lt;a:Description&gt;(Example: 4344024015).&lt;/a:Description&gt;&lt;a:FormItems/&gt;&lt;a:MaxWidth&gt;INF&lt;/a:MaxWidth&gt;&lt;a:Orientation&gt;Vertical&lt;/a:Orientation&gt;&lt;a:VisibleControlID i:nil=&quot;true&quot;/&gt;&lt;a:VisibleControlValue i:nil=&quot;true&quot;/&gt;&lt;/a:FormItem&gt;&lt;a:FormItem i:type=&quot;a:AutoCompleteBoxFormItem&quot;&gt;&lt;a:ArgumentName&gt;pid&lt;/a:ArgumentName&gt;&lt;a:IsVisible&gt;true&lt;/a:IsVisible&gt;&lt;a:ItemID&gt;AutoCompleteBox1&lt;/a:ItemID&gt;&lt;a:ToolTip&gt;Enter the parcel ID&lt;/a:ToolTip&gt;&lt;a:ValidationItems xmlns:b=&quot;http://schemas.datacontract.org/2004/07/Geocortex.Forms.Client.Items.Validation&quot;/&gt;&lt;a:DefaultText/&gt;&lt;a:InputScope&gt;Default&lt;/a:InputScope&gt;&lt;a:Label&gt;&lt;a:ArgumentName/&gt;&lt;a:IsVisible&gt;true&lt;/a:IsVisible&gt;&lt;a:ItemID i:nil=&quot;true&quot;/&gt;&lt;a:ToolTip/&gt;&lt;a:ValidationItems xmlns:b=&quot;http://schemas.datacontract.org/2004/07/Geocortex.Forms.Client.Items.Validation&quot;/&gt;&lt;a:LabelForItemID&gt;AutoCompleteBox1&lt;/a:LabelForItemID&gt;&lt;a:Text&gt;Parcel ID:&lt;/a:Text&gt;&lt;/a:Label&gt;&lt;a:TextboxWidth&gt;150&lt;/a:TextboxWidth&gt;&lt;a:FilterByInputGeometry&gt;false&lt;/a:FilterByInputGeometry&gt;&lt;a:LayerSourceJson i:nil=&quot;true&quot;/&gt;&lt;a:MinimumPopulateDelay&gt;200&lt;/a:MinimumPopulateDelay&gt;&lt;a:MinimumPrefixLength&gt;1&lt;/a:MinimumPrefixLength&gt;&lt;a:ProxyUrl/&gt;&lt;a:QueryDisplayOutputField/&gt;&lt;a:QueryServiceUrl/&gt;&lt;a:QueryValueOutputField/&gt;&lt;a:QueryWhereClause/&gt;&lt;a:Token/&gt;&lt;/a:FormItem&gt;&lt;/a:FormItems&gt;&lt;a:MaxWidth&gt;INF&lt;/a:MaxWidth&gt;&lt;a:Orientation&gt;Vertical&lt;/a:Orientation&gt;&lt;a:VisibleControlID i:nil=&quot;true&quot;/&gt;&lt;a:VisibleControlValue i:nil=&quot;true&quot;/&gt;&lt;/ContainerFormItem&gt;&lt;KnownTypes xmlns:a=&quot;http://schemas.microsoft.com/2003/10/Serialization/Arrays&quot;&gt;&lt;a:string&gt;Geocortex.Forms.Client.Items.ContainerFormItem&lt;/a:string&gt;&lt;a:string&gt;Geocortex.Forms.Client.Items.AutoCompleteBoxFormItem&lt;/a:string&gt;&lt;/KnownTypes&gt;&lt;MaxHeight&gt;800&lt;/MaxHeight&gt;&lt;MaxWidth&gt;350&lt;/MaxWidth&gt;&lt;Title&gt;Search Parcels by ID&lt;/Title&gt;&lt;Version&gt;1.0&lt;/Version&gt;&lt;/FormDefinition&gt;" sap2010:WorkflowViewState.IdRef="DisplayForm_3" WorkflowContainerName="Default">
                      <gwa1:DisplayForm.Body>
                        <ActivityAction x:TypeArguments="gcx:FormDefinition">
                          <ActivityAction.Argument>
                            <DelegateInArgument x:TypeArguments="gcx:FormDefinition" Name="form" />
                          </ActivityAction.Argument>
                          <Sequence DisplayName="RuntimeModifications" sap2010:WorkflowViewState.IdRef="Sequence_7">
                            <Assign sap2010:Annotation.AnnotationText="Autocomplete Query Url" DisplayName="Assign Query Url" sap2010:WorkflowViewState.IdRef="Assign_8">
                              <Assign.To>
                                <OutArgument x:TypeArguments="x:String">[form.find(of AutoCompleteBoxFormItem)("AutoCompleteBox1").QueryServiceUrl]</OutArgument>
                              </Assign.To>
                              <Assign.Value>
                                <InArgument x:TypeArguments="x:String">[parcelQueryUrl]</InArgument>
                              </Assign.Value>
                            </Assign>
                            <Assign sap2010:Annotation.AnnotationText="Autocomplete where clause" DisplayName="Assign Where Clause" sap2010:WorkflowViewState.IdRef="Assign_9">
                              <Assign.To>
                                <OutArgument x:TypeArguments="x:String">[form.find(of AutoCompleteBoxFormItem)("AutoCompleteBox1").QueryWhereClause]</OutArgument>
                              </Assign.To>
                              <Assign.Value>
                                <InArgument x:TypeArguments="x:String">[parcelQueryWhereClause]</InArgument>
                              </Assign.Value>
                            </Assign>
                            <Assign sap2010:Annotation.AnnotationText="Autocomplete Display field" DisplayName="Assign Display Field" sap2010:WorkflowViewState.IdRef="Assign_10">
                              <Assign.To>
                                <OutArgument x:TypeArguments="x:String">[form.find(of AutoCompleteBoxFormItem)("AutoCompleteBox1").QueryDisplayOutputField]</OutArgument>
                              </Assign.To>
                              <Assign.Value>
                                <InArgument x:TypeArguments="x:String">[ParcelIdField]</InArgument>
                              </Assign.Value>
                            </Assign>
                            <Assign sap2010:Annotation.AnnotationText="Autocomplete layer source (only requried when querying layers from dynamic mapservices)" DisplayName="Assign Layer Source" sap2010:WorkflowViewState.IdRef="Assign_11">
                              <Assign.To>
                                <OutArgument x:TypeArguments="esri:LayerSource">[form.find(of AutoCompleteBoxFormItem)("AutoCompleteBox1").QueryLayerSource]</OutArgument>
                              </Assign.To>
                              <Assign.Value>
                                <InArgument x:TypeArguments="esri:LayerSource">[parcelLayerSource]</InArgument>
                              </Assign.Value>
                            </Assign>
                            <Assign sap2010:Annotation.AnnotationText="Autocomplete layer token (only required when querying secured layers)" DisplayName="Assign Token" sap2010:WorkflowViewState.IdRef="Assign_12">
                              <Assign.To>
                                <OutArgument x:TypeArguments="x:String">[form.find(of AutoCompleteBoxFormItem)("AutoCompleteBox1").Token]</OutArgument>
                              </Assign.To>
                              <Assign.Value>
                                <InArgument x:TypeArguments="x:String">[parcelToken]</InArgument>
                              </Assign.Value>
                            </Assign>
                          </Sequence>
                        </ActivityAction>
                      </gwa1:DisplayForm.Body>
                      <gwa1:DisplayForm.Buttons>
                        <gcx:FormButton CausesValidation="True" IsDefault="False" Label="Search" Value="Search" />
                      </gwa1:DisplayForm.Buttons>
                      <gwa1:DisplayForm.FormOutArguments>
                        <gwa:ArgumentWrapper x:TypeArguments="OutArgument" IsRequired="False" Name="pid">
                          <gwa:ArgumentWrapper.Argument>
                            <OutArgument x:TypeArguments="x:String">[ParcelId]</OutArgument>
                          </gwa:ArgumentWrapper.Argument>
                        </gwa:ArgumentWrapper>
                      </gwa1:DisplayForm.FormOutArguments>
                    </gwa1:DisplayForm>
                  </Sequence>
                  <FlowStep.Next>
                    <x:Reference>__ReferenceID0</x:Reference>
                  </FlowStep.Next>
                </FlowStep>
              </FlowDecision.False>
            </FlowDecision>
          </FlowStep.Next>
        </FlowStep>
      </Flowchart.StartNode>
      <x:Reference>__ReferenceID0</x:Reference>
      <x:Reference>__ReferenceID1</x:Reference>
      <x:Reference>__ReferenceID2</x:Reference>
      <x:Reference>__ReferenceID3</x:Reference>
      <x:Reference>__ReferenceID4</x:Reference>
      <x:Reference>__ReferenceID5</x:Reference>
    </Flowchart>
    <sads:DebugSymbol.Symbol>d0BDOlxQcm9kXFNpdGVzXExBX0NvdW50eVxSZXNvdXJjZXNcV29ya2Zsb3dzXFNlYXJjaFBhcmNlbHNJRC54YW1sQX0DggIOAgEBfgWAAhECAQKCATeCAT4CAQOKAQuNARYCAUePAeMBjwGJAgIBRacBE/ABHgIBI5IBE5IBswQCARSVAReVAc4DAgEMmAEbngEmAgEEiwENiwGLAgIBVYwBDYwBkQYCAUirARWyAR4CAUCzARXvASgCASSSAaoCkgGtAgIBIpIBtgOSAdADAgEhkgHZApIB7gICASCSAe0DkgGwBAIBHZIBnAKSAZ8CAgEckgHXA5IB5gMCARqSAYwDkgGhAwIBGJIB/gKSAYQDAgEXkgG+ApIB0AICARWVAewBlQGhAgIBE5UBgAOVAZMDAgERlQGtApUBwgICARCVAaEDlQG3AwIBDpUBxQOVAcsDAgENnAEdnAH1AQIBCJ0BHZ0BlAICAQWLAbEBiwG5AQIBWosB/wGLAYgCAgFZiwHIAYsB0AECAViLATaLAWoCAVeLAdcBiwHoAQIBVowB7ASMAf0EAgFTjAGlBYwBtwUCAVGMAYgFjAGbBQIBT4wBxQWMAdsFAgFNjAH/BYwBjgYCAUuMAeMFjAH4BQIBSbABQLABYAIBQ60BQa0BWQIBQbMBc7MBryQCAT+zAfYkswH/JAIBPrMBObMBSQIBPOsBResBTwIBOrkBG+IBJgIBJZwB4gGcAfIBAgEKnAGNAZwBogECAQmdAcYBnQHgAQIBBroBHcEBJgIBNsIBHckBJgIBMsoBHdEBJgIBLtIBHdkBJgIBKtoBHeEBJgIBJr8BSL8BWAIBOLwBSbwBlAECATfHAUjHAWACATTEAUnEAZUBAgEzzwFIzwFXAgEwzAFJzAGcAQIBL9cBUNcBYwIBLNQBUdQBnQECASvfAUjfAVUCASjcAUncAYoBAgEn</sads:DebugSymbol.Symbol>
  </Sequence>
  <sap2010:WorkflowViewState.ViewStateManager>
    <sap2010:ViewStateManager>
      <sap2010:ViewStateData Id="ConfigureWorkflowContainer_2" sap:VirtualizedContainerService.HintSize="330,186" />
      <sap2010:ViewStateData Id="GetMapServiceInfo_1" sap:VirtualizedContainerService.HintSize="330,369">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Sequence_1" sap:VirtualizedContainerService.HintSize="200,89">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="QueryTask_1" sap:VirtualizedContainerService.HintSize="200,119">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="SelectFeatures_1" sap:VirtualizedContainerService.HintSize="313,214">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="GetFeatureSetExtent_1" sap:VirtualizedContainerService.HintSize="247,109">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="SetMapExtent_1" sap:VirtualizedContainerService.HintSize="247,129">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Sequence_9" sap:VirtualizedContainerService.HintSize="200,104">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_10">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">220,997.5</av:Point>
            <av:Size x:Key="ShapeSize">200,104</av:Size>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_2">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">220,813.5</av:Point>
            <av:Size x:Key="ShapeSize">200,134</av:Size>
            <av:PointCollection x:Key="ConnectorLocation">320,947.5 320,997.5</av:PointCollection>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_5">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">220,644.5</av:Point>
            <av:Size x:Key="ShapeSize">200,119</av:Size>
            <av:PointCollection x:Key="ConnectorLocation">320,763.5 320,813.5</av:PointCollection>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Assign_13" sap:VirtualizedContainerService.HintSize="386,188">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Assign_8" sap:VirtualizedContainerService.HintSize="242,83">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Assign_9" sap:VirtualizedContainerService.HintSize="242,83">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Assign_10" sap:VirtualizedContainerService.HintSize="242,83">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Assign_11" sap:VirtualizedContainerService.HintSize="242,113">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Assign_12" sap:VirtualizedContainerService.HintSize="242,113">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Sequence_7" sap:VirtualizedContainerService.HintSize="200,51">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">False</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="DisplayForm_3" sap:VirtualizedContainerService.HintSize="386,604" />
      <sap2010:ViewStateData Id="Sequence_8" sap:VirtualizedContainerService.HintSize="200,104">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_9">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">360,514.5</av:Point>
            <av:Size x:Key="ShapeSize">200,104</av:Size>
            <av:PointCollection x:Key="ConnectorLocation">460,618.5 460,704 420,704</av:PointCollection>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowDecision_4" sap:VirtualizedContainerService.HintSize="157,200">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <av:Point x:Key="ShapeLocation">221,266.5</av:Point>
            <av:Size x:Key="ShapeSize">157,200</av:Size>
            <av:PointCollection x:Key="TrueConnector">221,366.5 191,366.5 191,704 220,704</av:PointCollection>
            <av:PointCollection x:Key="FalseConnector">378,366.5 460,366.5 460,514.5</av:PointCollection>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="FlowStep_8">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <av:Point x:Key="ShapeLocation">200,127.5</av:Point>
            <av:Size x:Key="ShapeSize">200,89</av:Size>
            <av:PointCollection x:Key="ConnectorLocation">300,216.5 300,266.5</av:PointCollection>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Flowchart_1" sap:VirtualizedContainerService.HintSize="854,1475">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsPinned">False</x:Boolean>
            <av:Point x:Key="ShapeLocation">270,2.5</av:Point>
            <av:Size x:Key="ShapeSize">60,75</av:Size>
            <x:Double x:Key="Width">840</x:Double>
            <av:PointCollection x:Key="ConnectorLocation">300,77.5 300,127.5</av:PointCollection>
            <x:Double x:Key="Height">1265.5</x:Double>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="Sequence_6" sap:VirtualizedContainerService.HintSize="876,1667">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
            <x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="ActivityBuilder_1" sap:VirtualizedContainerService.HintSize="916,1747" />
    </sap2010:ViewStateManager>
  </sap2010:WorkflowViewState.ViewStateManager>
</Activity>