Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Attached Image in the Notification is not available after moving through UpdateSet

xavifrancis
Kilo Expert

Hi,

I am updating an existing notification and that notification contains some image.

I am not touching the image, I am just modifying the email text body.

After modification in development environment, the image is still there and the notification looks good.

Then I moved the updateset to test environment and the image got deleted from the sys_attachment table.

I have imported the same attachment's xml record from the development instance.

But still, in the notification image is not visible.

Not sure, why it is happening?

 

2 REPLIES 2

Cory CJ Wesley
Kilo Sage
Kilo Sage

The sys_attachment table is just part of the equation when it comes to attachments and data in ServiceNow.  There is another table, sys_attachment_doc, that contains the actual data that's referenced from sys_attachment.  It has a field, Sys Attachment that has the actual file name for the data that it's referencing.  You'll need to export both the xml record from sys_attachment and also ALL of the corresponding XML records from sys_attachment_doc to move the data to test in this fashion.


Thank you!!!! Such helpful info. You saved me from banging my head against a wall! 😁