- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2019 06:42 AM
Hi,
I have an image in the Images table which i want to call in Business Rule. Can anyone please help me on this
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2019 08:27 AM
You should be able to reference it by doing: instance.service-now.com/imagess.gif
Replace instance with the name of your instance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2019 06:45 AM
You can always query the db_image table to get that record, but what exactly are you looking to do with it in a business rule?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2019 06:51 AM
I am actually integrating with Slack where i need to pass an image.
All the integration is working fine only challenge is i need pass the image and pass with the url.
I just need to get the url of that image then i can pass that in my script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2019 07:41 AM
I believe the image url would just be instance.service-now.com/imagename.ext. The image is stored as an attachment, so to send the image over I think you would want base64 encode it then send that over. Here is some documentation that may help:
https://hi.service-now.com/kb_view.do?sysparm_article=KB0547129
https://snprotips.com/blog/2016/2/25/understanding-and-using-glideattachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2019 07:47 AM
Thank you Brad,
I already gone through the documents.
By any chance can you please help me with the code where the image can be converted to url ?
Just like this: https://www.gstatic.com/webp/gallery3/1_webp_ll.png