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

Issue with Pega attachment functionality

SA-17576

Summary



When trying to attach a file of size greater than the specified size from Pega OOTB functionality, it is showing an exception in logs-   User attempted to upload a file larger than 2 MB. Please contact the System Administrator.

Error Messages



com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find a 'RULE-OBJ-ACTIVITY' with the name 'PYUPLOADFILE' that applies to 'SP-FW-SPOCFW-Work-NewIssuer'. There were 6 rules with this name in the rulebase, but none matched this request.

User attempted to upload a file larger than 2 MB. Please contact the System Administrator. 


Steps to Reproduce



1. Run the Case.
2. Try attaching a file which is greater than the threshold size(5MB) from OOTB functionality.
  
<env name="Initialization/MaximumFileUploadSizeMB" value="5" />


Root Cause



A defect in Pegasystems’ code or rules. user did not specify a size which is less or equal to 'initialization/maximumfileuploadsizemb' value in prconfig. Values (in prconfig and in 'pyMaxDragDropAttachSizeMB') are out of sync. 

Resolution



Perform the following local-change:

Changed the level value to the preferred threshold value in Pega-ProcessEngine.
pyMaxDragDropAttachSizeMB so that the value in level is in sync with the value mentioned in prconfig file. 

 

Published January 31, 2016 - 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?

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