100% found this document useful (1 vote)
264 views

ServiceNow Scripting Use Cases - 240610 - 085225

Service Now use cases pdf which helps for our interview preparation
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
264 views

ServiceNow Scripting Use Cases - 240610 - 085225

Service Now use cases pdf which helps for our interview preparation
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Topic Scenario

ServiceNow Scripting 1. Create a script to generate a unique identifier for a custom record.
Basics
2. Write a script to update a user's department based on their job title.

3. Create a script to delete all records older than a specified date.

4. Write a script to send a notification when a high-priority incident is created.

5. Develop a script to assign a task to a specific group based on the task's category.

6. Create a script to validate user input on a custom form.

7. Write a script to update the location of all users in a specific department.

8. Develop a script to close all open incidents for a user when their account is deactivated.

9. Write a script to export specific data from ServiceNow to an Excel file.

10. Create a script to calculate the total cost of all open incidents.

Advanced Glide 1. Write a GlideRecord query to find all incidents related to a specific CI.
Record Queries
2. Create a GlideRecord query to retrieve all active users in a specific domain.

3. Develop a GlideRecord query to find all open incidents assigned to a specific group.

4. Write a GlideRecord query to find all problems related to a specific incident.

5. Create a GlideRecord query to retrieve all incidents with a specific priority and
assignment group.
6. Develop a GlideRecord query to find all changes scheduled for a specific
maintenance window.
7. Write a GlideRecord query to find all open tasks with a specific assignment group
and due date.
8. Create a GlideRecord query to retrieve all knowledge articles related to a specific
category.
9. Develop a GlideRecord query to find all service catalog items in a specific category
with a specific price.
10. Write a GlideRecord query to find all users in a specific department with a specific job
title.
UI Policies and Client 1. Create a UI policy to enforce a specific format for the 'Short Description' field on the Inci
Scripts dent form.
2. Write a client script to validate user input on a custom form.

3. Develop a UI policy to hide or disable specific fields on a form based on user roles.
4. Create a client script to auto-populate fields on a form based on user input.

5. Write a UI policy to make a field mandatory based on the value of another field.

6. Develop a client script to provide an auto-complete feature for a specific field.

7. Create a UI policy to enforce a specific format for date and time fields.

8. Write a client script to display a warning message when a user tries to leave a form
without saving changes.

9. Develop a UI policy to hide or show specific sections on a form based on user input.

10. Create a client script to update a field's value on a form based on the values of
other fields.
Script Includes and 1. Write a script include to calculate the due date for a task based on its priority.
Server-Side Scripting
2. Create a script include to validate and format phone numbers.

3. Develop a script include to send an approval request to a user's manager.

4. Write a script include to determine the next available incident number based on a
custom format.
5. Create a script include to encrypt and decrypt sensitive data.

6. Develop a script include to generate a unique code for a specific record.

7. Write a script include to update the status of related tasks when an incident is closed.

8. Create a script include to calculate the total cost of all items in a service catalog request.

9. Develop a script include to retrieve all users in a specific group and their
manager's information.
10. Write a script include to send an email notification with incident details to
a specific user.

Scheduled Jobs and 1. Write a scheduled job script to clean up old records from a specific table.
Background Scripts
2. Create a scheduled job script to send a daily report of open incidents to a specific user.

3. Develop a background script to update the status of related tasks when a problem is clos
ed.
4. Write a scheduled job script to check for expired licenses and send notifications
to the respective users.
5. Create a background script to sync user data from an external system into ServiceNow.
6. Develop a scheduled job script to update the assignment group of incidents based on th
e category.
7. Write a background script to calculate the average resolution time for incidents
and update a report.
8. Create a scheduled job script to send notifications for upcoming maintenance tasks.

9. Develop a background script to check for inactive users and deactivate their accounts.

10. Write a scheduled job script to export specific data from ServiceNow to an
external system.
REST APIs and 1. Create a Scripted REST API to allow an external system to create a new user
Scripted REST APIs record in ServiceNow.
2. Write a script to call an external REST API and retrieve data to update
ServiceNow records.
3. Develop a Scripted REST API to retrieve specific data from ServiceNow for an
external system.
4. Create a script to call an external REST API and post data from ServiceNow to
the external system.
5. Write a Scripted REST API to update specific fields of a ServiceNow record from an exte
rnal system.
6. Develop a script to call a Scripted REST API to perform a custom action in
ServiceNow from an external system.
7. Create a Scripted REST API to retrieve all incidents for a specific user and their manage
r's information.
8. Write a script to handle errors and exceptions when calling an external REST API.

9. Develop a Scripted REST API to return the total count of records in a specific table for a
n external system.
10. Create a script to authenticate and call an external REST API using OAuth 2.0.

REST Integrations 1. Integrate ServiceNow with a monitoring tool to automatically create incidents based on
alerts.
2. Write a script to sync users and groups from an external system to ServiceNow
using REST APIs.
3. Develop a custom REST integration to sync assets from ServiceNow to an
external system.
4. Create a script to integrate ServiceNow with a chatbot application to manage
incident tickets.
5. Write a REST integration to sync change requests between ServiceNow and an external
project management system.

6. Develop a custom integration to sync release and deployment information between


ServiceNow and a CI/CD tool.

7. Integrate ServiceNow with a social media platform to manage social media


posts and comments as tasks.
8. Create a script to sync problem records between ServiceNow and an external knowledge
management system.

9. Write a REST integration to manage and track customer requests from an external CRM
system.
10. Develop a custom REST integration to sync HR cases between ServiceNow and
an external HR management system.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy