[APA]The user that was first assigned to a task can not be assigned anymore when having candidate groups

Description

  1. Deploy an app with a process that has a user task with only one candidate group.

  2. Start a process with user1, which is part of the group.

  3. Claim the task with user1.

  4. With admin user assign this task to user2 that is part of the group.

  5. With admin user try to assign the task again to user1:

Expected result: The admin user is able to assign it to user1 again.

Actual result: The admin user is not able to assign the task to user1 again, because the user1 is not displayed in the assignee list anymore.

Activity

Show:
Maurizio Vitale
November 21, 2019, 9:51 AM

Yep we don't have time now to have it paginated. But is an improvement that we should have in M6 and new APIs.

 

Davide Cerbo
November 21, 2019, 8:44 AM

Perhaps you already know, but the member API was limited to 100 results.

To avoid this limit you can pass parameter max=-1, i.g.:

https://identity.aps2dev.envalfresco.com/auth/admin/realms/alfresco/groups/ff8a1fc6-0212-4536-ac00-59372c773e48/members?max=-1

will returns 2107 users, while: 

https://identity.aps2dev.envalfresco.com/auth/admin/realms/alfresco/groups/ff8a1fc6-0212-4536-ac00-59372c773e48/members

will returns 100 users.

Anyway, the API can be paginated using first and max parameters.

Maurizio Vitale
November 20, 2019, 6:04 PM

I am testing the case of task assign to a candidateUsers and I see 2 problems:
 -1) we cannot search groups by name otherwise we will get groups that were not part of the list 
auth/admin/realms/alfresco/groups?search=hr 
2) the /members api returns only X users (I guess)
[auth/admin/realms/alfresco/groups/ff8a1fc6-0212-4536-ac00-59372c773e48/members

Because I am not able to find the hruser that is part of hr

All Replies
November 20, 2019, 2:27 PM

[This comment has been reassigned to allreplies@alfresco.com as part of the Alfresco cloud migration project. The author of this comment was siva.kumar] Not able to reproduce Actual result:   i moving this to test.

We can test it together if required.

Resolved

Assignee

Maurizio Vitale

Reporter

Cristina Jalba

Labels

None

Bug Priority

None

Regression

None

Delivery Team

Team 4

Release Train

None

Sprint

None

Fix versions