AEM Workflow - Current user for a process step
We are trying to get publisher and use that in the custom email template to send a notification.
String currentUser = workItem.getCurrentAssignee();
The above returns "null"
String currentUser = resourceResolver.getUserID();
The above one returns "workflow-process-service"
Can we use workitem used to return the current user

