Filter Data

0
For Multi tenant feature , I had created entities organization , users , documents . user to org , doc to org has one to many association.  my question is : I am using a page to display the data of the organizations. Based on organization i need filter the data. Suppose we have org1 , org2 . For both organizations have the users. when a user is logged in , he need to get the data of his organization. For this in documents entity in access rule i am writing an xpath  constraint  [MultiTenant.Documents_Organization/MultiTenant.Organization/MultiTenant.User_Organization='[%CurrentUser%]']. which is not filtering the data while the user logged in.  while the same xpath constraint is working in microflows , while i am retrieving the documents entity.
asked
0 answers