Hash variable with filter or where
Confluence User - 25 Aug, 2022
If I have the below table of name app_fd_classes and using #currentUser.groups.id# to check the logged-in user group (suppose each user must be in one group)
| Class ID | Class Name | Group ID |
| 4 | class four | G-001 |
| 6 | class six | G-002 |
Can I have a hash variable that retrieves the class name of the currently logged-in user
Ex: If the logged-in user is in group 'G-001' then I want a hash variable to retrieve 'class four'
something like: #form.classes.ClassName[GroupId={currentUser.groups.id}]#
thanks in advance
forms;hash-variables;nested_hash_variables;filters