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

Work object does not show Excel sheet added as an attachment

SA-51981

Summary



Work object does not display the Excel sheet added as an attachment when invoking the SaveAllAttachments activity.


Error Messages



Not Applicable


Steps to Reproduce



Create an activity to call the SaveAllAttachments for attaching an Excel sheet to a work object.


Root Cause



An issue in the custom application code or rules.

The Param.InsHandle passed to the Work-.AttachFile did not include the work object ID. It included only the class name because the case was not persisted until after the activity was executed.



Resolution



Perform the following local-change:

Persist the case before attaching the Excel file.

Published April 15, 2018 - 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