Event attachment.deleted

dhale
Kilo Explorer

Out of the Box the Event "attachment.deleted" is triggered when an attachment is removed from a ticket. The Parms it returns are the table name and the ticket's sys_id. Since it deletes the sys_attachment record related to the attachment, the file name removed from the ticket isn't available.

I have a requirement to update the ticket's work notes when a file is attached, opened or removed from a ticket. The attached and opened requirement isn't a problem. The removed requirement I can provide that a file was removed. But not the file name.


Has anyone had this issue? Does anyone know of a workaround so I can get the name of the removed file.


Dave

2 REPLIES 2

Mahira
Tera Guru

There is a ui page 'attachment' which contains the functionw hich is called when remove is clicked.. May be It should be possible to manipulate this page to achieve your funcitonality


Mahira
Tera Guru

Hi..This comment comes a bit late.. I could achieve this by writing a business rule on the sys attachment table...

For example for tracking attachments on incidents.. see screenshots