Support Article
Multiple records show in the work basket
SA-19582
Summary
Multiple records show in the work list for same case ID with Pega 7.1.8.
Error Messages
Not Applicable.
Steps to Reproduce
1. Open an Assignment.
2. Change the stage to any other.
3. Check the work list and there are two records with same case id with different Description.
4. Do a transer of the second assignment to any work basket.
5. Observe that the second assignment is moved to work basket but the first assignment is still shown in work list.
Root Cause
The reported behavior is an expected behavior to show the open assignments in the work list. As there are two open assignments by doing a change stage, there will be two work object ids shown in the work list.
‘pyChangeStage’ activity will not clean the previous open assignments by default. If developer wants to clean the previous open assignments, override the activity and check ‘CleanUpProcesses’ check box in second and third steps. This will execute to remove all previous assignments when a change stage is done.
Resolution
The reported behavior is an expected behavior. But if developer wants to remove the previous assignments when doing a 'pyChangeStage', perform the following local-change:
Save as 'pyChangeStage' activity and check 'CleanUpProcesses' on second and third steps.
Published February 10, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.