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

pyHasAttachments value incorrect.

SA-75367

Summary



After adding an attachment using the out-of-the-box Add Attachment feature (pyCaseAttachmentsWrapper section), the pyHasAttachments property is unavailable in the pyWorkPage.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a case.
  2. Attach a file to the case.


Root Cause



The pyHasAttachments property was used for  validation. This property must be used internally and is not intended for external usage purpose.


Resolution



Here’s the explanation for the reported behavior:

The pyHasAttachments property is used in a report definition to filter cases with attachments. The pyHasAttachments is not an exposed property due to which it cannot be used in the report definition.

To write a report definition to retrieve all cases with attachments, use an inner join with the Link-Attachment table and retrieve the cases.

Published August 15, 2019 - Updated December 2, 2021

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