Question

13
Views
Close popover
Michel Kraaij - van den Berg (Michel Kraaij)
Valori B.V.
Pega Testconsultant, Pega Certified ATP Instructor
Valori B.V.
NL
Michel Kraaij Member since 2016 22 posts
Valori B.V.
Posted: November 15, 2020
Last activity: November 15, 2020

IndexOutOfBoundsException for 'Get action details as applied to this assignment' with 'flatListOfFields' (DXAPI)

Running GET /assignments/{ID}/actions/{actionID} without the query parameter 'flatListOfFields' works fine. But including 'flatListOfFields' with either value 'Full' or Basic' results in an 'IndexOutOfBoundsException' error.

Bug?

Running Pega 8.5.1 (might be important for this issue, because 'pzGetAssignmentActionDetails' seems to be a new rule).

Works fine (result 200 with 'view' response body):

http://localhost:8080/prweb/api/v1/assignments/ASSIGN-WORKLIST%20TGB-HRAPPS-WORK%20C-13001!COLLECTCANDIDATEDETAILS_0/actions/CollectPersonalDetails_0

Results in 500 error with stacktrace in Pega log:

http://localhost:8080/prweb/api/v1/assignments/ASSIGN-WORKLIST%20TGB-HRAPPS-WORK%20C-13001!COLLECTCANDIDATEDETAILS_0/actions/CollectPersonalDetails_0?flatListOfFields=Full
http://localhost:8080/prweb/api/v1/assignments/ASSIGN-WORKLIST%20TGB-HRAPPS-WORK%20C-13001!COLLECTCANDIDATEDETAILS_0/actions/CollectPersonalDetails_0?flatListOfFields=Basic

 

Pega Platform 8.5.1 Case Management