Applying filtering through X Path

Hi All, There are four different types of filters, depends upon the filter values entered I need to retrieve all the objects which matches those values. If they apply filter on a and b values I need to retrieve all the objects combination of both a and b values, if they give only c value I need to retrieve only objects matches with c value, how to achieve this ?
2 answers

Hello Mahendra,


I would advise you then to use a marketplace module where you can insert a string as a query,

for example the oql module. So you can create a string variable and set up the query in there and then you can execute the query with an microflow query action.

This is a bit outside of the mendix tooling and less readable put I think for your use case the best way to do it.

Make sure you put some good documentation and annotation.


Hope this helps,


Good luck!






here an example flow