Scraping data from Service Now without the API

BDunbar
Kilo Contributor

I need to use the API without being able to use the API

We have CMDB data in our Service Now environment.  It would be tremendously helpful for me access this data programatically.  However, I cannot use the API for complicated political reasons.

What options do I have to use my standard Service Now account to scrape or obtain the data?

Simple Use Case

I have a report: server X, Y, and Z need an update.

My script would  grab the server name, look at the server record in CMDB for the field 'Supported By', and fire off an email to that person 'Your server needs attention, please attend to this before the bad guys discover the unpatched resource'.

 

Thank you in advance,

Brian Dunbar

5 REPLIES 5

Hey Roger, thanks for getting back to me!

Ha that actually made me laugh, you are cheating indeed!

Makes sense though!

 

Do you have any idea if it even is possible to webscrapt from bare javascript in servicenow at all? I'm currently looking into this for a project of mine, and it would be really useful! I am aware of the API, although never used it, but I am interested of doing so via include script perhaps, and call it out to populate an UI Page. I know this is possible through any machine, but no idea via a platform like ServiceNow... my assumption is that you can since the UI Pages are quite versatile in the amount of customisation and functionality you can achieve, but webscraping? would be very interesting if I could!

 

Anyhow, cheers again for getting back to me!

Darius