ForLoopIssue-ChildWorkflow false <Activity x:Class="ForLoopIssue-ChildWorkflow" sap:VirtualizedContainerService.HintSize="654,885" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:da="clr-namespace:Dev2.Activities;assembly=Dev2.Activities" xmlns:dci="clr-namespace:Dev2.Common.Interfaces;assembly=Dev2.Common.Interfaces" xmlns:dcid="clr-namespace:Dev2.Common.Interfaces.DB;assembly=Dev2.Common.Interfaces" xmlns:dciipe="clr-namespace:Dev2.Common.Interfaces.Infrastructure.Providers.Errors;assembly=Dev2.Common.Interfaces" xmlns:ddd="clr-namespace:Dev2.Data.Decision;assembly=Dev2.Data" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib" xmlns:uaba="clr-namespace:Unlimited.Applications.BusinessDesignStudio.Activities;assembly=Dev2.Activities" xmlns:wc="clr-namespace:Warewolf.Core;assembly=Warewolf.Core" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"><TextExpression.NamespacesForImplementation><scg:List x:TypeArguments="x:String" Capacity="6"><x:String>Dev2.Common</x:String><x:String>Dev2.Data.Decisions.Operations</x:String><x:String>Dev2.Data.SystemTemplates.Models</x:String><x:String>Dev2.DataList.Contract</x:String><x:String>Dev2.DataList.Contract.Binary_Objects</x:String><x:String>Unlimited.Applications.BusinessDesignStudio.Activities</x:String></scg:List></TextExpression.NamespacesForImplementation><TextExpression.ReferencesForImplementation><sco:Collection x:TypeArguments="AssemblyReference"><AssemblyReference>Dev2.Common</AssemblyReference><AssemblyReference>Dev2.Data</AssemblyReference><AssemblyReference>Dev2.Activities</AssemblyReference></sco:Collection></TextExpression.ReferencesForImplementation><Flowchart DisplayName="ForLoopIssue-ChildWorkflow" sap:VirtualizedContainerService.HintSize="614,845"><Flowchart.Variables><Variable x:TypeArguments="scg:List(x:String)" Name="InstructionList" /><Variable x:TypeArguments="x:String" Name="LastResult" /><Variable x:TypeArguments="x:Boolean" Name="HasError" /><Variable x:TypeArguments="x:String" Name="ExplicitDataList" /><Variable x:TypeArguments="x:Boolean" Name="IsValid" /><Variable x:TypeArguments="uaba:Util" Name="t" /><Variable x:TypeArguments="ddd:Dev2DataListDecisionHandler" Name="Dev2DecisionHandler" /></Flowchart.Variables><sap:WorkflowViewStateService.ViewState><scg:Dictionary x:TypeArguments="x:String, x:Object"><x:Boolean x:Key="IsExpanded">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="Height">809</x:Double><av:PointCollection x:Key="ConnectorLocation">300,77.5 300,226</av:PointCollection></scg:Dictionary></sap:WorkflowViewStateService.ViewState><Flowchart.StartNode><x:Reference>__ReferenceID4</x:Reference></Flowchart.StartNode><FlowStep x:Name="__ReferenceID4"><sap:WorkflowViewStateService.ViewState><scg:Dictionary x:TypeArguments="x:String, x:Object"><av:Point x:Key="ShapeLocation">175,226</av:Point><av:Size x:Key="ShapeSize">250,88</av:Size><av:PointCollection x:Key="ConnectorLocation">300,314 300,395.5</av:PointCollection></scg:Dictionary></sap:WorkflowViewStateService.ViewState><da:AdvancedRecordsetActivity ActionName="{x:Null}" ActivityStateData="{x:Null}" AuthorRoles="{x:Null}" Category="{x:Null}" CurrentResult="{x:Null}" DataTags="{x:Null}" EnvironmentID="{x:Null}" ExecuteActionString="{x:Null}" ExplicitDataList="{x:Null}" FriendlySourceName="{x:Null}" HelpLink="{x:Null}" InputMapping="{x:Null}" InputTransformation="{x:Null}" Inputs="{x:Null}" ObjectName="{x:Null}" OnErrorVariable="{x:Null}" OnErrorWorkflow="{x:Null}" OnResumeKeepList="{x:Null}" OutputMapping="{x:Null}" ParentServiceID="{x:Null}" ParentServiceName="{x:Null}" ParentWorkflowInstanceId="{x:Null}" RecordsetName="{x:Null}" ResourceID="{x:Null}" ResultTransformation="{x:Null}" ResultValidationExpression="{x:Null}" ResultValidationRequiredTags="{x:Null}" ScenarioID="{x:Null}" ScopingObject="{x:Null}" ServiceName="{x:Null}" ServiceUri="{x:Null}" SimulationOutput="{x:Null}" Tags="{x:Null}" ToolboxFriendlyName="{x:Null}" Add="False" DatabindRecursive="False" DeferExecution="False" DisplayName="Filter Benefit By BenefitId" HasError="[HasError]" sap:VirtualizedContainerService.HintSize="250,88" InstructionList="[InstructionList]" IsEndedOnError="False" IsObject="False" IsService="False" IsSimulationEnabled="False" IsUIStep="False" IsValid="[IsValid]" IsWorkflow="False" ObjectResult="" OnResumeClearAmbientDataList="False" OnResumeClearTags="FormView,InstanceId,Bookmark,ParentWorkflowInstanceId,ParentServiceName,WebPage" RemoveInputFromOutput="False" RunWorkflowAsync="False" ServiceServer="00000000-0000-0000-0000-000000000000" SimulationMode="OnDemand" SourceId="00000000-0000-0000-0000-000000000000" SqlQuery="SELECT * &#xA;FROM Benefit &#xA;WHERE Benefit.BenefitId = @DBenefitId " Type="Advanced Recordset" UniqueID="0007a62e-6f15-4d82-9cde-baf3d801695a"><da:AdvancedRecordsetActivity.AmbientDataList><InOutArgument x:TypeArguments="scg:List(x:String)" /></da:AdvancedRecordsetActivity.AmbientDataList><da:AdvancedRecordsetActivity.DeclareVariables><scg:List x:TypeArguments="dci:INameValue" Capacity="4"><dci:NameValue Name="DBenefitId" Value="[[BenefitId]]" /><dci:NameValue Name="" Value="" /></scg:List></da:AdvancedRecordsetActivity.DeclareVariables><da:AdvancedRecordsetActivity.IconPath><InArgument x:TypeArguments="x:String"><Literal x:TypeArguments="x:String" Value="" /></InArgument></da:AdvancedRecordsetActivity.IconPath><da:AdvancedRecordsetActivity.Outputs><scg:List x:TypeArguments="dcid:IServiceOutputMapping" Capacity="2"><wc:ServiceOutputMapping Path="{x:Null}" MappedFrom="BenefitId" MappedTo="[[FilterBenefit().BenefitId]]" RecordSetName="FilterBenefit" /><wc:ServiceOutputMapping Path="{x:Null}" MappedFrom="BenefitName" MappedTo="[[FilterBenefit().BenefitName]]" RecordSetName="FilterBenefit" /></scg:List></da:AdvancedRecordsetActivity.Outputs><da:AdvancedRecordsetActivity.ParentInstanceID><InOutArgument x:TypeArguments="x:String" /></da:AdvancedRecordsetActivity.ParentInstanceID><sap:WorkflowViewStateService.ViewState><scg:Dictionary x:TypeArguments="x:String, x:Object"><x:Boolean x:Key="IsExpanded">True</x:Boolean></scg:Dictionary></sap:WorkflowViewStateService.ViewState></da:AdvancedRecordsetActivity><FlowStep.Next><FlowStep x:Name="__ReferenceID1"><sap:WorkflowViewStateService.ViewState><scg:Dictionary x:TypeArguments="x:String, x:Object"><av:Point x:Key="ShapeLocation">200,395.5</av:Point><av:Size x:Key="ShapeSize">200,89</av:Size><av:PointCollection x:Key="ConnectorLocation">300,484.5 300,546.5</av:PointCollection></scg:Dictionary></sap:WorkflowViewStateService.ViewState><uaba:DsfCountRecordsetNullHandlerActivity CurrentResult="{x:Null}" ExplicitDataList="{x:Null}" InputMapping="{x:Null}" InputTransformation="{x:Null}" OnErrorVariable="{x:Null}" OnErrorWorkflow="{x:Null}" OnResumeKeepList="{x:Null}" OutputMapping="{x:Null}" ParentServiceID="{x:Null}" ParentServiceName="{x:Null}" ParentWorkflowInstanceId="{x:Null}" ResultTransformation="{x:Null}" ScenarioID="{x:Null}" ScopingObject="{x:Null}" SimulationOutput="{x:Null}" Add="False" CountNumber="[[FilterBenefitCount]]" DatabindRecursive="False" DisplayName="Count Records" HasError="[HasError]" sap:VirtualizedContainerService.HintSize="200,89" InstructionList="[InstructionList]" IsEndedOnError="False" IsService="False" IsSimulationEnabled="False" IsUIStep="False" IsValid="[IsValid]" IsWorkflow="False" OnResumeClearAmbientDataList="False" OnResumeClearTags="FormView,InstanceId,Bookmark,ParentWorkflowInstanceId,ParentServiceName,WebPage" RecordsetName="[[FilterBenefit(*)]]" SimulationMode="OnDemand" TreatNullAsZero="True" UniqueID="e605500f-6e49-45c6-ac3b-d7b5b8e3cae3"><uaba:DsfCountRecordsetNullHandlerActivity.AmbientDataList><InOutArgument x:TypeArguments="scg:List(x:String)" /></uaba:DsfCountRecordsetNullHandlerActivity.AmbientDataList><uaba:DsfCountRecordsetNullHandlerActivity.ParentInstanceID><InOutArgument x:TypeArguments="x:String" /></uaba:DsfCountRecordsetNullHandlerActivity.ParentInstanceID><sap:WorkflowViewStateService.ViewState><scg:Dictionary x:TypeArguments="x:String, x:Object"><x:Boolean x:Key="IsExpanded">True</x:Boolean></scg:Dictionary></sap:WorkflowViewStateService.ViewState></uaba:DsfCountRecordsetNullHandlerActivity><FlowStep.Next><FlowDecision x:Name="__ReferenceID2" DisplayName="If [[FilterBenefitCount]] Is &gt; 0" sap:VirtualizedContainerService.HintSize="159,87"><FlowDecision.Condition><uaba:DsfFlowDecisionActivity CurrentResult="{x:Null}" ExplicitDataList="{x:Null}" InputMapping="{x:Null}" InputTransformation="{x:Null}" OnErrorVariable="{x:Null}" OnErrorWorkflow="{x:Null}" OnResumeKeepList="{x:Null}" OutputMapping="{x:Null}" ParentServiceID="{x:Null}" ParentServiceName="{x:Null}" ParentWorkflowInstanceId="{x:Null}" ResultTransformation="{x:Null}" ScenarioID="{x:Null}" ScopingObject="{x:Null}" SimulationOutput="{x:Null}" Add="False" DatabindRecursive="False" DisplayName="If [[FilterBenefitCount]] Is &gt; 0" ExpressionText="Dev2.Data.Decision.Dev2DataListDecisionHandler.Instance.ExecuteDecisionStack(&quot;{!TheStack!:[{!Col1!:![[FilterBenefitCount]]!,!Col2!:!0!,!Col3!:!!,!Cols1!:null,!Cols2!:null,!Cols3!:null,!PopulatedColumnCount!:2,!EvaluationFn!:!IsGreaterThan!}],!TotalDecisions!:1,!ModelName!:!Dev2DecisionStack!,!Mode!:!AND!,!TrueArmText!:!True!,!FalseArmText!:!False!,!DisplayText!:!If [[FilterBenefitCount]] Is &gt; 0!,!Version!:null}&quot;,AmbientDataList)" HasError="[HasError]" InstructionList="[InstructionList]" IsEndedOnError="False" IsService="False" IsSimulationEnabled="False" IsUIStep="False" IsValid="[IsValid]" IsWorkflow="False" OnResumeClearAmbientDataList="False" OnResumeClearTags="FormView,InstanceId,Bookmark,ParentWorkflowInstanceId,ParentServiceName,WebPage" SimulationMode="OnDemand" UniqueID="d64b1bd9-9765-4022-b362-f15f7def271c"><uaba:DsfFlowDecisionActivity.AmbientDataList><InOutArgument x:TypeArguments="scg:List(x:String)" /></uaba:DsfFlowDecisionActivity.AmbientDataList><uaba:DsfFlowDecisionActivity.ParentInstanceID><InOutArgument x:TypeArguments="x:String" /></uaba:DsfFlowDecisionActivity.ParentInstanceID></uaba:DsfFlowDecisionActivity></FlowDecision.Condition><sap:WorkflowViewStateService.ViewState><scg:Dictionary x:TypeArguments="x:String, x:Object"><x:Boolean x:Key="IsExpanded">True</x:Boolean><av:Point x:Key="ShapeLocation">220.5,546.5</av:Point><av:Size x:Key="ShapeSize">159,87</av:Size><av:PointCollection x:Key="TrueConnector">220.5,590 120,590 120,696</av:PointCollection><av:PointCollection x:Key="FalseConnector">379.5,590 480,590 480,706</av:PointCollection></scg:Dictionary></sap:WorkflowViewStateService.ViewState><FlowDecision.True><FlowStep x:Name="__ReferenceID0"><sap:WorkflowViewStateService.ViewState><scg:Dictionary x:TypeArguments="x:String, x:Object"><av:Point x:Key="ShapeLocation">5,696</av:Point><av:Size x:Key="ShapeSize">230,88</av:Size></scg:Dictionary></sap:WorkflowViewStateService.ViewState><uaba:DsfDotNetMultiAssignActivity CurrentResult="{x:Null}" ExplicitDataList="{x:Null}" InputMapping="{x:Null}" InputTransformation="{x:Null}" OnErrorVariable="{x:Null}" OnErrorWorkflow="{x:Null}" OnResumeKeepList="{x:Null}" OutputMapping="{x:Null}" ParentServiceID="{x:Null}" ParentServiceName="{x:Null}" ParentWorkflowInstanceId="{x:Null}" ResultTransformation="{x:Null}" ScenarioID="{x:Null}" ScopingObject="{x:Null}" ServiceHost="{x:Null}" SimulationOutput="{x:Null}" Add="False" CreateBookmark="False" DatabindRecursive="False" DisplayName="Set BenefitName (1)" HasError="[HasError]" sap:VirtualizedContainerService.HintSize="230,88" InstructionList="[InstructionList]" IsEndedOnError="False" IsService="False" IsSimulationEnabled="False" IsUIStep="False" IsValid="[IsValid]" IsWorkflow="False" OnResumeClearAmbientDataList="False" OnResumeClearTags="FormView,InstanceId,Bookmark,ParentWorkflowInstanceId,ParentServiceName,WebPage" SimulationMode="OnDemand" UniqueID="842a41c8-b150-486c-8461-2338aa2c57b0" UpdateAllOccurrences="False"><uaba:DsfDotNetMultiAssignActivity.AmbientDataList><InOutArgument x:TypeArguments="scg:List(x:String)" /></uaba:DsfDotNetMultiAssignActivity.AmbientDataList><uaba:DsfDotNetMultiAssignActivity.FieldsCollection><scg:List x:TypeArguments="uaba:ActivityDTO" Capacity="4"><uaba:ActivityDTO ErrorMessage="{x:Null}" Path="{x:Null}" WatermarkTextValue="{x:Null}" WatermarkTextVariable="{x:Null}" FieldName="[[BenefitName]]" FieldValue="[[FilterBenefit(*).BenefitName]]" IndexNumber="1" Inserted="False" IsFieldNameFocused="False" IsFieldValueFocused="False"><uaba:ActivityDTO.Errors><scg:Dictionary x:TypeArguments="x:String, scg:List(dciipe:IActionableErrorInfo)" /></uaba:ActivityDTO.Errors><uaba:ActivityDTO.OutList><scg:List x:TypeArguments="x:String" Capacity="0" /></uaba:ActivityDTO.OutList></uaba:ActivityDTO><uaba:ActivityDTO ErrorMessage="{x:Null}" Path="{x:Null}" WatermarkTextValue="{x:Null}" WatermarkTextVariable="{x:Null}" FieldName="" FieldValue="" IndexNumber="2" Inserted="False" IsFieldNameFocused="False" IsFieldValueFocused="False"><uaba:ActivityDTO.Errors><scg:Dictionary x:TypeArguments="x:String, scg:List(dciipe:IActionableErrorInfo)" /></uaba:ActivityDTO.Errors><uaba:ActivityDTO.OutList><scg:List x:TypeArguments="x:String" Capacity="0" /></uaba:ActivityDTO.OutList></uaba:ActivityDTO></scg:List></uaba:DsfDotNetMultiAssignActivity.FieldsCollection><uaba:DsfDotNetMultiAssignActivity.ParentInstanceID><InOutArgument x:TypeArguments="x:String" /></uaba:DsfDotNetMultiAssignActivity.ParentInstanceID><sap:WorkflowViewStateService.ViewState><scg:Dictionary x:TypeArguments="x:String, x:Object"><x:Boolean x:Key="IsExpanded">True</x:Boolean></scg:Dictionary></sap:WorkflowViewStateService.ViewState></uaba:DsfDotNetMultiAssignActivity></FlowStep></FlowDecision.True><FlowDecision.False><FlowStep x:Name="__ReferenceID3"><sap:WorkflowViewStateService.ViewState><scg:Dictionary x:TypeArguments="x:String, x:Object"><av:Point x:Key="ShapeLocation">365,706</av:Point><av:Size x:Key="ShapeSize">230,88</av:Size></scg:Dictionary></sap:WorkflowViewStateService.ViewState><uaba:DsfDotNetMultiAssignActivity CurrentResult="{x:Null}" ExplicitDataList="{x:Null}" InputMapping="{x:Null}" InputTransformation="{x:Null}" OnErrorVariable="{x:Null}" OnErrorWorkflow="{x:Null}" OnResumeKeepList="{x:Null}" OutputMapping="{x:Null}" ParentServiceID="{x:Null}" ParentServiceName="{x:Null}" ParentWorkflowInstanceId="{x:Null}" ResultTransformation="{x:Null}" ScenarioID="{x:Null}" ScopingObject="{x:Null}" ServiceHost="{x:Null}" SimulationOutput="{x:Null}" Add="False" CreateBookmark="False" DatabindRecursive="False" DisplayName="Set Blank BenefitName (1)" HasError="[HasError]" sap:VirtualizedContainerService.HintSize="230,88" InstructionList="[InstructionList]" IsEndedOnError="False" IsService="False" IsSimulationEnabled="False" IsUIStep="False" IsValid="[IsValid]" IsWorkflow="False" OnResumeClearAmbientDataList="False" OnResumeClearTags="FormView,InstanceId,Bookmark,ParentWorkflowInstanceId,ParentServiceName,WebPage" SimulationMode="OnDemand" UniqueID="6a70c6c4-e90b-45b3-91ef-f8155e3e3eb7" UpdateAllOccurrences="False"><uaba:DsfDotNetMultiAssignActivity.AmbientDataList><InOutArgument x:TypeArguments="scg:List(x:String)" /></uaba:DsfDotNetMultiAssignActivity.AmbientDataList><uaba:DsfDotNetMultiAssignActivity.FieldsCollection><scg:List x:TypeArguments="uaba:ActivityDTO" Capacity="4"><uaba:ActivityDTO ErrorMessage="{x:Null}" Path="{x:Null}" WatermarkTextValue="{x:Null}" WatermarkTextVariable="{x:Null}" FieldName="[[BenefitName]]" FieldValue="" IndexNumber="1" Inserted="False" IsFieldNameFocused="False" IsFieldValueFocused="False"><uaba:ActivityDTO.Errors><scg:Dictionary x:TypeArguments="x:String, scg:List(dciipe:IActionableErrorInfo)" /></uaba:ActivityDTO.Errors><uaba:ActivityDTO.OutList><scg:List x:TypeArguments="x:String" Capacity="0" /></uaba:ActivityDTO.OutList></uaba:ActivityDTO><uaba:ActivityDTO ErrorMessage="{x:Null}" Path="{x:Null}" WatermarkTextValue="{x:Null}" WatermarkTextVariable="{x:Null}" FieldName="" FieldValue="" IndexNumber="2" Inserted="False" IsFieldNameFocused="False" IsFieldValueFocused="False"><uaba:ActivityDTO.Errors><scg:Dictionary x:TypeArguments="x:String, scg:List(dciipe:IActionableErrorInfo)" /></uaba:ActivityDTO.Errors><uaba:ActivityDTO.OutList><scg:List x:TypeArguments="x:String" Capacity="0" /></uaba:ActivityDTO.OutList></uaba:ActivityDTO></scg:List></uaba:DsfDotNetMultiAssignActivity.FieldsCollection><uaba:DsfDotNetMultiAssignActivity.ParentInstanceID><InOutArgument x:TypeArguments="x:String" /></uaba:DsfDotNetMultiAssignActivity.ParentInstanceID><sap:WorkflowViewStateService.ViewState><scg:Dictionary x:TypeArguments="x:String, x:Object"><x:Boolean x:Key="IsExpanded">True</x:Boolean></scg:Dictionary></sap:WorkflowViewStateService.ViewState></uaba:DsfDotNetMultiAssignActivity></FlowStep></FlowDecision.False></FlowDecision></FlowStep.Next></FlowStep></FlowStep.Next></FlowStep><x:Reference>__ReferenceID0</x:Reference><x:Reference>__ReferenceID1</x:Reference><x:Reference>__ReferenceID2</x:Reference><x:Reference>__ReferenceID3</x:Reference></Flowchart></Activity>