- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2022 06:46 AM
Hi everyone,
I have a requirement when the change is not in new state, the removal of the attachment should be restricted in Agent Workspace. But, the user should be able to add attachment in all the stages.
It would be helpful if anyone could answer.
Thanks in Advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2022 08:16 AM
Hi Lavanya,
Attachments are finally stored in sys_attachment (meta data), sys_attachment_doc (the actual data) tables.
You have to write before delete business rules on each of these to abort the deletion action, then the deletion will be stopped.
But with only this solution the problem is, users may see that attachment is removed when performing the removal action, but when they reload the form like (incident) it will show the attachment again.
Even if we keep the gs.addErrorMessage in business rules they will not show the error messages as these actions are done differently.
Please check the snapshots of Business rules below:
You may use still want to keep the UI page customizations as they will work in normal UI (If you remove UI page customizations in normal UI, then the error message while trying to remove attachments will not appear), but the maintenance overhead during upgrades will be there.
Thanks and regards,
Subrahmanyam Satti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2025 12:10 AM
Hello,
I am able to achieve solution via above business rules but I want to hide below info message.