Script includes

Home/Tag:Script includes

Outlook-style Module Counts

By |2018-07-09T15:00:05-05:00November 18th, 2010|Categories: System UI|Tags: , , |

Unfortunately, as of the Geneva release with UI16, ServiceNow has made the decision to discontinue the ‘HTML (From Arguments)’ module type that this solution depends on. As such, Module Counts won’t work anymore and I’m forced (for the time being) to take the solution down. If this is a functionality you would like to see, the [...]

Eliminating Duplicates from an Array with JavaScript

By |2018-07-09T15:01:31-05:00January 6th, 2010|Categories: Scripting|Tags: , , , |

This is a great function that you can use to eliminate duplicates from an array in Service-now. It's just standard JavaScript so it will work in Client Scripts, Business Rules, or pretty much anywhere else you want to put it. The function takes an array as the input parameter and returns an array...minus the duplicate values! [...]

Walking the ServiceNow CMDB Relationship Tree

By |2018-07-09T15:01:31-05:00January 6th, 2010|Categories: CMDB, Script includes|Tags: , , , , , , |

One of the great features of Service-now.com is its CMDB and relational mapping. You can easily set up relationships between any CIs in the system. Once the relationships are defined, it becomes very simple to pull up a visual representation of a CI and its dependencies by using Service-now BSM maps. Using this feature allows an end user to look at that CI and identify what else in the environment is impacted by an outage or a change to that CI.

Canceling executing workflows on task closure

By |2018-07-09T15:01:33-05:00December 29th, 2009|Categories: Business rules, Graphical workflow|Tags: , , , , |

It is very common to use graphical workflow to help facilitate some change management process within your organization. One common requirement in change management is to be able to cancel or close the change request at any time during the process. "Simple", you say. "Just allow the user to change the value of the 'State' field to 'Closed'." You would not be incorrect in saying something like that, but you would be forgetting about part of the problem with closing or canceling a change request or other task ticket.

Go to Top