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

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 :   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 : 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?
1 answers

I found this video very useful