Retrieve from the entity

How to retrieve objects from the entity using a micro-flow Please respond to the below scenario:- A string value say "meat" should be passed to the category-id of the association entity promotion-item-category when i click the action button having text as "meat",The resultant query should be displayed in a data grid. I have actually routed my action button to a micro flow and i that micro flow contains retrieve action and a show page,But the resultant output is wrong Please help me out Regards J,Jayanth
1 answers

It seems you are trying to create custom search functionality. Why not use the Mendix default? If you have a data grid, you can add a search field of type drop down. Then, you connect this search field over the association to the ItemCategory/Name attribute. Your user now has a drop down to filter the data grid.