Community-Made

List Mode

7min

This action returns most frequent element from a list of elements.

Document image


Inputs & Outputs

  • [ 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


Example Usage

  • Drag the List Mode action from the Community-Made folder to the canvas.



Document image

  • Declare the variables to be used with the List Mode action.



Document image

  • Assign the newly created variables.
  • Save & Run the process and then Check Instance to see the output.



Document image


Use Cases

  • Checking the most orderd product from a ordered products list.

Tips

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.

Creator