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 :-P
Solved! Go to Solution.
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 :-P
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 :-P
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.