0% found this document useful (0 votes)
5 views

Server Side Scripting ServiceNow

Server-side scripting in ServiceNow is essential for executing backend logic, automating processes, and interacting with databases. Key types include Business Rules, Script Includes, Scheduled Jobs, and Glide System APIs, each serving distinct purposes such as enforcing business logic and improving code efficiency. Overall, these scripts enhance automation and data manipulation within the ServiceNow platform.

Uploaded by

capturedshots23
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Server Side Scripting ServiceNow

Server-side scripting in ServiceNow is essential for executing backend logic, automating processes, and interacting with databases. Key types include Business Rules, Script Includes, Scheduled Jobs, and Glide System APIs, each serving distinct purposes such as enforcing business logic and improving code efficiency. Overall, these scripts enhance automation and data manipulation within the ServiceNow platform.

Uploaded by

capturedshots23
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Server-Side Scripting in

ServiceNow
An Overview of Server-Side Scripting
Features
Introduction
• Server-side scripts in ServiceNow execute on
the ServiceNow instance. These scripts handle
backend logic, automate processes, and
interact with databases.
Types of Server-Side Scripts
• 1. Business Rules
• 2. Script Includes
• 3. Scheduled Jobs
• 4. Script Actions
• 5. Glide System APIs
Business Rules
• - Execute on record operations (Insert,
Update, Delete, Query)
• - Run Before, After, Async, or Display
• - Used to enforce business logic and automate
tasks
Script Includes
• - Reusable server-side scripts
• - Improve efficiency by reducing redundant
code
• - Can be used in Business Rules, UI Actions,
and other scripts
Scheduled Jobs
• - Run scripts at specific intervals
• - Automate system maintenance tasks
• - Can be set to execute once or on a recurring
schedule
Glide System APIs
• - GlideRecord: Interacts with database records
• - GlideSystem (gs): Provides logging, event
handling, etc.
• - GlideAggregate: Performs aggregations on
records
Conclusion
• Server-side scripting in ServiceNow enhances
automation, improves efficiency, and helps in
data manipulation effectively.

You might also like