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.

How to send Image from one serviceNow to another Servicenow ??

SandeepKSingh
Kilo Sage

Hi Team,

I have a requirement. On ServiceCatalog what ever the image I attach it should create a record on Another servicenow Instance on custom table(x_copy_catalog_image).

How can we achieve this?? 

2 ACCEPTED SOLUTIONS

Aniket Chavan
Tera Sage
Tera Sage

Hello @SandeepKSingh ,

To achieve your requirement of sending an image from one ServiceNow instance to another and creating a record in a custom table (x_copy_catalog_image), I recommend following a detailed guide on ServiceNow to ServiceNow integration. This resource will provide step-by-step instructions on how to set up the integration effectively.


Here’s a helpful thread that explains everything in detail: ServiceNow to ServiceNow Integration - Step by Step Guide.

 

Make sure to pay attention to the API endpoints, authentication methods, and how to handle attachments during the data transfer.

 

If you have any further questions or need clarification on any specific points, please let me know!

 

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.


Regards,
Aniket

View solution in original post

Ravi Gaurav
Giga Sage
Giga Sage

Hi @SandeepKSingh 

As we all know when an attachment is attached to the table it will go to the attachment table (sys_attachment).
So here you can do one thing . When you attach a image on catalog..>
glide to the attachment table copy all the details like file name, content type etc and use table api / attachment APi using rest message to send the data over the other instance.

sample code you can refer my youtube video.

https://www.youtube.com/watch?v=2pg-_lkNc5c&list=PLKH9bPqlw1neHQZWQpYXHKy7LGiG9lhZn&index=8

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

View solution in original post

Hi Youtube Family, I am Ravi Gaurav. I am Expert in ServiceNow . Welcome to my youtube channel. If you guys enjoyed it, make sure to Like👍 , Comment💬 and Subscribe❤️ _________________________________________ Copyright Disclaimer : All Rights to VideoLabel Co. & No Copyright infringement intende...
2 REPLIES 2

Aniket Chavan
Tera Sage
Tera Sage

Hello @SandeepKSingh ,

To achieve your requirement of sending an image from one ServiceNow instance to another and creating a record in a custom table (x_copy_catalog_image), I recommend following a detailed guide on ServiceNow to ServiceNow integration. This resource will provide step-by-step instructions on how to set up the integration effectively.


Here’s a helpful thread that explains everything in detail: ServiceNow to ServiceNow Integration - Step by Step Guide.

 

Make sure to pay attention to the API endpoints, authentication methods, and how to handle attachments during the data transfer.

 

If you have any further questions or need clarification on any specific points, please let me know!

 

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.


Regards,
Aniket

Ravi Gaurav
Giga Sage
Giga Sage

Hi @SandeepKSingh 

As we all know when an attachment is attached to the table it will go to the attachment table (sys_attachment).
So here you can do one thing . When you attach a image on catalog..>
glide to the attachment table copy all the details like file name, content type etc and use table api / attachment APi using rest message to send the data over the other instance.

sample code you can refer my youtube video.

https://www.youtube.com/watch?v=2pg-_lkNc5c&list=PLKH9bPqlw1neHQZWQpYXHKy7LGiG9lhZn&index=8

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/
Hi Youtube Family, I am Ravi Gaurav. I am Expert in ServiceNow . Welcome to my youtube channel. If you guys enjoyed it, make sure to Like👍 , Comment💬 and Subscribe❤️ _________________________________________ Copyright Disclaimer : All Rights to VideoLabel Co. & No Copyright infringement intende...