Script includes

Home/Scripting/Script includes

Send a Knowledge Link when Attaching Knowledge

By |2018-07-09T14:59:53-05:00January 22nd, 2013|Categories: Script includes|Tags: |

If you’ve worked with ServiceNow much at all, you’re probably familiar with the capability provided to search knowledge from the incident form, and then attach the knowledge article back to the originating incident. This behavior is extremely useful and can be customized if needed. One complaint I’ve heard about this behavior before is that it posts [...]

Modifying the Label of Form Fields With Client Scripts

By |2018-07-09T14:59:56-05:00October 10th, 2011|Categories: Script includes, UI scripts|Tags: , |

Please note that with the introduction of the Service Portal, many client-side scripting methods have been deprecated. The solution described in this article can now be accomplished using the ‘setLabel()’ method. To ensure that you are compliant with the latest functionality in ServiceNow such as the Service Portal, be sure to use the methods described in [...]

Advanced Reference Qualifier Using a Script Include

By |2018-07-09T14:59:58-05:00June 21st, 2011|Categories: Script includes|Tags: , |

Reference qualifiers are a powerful tool that every ServiceNow administrator and consultant should have in their tool belt. They allow you to dynamically filter the available options from a reference field. The ServiceNow wiki has some good documentation on this topic so I won’t re-hash that here. What I do want to address is the topic [...]

Prevent Circular Relationships in ServiceNow

By |2018-07-09T15:00:00-05:00March 16th, 2011|Categories: Business rules, Script includes|

Almost any database will have situations where a record in a table can relate back to other records in that same table. This happens in ServiceNow in several places and it’s common enough that you may find yourself building additional functionality that works this way. The classic case is the ‘Parent’ field. A good example is [...]

Go to Top