Error occurs while resuming subflow during Update assignment
Post upgrading Pega Platform 7.3 to Pega Platform 8.2.3, error occurs while resuming a subflow that has a process level SLA defined on it. This occurs consistently during an Update assignment.
AssignmentID is null
[ttp-nio-8080-exec-55] [ STANDARD] [ shared] [ RuleSet:02.01.01] (s.WorkClass.Action) ERROR csvwa00a2290|127.0.0.1|Rest|Pega|PegaAPI|updateassignment|AQVIDQ6EPU6C2HW63AKMH0FYZQ7AJUFW5A - Error occured while processing ASSIGN-WORKLIST WorkClass SRB-7947-POLL!POLLING Unable to open an instance using the given inputs: ASSIGN-INTERNAL WorkClass SRB-7947-POLL!PZINTERNALPROCESSFLOW
Steps to Reproduce
- Create a case and its subcase.
- Resume the subcase flow through a Service-REST API.
The error occurred because the system attempted to open and delete the assignment which was already defer deleted.
The 'Delete Open Assignments' settings makes the system invoke additional activities to check for already defer deleted assignments.
Perform the following local-change:
The difference between Pega 7.3.1 and Pega 8.2.3 is the introduction of the pxForceCaseClose activity to support the 'Resolve open child cases' feature.
Considering the changes in pxForeCaseClose and invoking of additional activities due to selecting the 'Resolve the case' (as in the below image), deselect the 'Delete Open Assignments' checkbox (since the user is resolving the case in the flow process using the updateStatus with CompleteAssignment).