Get user id from tasklist in JSF CDI Bean

@NickiMueller it should be like below:

<bpmn:serviceTask id="setUserTask" name="setUserTask" camunda:expression="${currentUser()}">

Function Return Type Description
currentUser() String Returns the user id of the currently authenticated user or null no user is authenticated at the moment.