Search

An Independent ServiceNow Blog

Category

Code

Anything & everything that has to do with code.

Service-Now JavaScript Library Resource

Service-Now data pull – python vs perl

AngularJS UI Page Framework

How to Use Background Scripts

Great tips for #ServiceNow Admin. Careful with background #scripts.

GarrettNow

What?

Background Scripts are Service-Now’s most direct method to run JavaScript directly against the server. This makes them an excellent way to test out the code intended for use in Script Includes, Scheduled Jobs, and Business Rules. Additionally, this is one of the best ways to cobble together text based reports that are too complicated for the reporting module – I’ve often used Background Scripts to aid in outage post-mortem investigations.

Warning!

While powerful, Background Scripts can be dangerous. If you aren’t careful, you can delete all kinds of important or system-critical records. Even more likely, a poorly written script might run indefinitely, causing system performance issues.

Where?

  1. As an admin, use the lock icon to elevate your privileges to “security_admin”.Elevating PrivilegesElevating Privileges Dialogue
  2. Look in the left-hand navigation for “ -> Background Scripts”, and click away.Finding Background Scripts
  3. You’ll see a large box that you can input your JavaScript into, unfortunately there’s no error…

View original post 238 more words

Advertisements

Top 10 Best Practices for CMS Deployment Great Article from Cloud Sherpas own Jason Wojahn around BP for CMS Deployment. Excerpt below: " We recently launched a new CMS Workshop, with one session hosted in Denver last week and a second... Continue Reading →

20 Exceptional CSS Boilerplates and Frameworks

Awesome List and Guidance! TY!! I Read this first on Mashable btw and loved it, glad you posted to WP as well.

Powered by WordPress.com.

Up ↑

%d bloggers like this: