Hello,

I need to find in a List of Products a specific product code. The best option is For Each or LisFilter Action?

Best Regards,

Solution

Hi Jorge

ListFilter is an excellent action for your case.

Miguel Melo gives this example

"I filtered a Products list (containing 100k products) around 200 times using both approaches and the ListFilter action consistently outperformed the iterator by a factor of 2.5x."

https://medium.com/productleague/list-we-forget-387fbd5173d4

https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/System_Actions#ListFilter

Best Regards,

Filipe Alves

Solution