BUG - Filter: Key Owner is not working with value ${currentUser()}

Hi at all,
I tried to setup to filters in my camunda tasklist.
One filter has the criteria: Key = Assignee* and value = ${currentUser()}. This filter is working fine.
The other filter has the criteria: Key = Owner* and value = ${currentUser()}. This filter is not working!
I really dont know why. I made sure that the owner is set correctly.
In Debug mode I found out that delegateTask.getAssignee() and delegateTask.getOwner() both return “example@web.de”.
So they should both work, but the filter with the owner as a key, does not show the tasks the other filter is showing.

Do you have any ideas on this?
Thank you :slight_smile:

So I figured out one really strange thing:
When I delete the criteria and create the exact new one, suddenly its working.
So this seems to me as a BUG.

Something else is working too. If I open the filter and click save without changing anything, the filter is suddenly working fine.

Hey,
So I finally found the solution for this topic.
The bug will be fixed by the Camunda team and here is the regarding ticket : https://jira.camunda.com/browse/CAM-13353

As a workaround you can use:
taskService.createTaskQuery()
.taskOwnerExpression("${currentUser()}")