Filter List

0
What is the best activity to filter a list in Microflow?
asked
3 answers
0

Hey Maria,

 

You have the "List Operation" activity.

There are 2 options to filter:

 

1- "Filter" option returns an object

imagem.png

https://docs.mendix.com/refguide/list-operation/#312-member-inspections

 

2- "Filter by expressions" returns a List

imagem.png

https://docs.mendix.com/refguide/list-operation/#314-expression

 

Best Regards,

Ricardo Pereira

answered
0

Hello Maria Silva,

 

The filter function in the list operation.

 

https://docs.mendix.com/refguide/list-operation/

 

Hope this helps,

 

Good luck!

 

answered
0

Hey Maria,

there is no best way of filtering the list, it's always depends on your use case. If you have list that is in your cache and list is not big (do not contains e.g.100000 objects) then you can use list operation to filter it and if you wanna filter large list it's better to do retrieve from database and filter your list via XPath.

Hope this help you best regards, Slavko

answered