Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Attachments appear twice on withdrawing a case

SA-48406

Summary



After adding an attachment in the Attachments section and withdrawing a case, the attachments appear twice and an error occurs when opening them. However, on performing a refresh, the extra attachments are deleted.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a Case Type rule.
  2. Configure pyWithDrawFromNav flow action as a case level local action.
  3. Run the case and add the attachments.
  4. Withdraw the case using pyWithDrawFromNav local action.


Root Cause



In the Work- pzUpdateAndDeleteAssignments activity, the Java step included a code to copy a page using the 'putall(..)'. For a pagelist, the 'putall' appended to the target page instead of replacing it. This caused duplicates to appear. The Java step was replaced with page-copy.


Resolution



Apply HFix-40044.


Published December 31, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us