Community-Made
List Mode
7min
This action returns most frequent element from a list of elements.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/Aa6UD8ABRARv6yIR3RYp4_image.png?format=webp)
- [ I ] List of elements: Object (List) representing the input list that will be parsed.
- [ O ] Mode: Object (Single Value) representing the most frequent element from the input list.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/G9JXl4yJxKTTaTuGm4FBN_image.png?format=webp)
- Drag the List Mode action from the Community-Made folder to the canvas.
- Declare the variables to be used with the List Mode action.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/fxJ0P7EelGIk0hgT7BIac_image.png?format=webp)
- Assign the newly created variables.
- Save & Run the process and then Check Instance to see the output.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/2ZNwHa8XukUtjCD8DistU_image.png?format=webp)
- Checking the most orderd product from a ordered products list.
To get the customer that placed most orders on your website, generate a list with the account Id of the customer from each order, then use List Mode to get the account that placed most orders.
Updated 31 Aug 2023
![Doc contributor](https://s3.amazonaws.com/archbee-animals/koala.png)
Did this page help you?