Custom Actor Filter: get the curent user logged

Hi,

is it possible (and how) to get the logged user that is performing a human task inside a custom actor filter?

I'm struggling with the documentation in order to understand how to do that.

Thanks.

hello, you  are currently in a Java implementation for an Actor Filter?

this code will be executed engine side, and there is no loggedUser.

For which use case would you need this logged user?  

Hi,

Yes I'm implementing an Actor Filter in Java.

I need it in order to check his role because of complex logic in process workflow but now I'm not sure anymore.

Probably I need to make a process refactoring if you say that there is no logged user.

Yes because this filter is supposed to let the task available for a group of users, would be strange for this code to filter differently depending on the logged user?