Module 7: Manage Data Flashcards
The ServiceNow Infrastructure includes what 3 things?
- Tables (contain records)
- Records (correspond to rows in table)
- Fields (individual piece of data in record and corresponds to column in table)
The System Dictionary contains the definition for each and every table and field in a database.
Where do you navigate to, to find it?
All > System Definition > Dictionary
What references and uniquely identifies a record? (32 characters)
sys_id
Each field has 3 key attributes. What are they?
- Field label
- Field Name
- Field Data (Value)
What are the 4 ways that Tables can be related to each other?
- One-to-Many (a field can hold a reference to a record on another table)
- Many-to-Many (related in a bi-directional relationship)
- Database Views (tables can be joined using Database Views plugin)
- Extensions (extends another table)
There are 3 One-to-Many relationship fields. What are they?
- Reference Fields
- Glide List
- Document ID Fields
What are the 3 classes of Tables?
- Parent Class
- Child Class
- Base
What does the Child Class inherit?
It inherits all fields of its parent, plus anything specific to the child class table.
The INCIDENT table extends the TASK table
What are the Child Class Tables extended from the Task Table?
Incident
Problem
Change Request
A Parent Class that is not an extension of another table is called a _?
Base Table (class)
What are Core Tables?
Tables that exist in the base system (part of the initial SN installation).
Core Tables can be BASE tables and PARENT tables.
What are Custom Tables?
Tables created by admins or developers
What provides a graphical representation of other tables related to a specific table?
Schema Map.
It tells you what is a Child table, Parent table…
Which users is the Schema Map available to?
personalise_dictionary
Admin
Where are the 2 places you can go to create a table?
- Tables Module
- Tables & Columns Module
A new table created in the Global scope will have what?
u_
A custom table created in custom app will have what?
x_
3 levels of security before an end user can perform CRUD on a table?
- Access to platform/ login
- Which applications & modules does the user have access to
- Database access
3 security modules typically used by System Administrator?
- All > System Properties > Security
- All > System Security > Access Control (ACL)
- All > System Security > High Security Settings
What is an Access Control?
A security rule defined to restrict the permissions of a user from viewing & interacting with data
What are the ACL Rules?
CRWD (CRUD)
C - Create
R - Read
W - Write
D - Delete
What does the Access Control List contain?
An instance’s Access Control rules
What role is needed to maintain the ACL’s?
security_admin role
What does each Access Control rule specify?
- A valid operation
- The object being secured
- The permissions required to access the object
Related to the ACL rule, What are the permissions required to access the object?
- Roles
- Conditional Expressions
- Scripts
Access Control Rule Types…
table.–None– (applies to whole table)
table.field (applies to only 1 field)
table.* (applies to every field on a record without a table.field rule)
Using ‘table.*’
- Used when denying the access (mainly)
- Don’t use when granting access
In what order are access controls evaluated?
Access to the table (most specific table rules to most general)
Before evaluating access to the field (most specific to most general)
True or False.
A user must pass both table and field ACL rules to access a record object
True
What is an Import Set?
A tool used to import data from various data sources, and map that data into ServiceNow tables
What roles are needed to manage all aspects of Import Sets?
Admin
Import_admin
Data Sources are records in ServiceNow that contain information regarding an Import Set data source.
Where can you import data from?
-From a local source (XML, CSV, EXCEL)
-From a network server
-From a file
-A Lightweight access Protocol (LDAP) connection
-Java Database Connectivity (JDBC) connection
True or False.
An import Set Table acts as a staging area for records imported from a data source
True
Steps for importing data using an Import Set?
- Load the data
- Create a Transform Map
- Transform the data
- Clean up the import data
What are 5 different Data Sources?
- JDBC
- HTTP/ FTP
- EXCEL
- CSV
- XML
What is a Transform Map?
A set of fields that define the relationship between fields in an import set table and fields in a target table.
If a name is not the same… it will NOT map.
2 Tools used in Transform Map?
- Automatic Mapping Utility
- Mapping Assist Utility
Coalesce Fields
Coalescing a field mean the field will be used as a unique key during imports.
It’s always for Import Sets
What happens if a match is found using the coalesce field(s)?
The existing record will be updated with the information being imported
What happens if a match is NOT found using the coalesce field(s)?
Then a new record will be inserted into the database
Can you have more than 1 coalesce field?
Yes
What are the configurations you can use to coalesce data in Import Sets?
- Single-field Coalesce
- Multiple-field Coalesce
- Conditional Coalesce
What is the Configuration Management Database (CMDB)?
A series of tables and fields that contain all of the Configuration Items (CIs) controlled by your company, as well as their attributes & relationships
What roles do you need to access the CMDB?
asset
itil
itil_admin
cmdb_read
What are the 3 key CMDB tables?
- Base Configuration Item [cmdb]
- Configuration Item [cmdb_ci]
- CI Relationships [cmdb_rel_ci]
What is stored in the CMDB?
Configuration Items
What ITSM processes is the CMDB used in?
Incident Management
Problem Management
Change Management
Request Management
What is used as the central location to explore the CMDB class hierarchy, CI table definitions and Class CIs
CI Class Manager.
All > Configuration > CI Class Manager
CSDM stands for what?
Common Service Data Model
What does the CSDM do?
- Identifies where to place the data
- A way to make sense of the CMDB
- CMDB based framework
ServiceNow Discovery
Is used to maintain and populate the CMDB. It finds the devices
ServiceNow Service Mapping
Tells us how they are related together
Dependency View
- How to view the relationship between the CIs
- Provides an interactive graphical interface to visualise relationships between configuration items
Which module is used as the first step for importing Data?
Load Data
Which option allows you to update existing target table records when importing data from an import set?
Coalesce
Which tool is used to determine relationships between field in an import set and an existing table?
Transform Map
Which ServiceNow product can be used to populate the CMDB?
Discovery