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

OOTB attach file functionality does not work as expected

SA-9126

Summary



ProcessAddAttachment (Pega-ProcessEngine:07-10-01) does not work as expected in the Pega activity rule. The activity is unable to attach files to the work ID.

Error Messages



Please select an attachment

Steps to Reproduce



1. Create a flow rule.
2. Create a section rule with the file attach control.
3. In the post activity of the flow action, include the ProcessAddAttachment activity.
4. Include the flow action in the flow rule. 
5. Run the flow, attach the file, and click Submit to process the flow action.

Root Cause



The root cause of this problem is a defect in Pegasystems’ code or rules.

Resolution



The activity is deprecated. Use one of the options given below.
  • Use pxAttachContent control, which will directly attach documents to the work ID.
  • Update the flow action with initAttachmentPage in the pre-processing activity and Attachfile in post-processing activity. Activites mentioned are out-of-the-box, which would also attach the document to the work ID.

Published May 4, 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?

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