--- title: "Find Last in List" slug: "find-last-in-list" updated: 2022-11-01T14:20:52Z published: 2022-11-01T14:20:52Z canonical: "documentation.decisions.com/find-last-in-list" --- > ## 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. # Find Last in List | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 7.12.0 | | **Location** | Data > List | The Find Last in List step is used to determine the last object in an array of a defined Decisions data type. The step takes the initial array of objects via the Input Collection input in conjunction with the Type drop-down menu. The step outputs this value as a singular object that reflects the defined datatype from the Type menu. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Expose Flow Data | Makes the Flow Data within the Parent Flow available within the Sub-Flow that the sort logic is built in. | Boolean | | Type | The desired data type that the step will evaluate. | --- | | Data to Return | Return Matches, Return Matches and Non-Matches, Return Non-Matches | --- | | Input Collection | A list of items to pass into the Flow where the sort logic is built. | List of --- | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | FindLastInList1_Output | List of Items that were sorted according to the logic within the Flow. | String | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2022-10-31_14h20_25.png)