Update attachment in sys_attachment

amala2
Mega Guru

Hi,

Is it possible to update the attachment in sys_attachment table.

Suppose I have a doc file in the sys_attachment table   having sysid "abc".I want to add some more information in the same doc file(sysid abc).

Kindly help

Thanks

4 REPLIES 4

sergiu_panaite
ServiceNow Employee
ServiceNow Employee

It's not possible as far as I know.


lSurya 24
Giga Guru

Hello,



I doubt you can even do that or not. The best bet might be updating the new doc with the same table sys id. So now you have the updated version of the document. So when you go to respective record, you will find the updated doc.


shubh1992
Tera Guru

Hi Amala ,



You cannot make any changes in the existing record what yo can do is attach a new record and update its   table sys_is as your previous sys_id and delete the previous record,In this way your record with your old sys_id will have a new attachment attached with it.



PLZ mark this correct if it resolved your issue or feel free to ask if u still have any queries.


Regards,


Shubh


Jay Uttanoor
Tera Contributor