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

Unable to open Notes attached to the cases



Two different case types are present in which the case IDs starts with the Swedish characters Ä and Ö.
After attaching a note to these cases, unable to open the note. The note is visible in the grid. However, error occur when attempting to open the note.

Error Messages

Error on the screen: "Information : Can't open note"

Error in Tracer: Unable to open an instance using the given inputs: DATA-WORKATTACH-NOTE DEMO-APP-WORK ÄN-53-350! GMT

Steps to Reproduce

  1. Create a Rectification or an Appeal case.
  2. Create a Note and submit it.
  3. Click the link to open the note.

Root Cause

The first activity that is invoked when the note attachment link is clicked in the GetAttachmentReference. Till the activity is executed, the instance handle of the note attachment (DATA-WorkAttach-Note class instance) has the correct value and the special characters are intact.
Next, the DisplayNote activity is invoked and the instance name is passed in distorted format. This causes failure in the subsequent steps.
This occurs because the browser applies a characterset. Thus, the single byte representation of the special character Ä (code point x00C4) is broken in to multibyte characters Ä. The equivalent HTML encoded format '%C3%83%C2%84' is passed to the parameter (param.LinkedRefTo). Hence, the subsequent Obj-Open-By-Handle fails because it looks for the distorted instance handle in the database.


Perform the following local-change:
  1. Extend the Work-GetAttachmentReference and Work-DisplayNote activities to the ruleset. Both are Available rules.
  2. Comment out or remove Step 19 of the first activity :       

  3. Modify Step 1 of the DisplayNote activity as below,

  4. Add the pyAttachmentPage in the Pages & Classes of the second activity.
  5. Remove the pyAttachmentPage in Step 5 of this activity.

Published April 7, 2019 - 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