Running script everytime a file is attached to my record
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 03:32 AM
Hi,
I want to run a script every time an attachment is uploaded to my record in my custom table. However I cannot write a script directly on the sys_attachement table. Is it possible to achieve this?
Regards,
Maharshi Chatterjee
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 04:03 AM
You can create BR on sys_attachment table. Add condition in the condition field above the script as below:
current.table_name == "<custom table name>"
Thank you,
Palani
Palani
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 04:18 AM
Hi,
I will not be able to write script on the sys_attachment table. Is there any other way to do it?