I know that case sharing works by storing the user group’s id into the owner ID, and internally checks if the current user is in that group. that works. it’s fantastic.
here’s my scenario that may be unnecessarily complicated, but i’m wondering if i could pull if off anyway.
In my one application, i’m handling 4 types of cases. case sharing is active on the application level.
I have added a manual field where you can select a username that get’s stored in the property “last_user”
i want to make a case list that will only show me cases where the last_user property is equal to the username of the current user.
I know i have to put this in the filter field, i have to define a filter that says something like “last_user = /data/meta/username” but i can’t seem to figure out the right syntax. it’s throwing an error. I’m trying to get the currently logged username in the case list screen. I have no problems using this syntax inside a form. i’m guessing cause of the “data/meta/” tags
is it at all possible in a case list screen as far as you know guys?