Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying ServiceNow Cookbook
  • Table Of Contents Toc
ServiceNow Cookbook

ServiceNow Cookbook

By : Ashish Rudra Srivastava, Turner
3.7 (3)
close
close
ServiceNow Cookbook

ServiceNow Cookbook

3.7 (3)
By: Ashish Rudra Srivastava, Turner

Overview of this book

ServiceNow is the ideal platform for you to create enterprise-level applications, giving borh requesters and fulfillers better visibility and access to a process. With this title we’ll guide you through the world of ServiceNow, letting you take on the best the platform offers you with the least amount of hassle. Starting with the core configuration and management tasks, this book will help you build data-driven apps and it will also explore development best practices. You will learn to set up email notifications for users and work with the database view for reporting. Next, the book will guide you through creating various tasks from the workflow and show you how to make the most of the workflow utilities available in ServiceNow. Finally, the book will drive you through the auditing and diagnosing aspects of ServiceNow. By the end of this book, you will acquire immediately applicable skills to rectify everyday problems encountered on the ServiceNow platform.
Table of Contents (8 chapters)
close
close

Working with background scripts


A background script is a place where you can test your server-side scripts, which is same as free text box. To access the background script, you should have a security_admin role with elevated privileges.

Getting ready

To step through this recipe, you should have an active Service-Now instance, valid credentials, and a security admin role.

How to do it...

  1. Open any standard web browser and type the instance address.

  2. On the left-hand side, type background in the search box and Service-Now will search the module for you.

  3. Click on the Scripts - Background module under System Definition application, as shown here:

    Background script module

  4. Now you will be able to see the following screen, where you can place your code and click on the Run  script button:

    Run script

  5. Service-Now has an inbuilt gs.print() function, which is used to view the output of the script and it also write an entry in a log file, but the gs.log () functions in write an entry in the system log and log file...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
ServiceNow Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon