Custom Actor Filter: get the curent user logged

1
0
-1

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.

Comments

Submitted by julien.mege on Wed, 04/01/2020 - 12:13

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?

Submitted by yuri.redaelli_1... on Wed, 04/01/2020 - 12:20

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.

Submitted by julien.mege on Wed, 04/01/2020 - 12:30

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?

No answers yet.
Notifications