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

Encoding process appends 24 after the dollar sign in file name



When attaching a file to a case whose file name includes a dollar symbol (for example, FileSample$.txt), internally the file is stored with file name with 24 after the dollar sign (FileSample$24.txt). The Attachment or Encoding process appends a '24' after the dollar symbol.

For example, 

FileSample$.txt is stored as FileSample$24.txt

This occurs only for the $ symbol (in the file name).

Error Messages

Not Applicable


Not Applicable

Root Cause

An issue in the custom application code or rules.
An encoded value was used to populate the file name when the file was attached.


Perform the following local-change:

Decode the below string that is used for the file name before saving,

attachment:NameOfMyFile = StringUtils.decodeCrossOSString(NameOfMyFile);
Suggest Edit

Published August 15, 2019 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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