Hi,
I have implemented a custom REST endpoint on APS 1.8.1 and it is currently using the following instruction:
List<User> users = identityService.createUserQuery().list();
It is returning an empty array, no results from the APS application.
Before implementing the REST logic I have implemented a dedicated JUnit test in the Activiti Maven SDK module where I use exactly the same query but in this case is returning correctly all the users I created in the Before annotated method.
I think that I'm missing something, do you have any ideas about how to retrieve all the users from a custom REST endpoint?
Thank you for any help on this 😛