- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2025 07:17 AM
I added 4 attachments to a incident record , and when i moved the state to onhold the last attached attachment should get attached to a notification I created and it should trigger the notification.
for this I wrote a BR
After Update
cond:-state changes to onhold
Is there any other method where only the last attached can be attached to the notification record?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2025 07:22 AM
attachment.copy() will copy all files and you cannot specify only 1 file
check this link where I shared solution, please enhance
Adding latest attachment from sys_attachment table to sys_email record
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2025 07:22 AM
attachment.copy() will copy all files and you cannot specify only 1 file
check this link where I shared solution, please enhance
Adding latest attachment from sys_attachment table to sys_email record
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2025 07:45 PM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader