10-26-2018 06:59 AM
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 😛
10-30-2018 10:59 AM
I have raised a ticket to the Alfresco Support and they said that the IdentityService of Activiti can't be used inside Alfresco Process Services.
The supported way is to use the new services available such as UserService and GroupService.
Hope this helps other community members 😛
10-30-2018 10:59 AM
I have raised a ticket to the Alfresco Support and they said that the IdentityService of Activiti can't be used inside Alfresco Process Services.
The supported way is to use the new services available such as UserService and GroupService.
Hope this helps other community members 😛
Explore our Alfresco products with the links below. Use labels to filter content by product module.