Re: UserQuery.userId(1) returns empty list of users
The identity service in community is not used in Alfresco Process Services. User Info Bean (userInfoBean) | Alfresco Documentation is one way to fetch it. There is a lot of other Java APIs too that you can use. As a customer you can get access to the Alfresco Nexus Repository from where you can download the java docs as well as the source code of Alfresco Process Services to find out all the available Java APIs/Spring Beans.