Note: Jérémie also responded, his method works too! (and is a much simpler, why didn’t I think of that...)
Hi Bhakti,
You can create a non-persistable entity with the dropdowns you would like to search on. (image 1)
You can then create a microflow that creates the non-persistable entity and passes it to a page. The page will have the non-persistable entity as its page parameter and the list view nested within the page parameter. (Image 2)
Add two dropdowns outside the list view but within the page parameter that look at the enumerations in the non-persitable entity.
Set the list view as a microflow data source, this microflow should have the parameter of Data_Filter (the non-persistable entity) and retrieve a list of the persistable entity using the options selected in the non-persitable as your XPath constraints. (image 3)
**I would suggest adding an onchange microflow to the dropdowns in the dataview, make them refresh the client otherwise the filter would not change what is showing in the list view.
Why would you not use a Datagrid? You can then easily use the standard search fields: