Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Running script everytime a file is attached to my record

MaharshiC
Tera Contributor

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

palanikumar
Giga Sage
Giga Sage

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

Hi,

 

I will not be able to write script on the sys_attachment table. Is there any other way to do it?