cover
Title Page
Copyright
ServiceNow Application Development
Credits
About the Author
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
Introduction to ServiceNow
Creating a developer account
Requesting a new ServiceNow instance
Logging in to your instance
Understanding the ServiceNow platform user interface
Components of the user interface
System settings
Navigating through applications
Module UIs
Form UIs
Related List UI
Dot-walking
Service Management applications
ServiceNow application architecture
Single architecture
Shared resources
Single data model
Advanced High Availability architecture
Summary
User Administration
Creating a new user
Things to consider when creating a user
Creating a new group
Creating a new role
Associating a user to one or more groups
Assigning a role to a group
Best practices for managing groups
Task assignments
Approvals
Security
E-mail notifications
Impersonating a user
Companies locations and departments
Adding a department
Associating a user with a department
Managing user sessions
Terminating sessions of a logged in user
Locking out a user
Marking a user as inactive
Summary
Data Management
Database structure
Key table-management modules
Tables & Columns
Schema map
Tables
Columns and rows
Dictionary
Creating a table
Adding columns to table
Modifying column properties
Task table
Extending the Task table
Configuration management table
Extending the configuration table
Summary
Application Scopes
Application architecture
Structure of an application
Application scope
Private application scope
Global scope
Application versions
Application tables
Application dependencies
Application files
Fix scripts
ServiceNow applications
Application picker
Creating a new application
Creating application artifacts
Accessing information in different scopes
All application scopes
This application scope only
Summary
Modules Forms and Views
Creating a new module
Using Studio
Different module link types
New records
Running a report
Homepages
Portal pages
Change layout
Add content
Homepage modules
Separators
Managing module order
Summary
Introduction to ServiceNow Scripting
Different script types
Client-side scripts
Server-side scripts
Execution order of scripts
Client-side Glide API
GlideForm
GlideUser
GlideMenu
GlideList2
GlideDialogWindow
Using the GlideDialogWindow class
GlideAjax
Server-side Glide API
GlideRecord
addQuery
Available query operators
addNullQuery
addNotNullQuery
Applying multiple queries
Applying an OR query
Iterating over query records
GlideSystem
getCurrentScopeName()
log()
logError()
logWarning()
nil()
now()
print()
addInfoMessage()
addErrorMessage()
isInteractive()
isLoggedIn()
getUserID()
getUserName()
getUserNameByUserID()
eventQueue()
Scripting in scoped applications
Summary
Client-Side Scripting
Client scripts
onLoad client scripts
onChange client scripts
onSubmit client scripts
UI policies
UI scripts
Disabling client-side scripts
Creating a scope UI script
Summary
Server-Side Scripting
Business rules
Checking the booking requests by the same caller
When to execute business rules
Preventing recursive business rule execution
The scope problem
Script includes
UI actions
Summary
Jelly Scripting
Jelly scripts
Namespaces and phases
Jelly tags
j:if tag
j:choose j:when and j:otherwise
j:set
The j:set_if tag
The j:while tag
Glide tags
g:evaluate
g:breakpoint
g:macro_invoke
g:ui_form
g:ui_input_field and g:checkbox
g:dialog_buttons_ok_cancel
g:ui_reference
g:insert
g:inline
g:function and g:call
Special characters in Jelly
Ampersand--&
AND--&&
LESS THAN--<
Whitespace
Space
UI pages
Processing script
UI macros
UI formatters
Summary
Events and Notifications
Events
Registering events
Using a business rule to trigger events
Checking event logs
Script actions
Notifications
Testing notifications
Previewing notifications
Forward outgoing e-mails
Updating a travel-booking request
Summary
Workflow Development
Workflow basics
Using workflow editor
Workflow actions menu
Workflow development state
Workflow properties
Workflow transitions and activity exit conditions
Adding exit conditions
Adding activities to a workflow
Removing an activity from a workflow
Validating a workflow
Workflow activities
Approval and rollback activities
Condition workflow activities
Workflow notification activities
Subflow activity
Task activities
Timer activity
Utility workflow activities
REST calls using a workflow
Defining a REST endpoint
Making a REST request using a workflow
Summary
Debugging in ServiceNow
Syntax editor
Context-sensitive help
Syntax editor keyboard shortcuts
Scripting assistance
Period (.) key
Open parenthesis
Toggle full screen mode
Start search
Find next
Find previous
Replace
Replace all
Syntax editor macros
Available macros
Creating a custom macro
Script syntax error checking
Script Debugger
Launching Script Debugger
Script Debugger interface
Parts of Script Debugger
Debugging code
JavaScript Log
JavaScript Log window interface
Using jslog()
Difference between console.log() and jslog()
Field Watcher
Summary
Advanced Database Features
Relationships
Creating a new relationship
Configuring forms to show related lists
Modifying the list control options
Dictionary override
Database indexing
Full-text search
Table auditing
Excluding a field from being audited
Restoring deleted records
Limitations of the undelete feature
Database rotation
Data archiving
Creating an archive rule
Creating a destroy rule
Summary
Job Scheduling and Data Export-Import
Scheduled script execution
Exporting data
Form export
List export
Direct URL access
sysparam_view
sysparm_query
sysparm_record_count
sysparm_order_by
Building queries using a list of records filters
Export limits
Importing data using Import Sets
Importing data using CSV
Import set table
Checking the import log
Creating the transform map
Changing Field Map properties
Scripting to override field values
Transform map scripts
Running the transform
Monitoring transform progress
Summary
更新时间:2021-07-03 00:02:03