Trigger Rest API Call after attachment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 03:02 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 03:22 AM
Hi @manish62 ,
Write a BR on the sys_attachment table (Make sure you have the appropriate conditions applied)
1)
2)You can drill down to trigger per catalog item, different state etc.......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 04:08 AM
Thank you but how we can send the attachment to third party system.
Thanks,
Manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 04:12 AM
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...