you might want to try EnvironmentImpl.getAuthenticatedUserId() or task.getAssignee()
Reply to this message by going to Community
Start a new discussion in jBPM at Community