Scriptomatic and WMI classes
If you are a Discovery customer interested in writing your own custom Windows probes and sensors, the first step you want to do is often identify the information you're going after. As powerful as the...
If you are a Discovery customer interested in writing your own custom Windows probes and sensors, the first step you want to do is often identify the information you're going after. As powerful as the...
Hi everyone,In conjunction with Mark O'Donnell, our Content Management guru, we've rewritten the Content Management documentation to make the plugin easier to use. Particularly, we focused on writing ...
Hi everyone,As always, we're looking to improve our documentation not only in terms of its content, but in terms of the Wiki itself and the structure of the documentation. Today we're rolling out a ne...
Hi everyone,A couple weeks ago we got the Spring 2010 release notes out the door. It was a pretty big release: four big new applications (Field Service, Service Portfolio, Project, and Cost management...
Hi everyone,I've started this blog to help keep everyone informed about new articles and topics in documentation, so that you'll know when more information is available for topics. I may also use this...
We've recently revamped the way Discovery works largely due to the DHCP issue at a lot of customers' environments. Well, we've named the new way "Scan CI", which basically gathers enough information f...
Perhaps you've already heard about the new Discovery feature called "CI Scan". What's it all about? Why do we think it's a big deal?If those questions have been keeping you awake at night, then you ne...
A few weeks ago I was talking with one of our customers (I'll call him Joe) who had just finished writing a script that created a little report of how many items of each type were in his CMDB. Joe was...
A string is a string, right? Ah, if only 'twas so!JavaScript all by itself has two different kinds of strings: there's the primitive "string" (with a lower case 's') and then there's the "String" clas...
In JavaScript, "undefined" means two distinctly different things:A property that doesn't exist.A property that has the "undefined" value assigned to it.Huh? Aren't those two ways of saying the same th...
Several customers have asked me about the odd-looking "Packages..." invocations they see sometimes in server-side JavaScript (like business rules or script includes). For instance, you might find a pi...
In a conversation I had with a customer the other day, she asked me why she saw so many examples of business rules written in functions, like this:doImportantStuff();function doImportantStuff() { var ...
Did you know that your Service-now instance comes complete with a handy-dandy set of commonly used JavaScript utility methods? These are in a script include named "JSUtil", and you can easily use its ...
Here's a simple and very useful feature of JavaScript that you may not be aware of: functions may be nested, one inside another. Here's a simple example, in a script you can run on your instance:<DIV>gs.lo</DIV>...
Our Knowledge10 conference is coming up in just a couple of months! I'll be there, and I hope to see you there as well. But whether you're attending or not, we'd like to hear your thoughts on the best...
Every once in a while, I run across something completely unexpected in JavaScript. This morning was one of those times.In my code, I had the equivalent of this:var x = 0;if ('' == x) gs.log('What the?...
Can someone post a screenshot or two of their metrics and or reports and how they are setup? I'm trying to start reporting on aging and grasping at straws.
Yesterday HP sent a note to their Service Desk customer base extending the Service Desk end of support date by two years. In a nutshell the letter said that HP will "extend the end of support date of ...
Hi - I'm trying to access the incident table via web services but have not been successful. Here is the code:Dim rProxy As New ConsoleApplication1.wp1.ServiceNowDim rGetKeys As New ConsoleApplication1...
I have request item form that has variables that I would like to push to the parent request. I need to do this via a workflow script. I have tried various iterations of the following:current.request.d...