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

Attachment category rule is not working as expected



Delete check box is unchecked but user is able to delete document on when condition is true. 

Error Messages

Not Applicable.

Steps to Reproduce

Create an attachment category.
Use 'Always' When Rule to the "Access control list by When Rule" of the attachment category.
Check the 'Create' check box in the When, and keeping remainings unchecked.

4. Refer the attachment category in the case type and run the case.
5. Attach a file and then try to delete the file.    

Root Cause

The attachment category security check has been removed while deleting attachments.


As the Section : pyWorkAttachmentsFeedElement is in UI-Kit and it is an available rule , so it need to 'Save As' to Application Ruleset. Currently on the delete icon the visibility is "ALWAYS", so please change it to WHEN condition and add "HaveAttachmentDeletePrivileges" which is already existing.
Also need to add another When rule 'Never' to the Attachment Category by checking the 'Delete Own' and/or 'Delete Any' as per requirement. 



Published November 9, 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