--- title: "Get Objects of Type" slug: "get-objects-of-type" tags: ["Data Objects", "Lists"] updated: 2023-01-03T15:06:20Z published: 2023-01-03T15:06:20Z canonical: "documentation.decisions.com/get-objects-of-type" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Objects of Type | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 5.12.0 | | **Location** | Data | The **Get Objects of Type** step is used to extract objects of a user-specified data type from a List of Objects. The step does so via the Source List Input which allows users to Input the List that will be filtered by the step. The other utilized Input in this step is the Objects of Type drop-down, wherein users choose the type of Object they are trying to filter. The step then takes the filtered Objects and compiles them into a new List. Note: The step offers an additional path to handle the event of the step returning no results. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Source List | List to be filtered by the Objects of Type | List of Object | #### Data | Property | Description | Data Type | | --- | --- | --- | | Objects of Type | Allows a user to choose the type of Object to filter by | --- | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Output | List of the filtered objects | List of | --- ## Example Inputs and Outputs | Source List | Output | | --- | --- | | "see","This" | "see", "This" | | Null | data:{} | | Empty String | data:{} | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1672756687084.png) --- ## Common Errors ### Value cannot be null If the Objects of Type field is not set, an error will occur. To correct this, ensure that the Object of Types field is set to a data type. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get Objects Of Type 1[GetObjectsOfType] in flow [Flow 2]: Value cannot be null. (Parameter 'nativeType') ---> System.ArgumentNullException: Value cannot be null. (Parameter 'nativeType' at DecisionsFramework.Utilities.Data.DecisionsTypeHelper.IsDynamicType(DecisionsType rawType, Type& nativeType at DecisionsFramework.Utilities.Data.DecisionsTypeHelper.GetNativeType(DecisionsType rawType at DecisionsFramework.Design.Flow.CoreSteps.GetObjectsOfType.Run(StepStartData data at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` ## Related - [Data Pair to Object Step](/data-pair-to-object-step.md) - [Output Data](/output-data.md) - [Parse Date With Format Step](/parse-date-with-format-step.md) - [Create Data](/create-data.md) - [Object Properties to Data Pairs Step](/object-properties-to-data-pairs-step.md) - [Objects Are Equal](/objects-are-equal.md) - [Object is Null](/object-is-null.md)