Hi,
I want to create the following: a have a list of items in a data grid. In the entity I have added an attribute 'Role' which is now a string. I only want the items to be shown, if this Role is the same as the Role from the current user, which is stored in System.User/System.UserRoles/System.UserRole/Name. I have tried this in several ways:
- referring to $currentUser and [%CurrentUser%] in the Xpath constraint of the data grid
- using a microflow as input for the data grid
- creating another string attribute in the entity and trying to keep that in sync with the role of the user
However, all of this didn't work out.
Thanks in advance and regards,
Frank