Trigger Rest API Call after attachment.

manish62
Tera Contributor

Dear Team,

 

I have one requirement where I need to trigger the REST API call when end user attach the file in RITM, can we trigger the rest call on RITM after attachment.

 

Thanks,

Manish

3 REPLIES 3

Hemanth M1
Giga Sage
Giga Sage

Hi @manish62 ,

 

Write a BR on the sys_attachment table (Make sure you have the appropriate conditions applied)

1)

HemanthM1_0-1722334830599.png

 

2)You can drill down to trigger per catalog item, different state etc.......

HemanthM1_1-1722334868772.png

 

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Thank you but how we can send the attachment to third party system.

Thanks,

Manish

Hi @manish62 ,

 

Detailed explaination here with scripts and APIs : https://www.servicenow.com/community/developer-forum/sending-attachment-using-rest-api/m-p/1786195/p...

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025