XPATH Question

1
I have an employee table in my domain that is a generalisation of Administration.Account. The Employee table is joined to a department. So each Employee belongs to a department. I am trying to filter a datagrid based on the users department, based on their login details. So when a user logs in I want to lookup the department they belong to and filter records on that department, but I can't seem to get access to the current user information in XPATH. Should I use a microflow to retrieve the list and then pass it to the form, can this be done? Thanks in advance for your help. Nick
asked
1 answers
4

Hi Nick,

From my point of view, the following Xpath must do the job:

[ModuleName.Employee_Department = '[%CurrentUser%]' ]

answered