How do i filter a data grid to show only objects that are associated to the current user?

0
I have a usecase where a user can apply for leaves and can see all his leave requests in a datagrid. The problem is currently i have no idea how to filter the data grid in xpath for this scenario. I have tried to do it in the way as specified in this post : https://community.mendix.com/link/space/xpath/questions/110290   but that just shows an empty datagrid. I have also tried to associate a newly created leave request with the current user in a microflow as suggested in this post : https://community.mendix.com/link/space/app-development/questions/5155 my questions are : how do i check if the current user object is getting associated with the leave request object? how do i filter my data grid to show only leave requests that have been created by the current user?
asked
1 answers
0

I found this video very useful https://youtu.be/YO4R-KV2Mgs?si=KUxOdm0jGrc1oSND

answered