Topic 1
Topic 1
1)Views…………………………………………………………………2
2)Performance of ServiceNow instances……………………….7
3)Difference b/w Watchlist & worknotes list………………….11
4)Get logged in user count into servicenow instance……...12
5)Collection field…………………………………………………….14
6)Related List…………………………………………………………15
7)Locked out Users………………………………………………….18
8)Filter out&& is not…………………………………………………20
9)hasrole&hasroles&hasroleexactly……………………………..21
10)user administration questions…………………………………22
11)table administration questions………………………………..29
12)tables………………….…………………………………………….40
13)Update sets………………………………………………………..45
15)ACL………………………………………………………………..…47
16)Servicenow Adminstration……………………………………..60
17)Servicenow Development……………………………………….63
Page 1 of 69
1)How To Create a New List View & Form View in
ServiceNow?
Views are ways to display fields according to user roles and needs. Both
forms and lists have view options. As an admin, you can create, modify,
delete, and add conditional applications of views in forms and lists. It is one
of the most asked questions and has been viewed 27600 times.
Every table has box views, such as default and advanced views. In this
article, I will demonstrate views based on the incident table. In both, click on
the Ham icon (three lines) and go to the Views context menu, as shown in the
images below.
Page 2 of 69
How do I create or modify a form view?
To modify/ update the view first select the view and then the section and
then finally move the fields in the slush bucket
To create a new view, go to the View name choice list, and select New.
As soon as you click on New, it asks for the name of the view. give the
name you want such as “Demo view”. Click Ok.
Page 3 of 69
After clicking OK, a default section with the same name as the table is
created, you can add/ remove fields from it.
Add a new section by clicking on “New” in the section choices and then it
prompts for the section name. Provide a name and add/ remove the fields
as per your need.
Like this, you can add any number of sections and finally click on Save. It
will redirect you to the form and you can check your view with updated
details.
How do I create or modify a list view?
Page 4 of 69
It is almost the same procedure as for form view. Just open the table in list
view, right-click on the list header and go to Configure-> List layout.
Rest all the steps are same as for form view create/ update.
What are the view rules in ServiceNow?
Following are the pointers about view rules that you have to consider before
making a view rule-
Page 6 of 69
2)How To Boost Performance Of ServiceNow
Instances?
There are various ways to degrade your instance’s performance. I’m listing a
few of them below.
Page 7 of 69
Bad publicity – Frequent service interruptions because of performance
issues may cause bad publicity w.r.t to the product/ service/ company.
If you have any other please enlighten others in comment section.
User preferences play a significant role to maintain the timely and on time
availability of services. Lets discuss few of them.
Row Count
setting a rowcount impact a lot because it has to run a query every time
we open list view.
It is applicable to other areas such as homepages, all list, reports, related
lists etc.
Setting rowcount 50, 100 may triggered a long running query and result
in performance degradation.
Imaging 100 people asking for list for same table 50 times a day with
rowcount as 100 (Eg. Incident table in case of customer support groups)
Hence a low rowcount would be the best. 20 is default by servicenow but
you can change it accordingly to 10 or max 50.
Try avoid 100
You can modify these choices as well by updating the list in properties.
Go to property – glide. ui.per_page and make changes as per our
convenience.
Homepages To Dashboard
Page 9 of 69
Set the display setting under user preferences and modify the values.
Three values are available –
o Load Related list with form
o Load Related list on demand
o Load Related list after the form loads
Both the Watch List and Work Notes List have been extensively used in the
ITSM process.
Page 10 of 69
Watch List Work Notes List
Users added to the Work Notes List will receive email updates when the ticket’s Work Notes field is The Work Notes List feature is available on Incidents.
updated and when the state changes (e.g., upon closure).
It is used for Collaborating with other fulfillers & Collaborating with users outside of ServiceNow. It is used for Collaborating with other fulfillers & Collaborating with
users outside of ServiceNow.
It used for Collaborating with other fulfillers & Collaborating with users outside of ServiceNow It is used for Collaborating with other fulfillers & Collaborating with
users outside of ServiceNow.
Page 11 of 69
First Solution
Go to sys_user_session table-
o We can get the ‘current‘ logged-in users from the entire instance, by
filtering on “Name is not Empty” AND “Invalidated is Empty“.
o The sys_user_session.invalidated column will be empty, as long as the
related user session is active.
o When the session becomes inactive (either by logging out, or session
being destroyed by the platform – based on the value of
‘glide.ui.session_timeout’ system
property), sys_user_session.invalidated will be populated with the
session end timestamp.
Normally “Logged in users” module under “User Administration” will
give you the correct number of users logged in. But when Multi
SSO/Single Sign-on is enabled, this module doesn’t show the correct
information.
You can find the users logged in by following the steps below:
Page 12 of 69
5)Have You Used ServiceNow Collection Field?
What is a collection type?
Page 13 of 69
How do I create a Collection Type Field?
Related lists are a way to show relationships between one table and another.
For example, a user record can have relationships with attachments,
incidents, problems, CI, or many other types of tables.
Page 14 of 69
So, all these associated records are listed in a related list and can be
displayed at the bottom of the form.
To accomplish this, the system uses a reference field type from a form to
build this relationship.
It means there is a field on the Mango table with a reference to the tree
table, and based on that field pointing from one table to another, we can
imply a one-to-many relationship.
System example of one-to-many
A simple example is from the incident table, where we can see a one-to-
many relationship between the incident table and the task table, and the
reference field here is the parent field.
Page 15 of 69
Many-To-Many Related List
Page 16 of 69
The most common example is the user and role table.
Here, one user can pick many roles, and one role can be assigned to many
users.
Finally, we can see this under the sys_user_has_role table.
Defined Related List
Page 17 of 69
7)How To Lockout Users In ServiceNow?
There are many reasons to lock out users from a ServiceNow instance. Lets
enumerate it below:
There are many ways, and in this article we discuss two of them.
To lock out a user from user record, go to User Administration -> Users -
> Open User record
Go to the Locked Out Checkbox and check it.
After this, ,if the user is logged IN , he will be locked out immediately and
will not be able to login until the flag is removed.
When user try to login he get a error message and login denied.
Page 18 of 69
This is a kind of permanent locking out of the users for as long as the
admin wants.
However, the user record is Active.
Lockout Users Using Scripting (One-Time Lockout)
Page 19 of 69
Open the List view, e.g. incident.list
Right click on any column and click “Filter Out,” i.e. filter out
Assignment group Hardware
Page 20 of 69
9)How hasRole, hasRoles, hasRoleExactly
Differentiates?
This method checks if a user has a specific role When you need to validate whether a user has multiple roles, In some cases, you may require strict role matching.
assigned to them. hasRoles comes to the rescue.
It’s perfect for scenarios where you want to verify if a This function allows you to verify if a user holds any of the This is where HasRoleExactly shines It checks if a user
user possesses a particular role before granting access specified roles. It’s handy when you want to grant access has the exact set of roles provided, ensuring that no
to certain features or functionality. based on a set of roles rather than a single one. additional roles are present.
Use hasRole to perform role-based checks for Utilize hasRoles when validating multiple roles. Use hasRoleExactly when you need precise role-based
individual roles authorization.
It is basically
o Manage the individuals who can access servicenow instances by
defining them as users in the system.
o Creating users, groups, and roles provides a flexible and scalable way
to manage access to features on the Now Platform.
Page 21 of 69
o By creating user accounts, assigning users to groups, and defining roles
and permissions, administrators can ensure that users have the
appropriate level of access to applications and data.
o This allows organizations to control access to sensitive data, maintain
compliance with regulatory requirements, and improve overall security.
Who are the users, and why do we create their accounts in
serviceNow?
Create an account record for the individuals who have access to your
instance.
Each user account has a unique login ID, password, and set of permissions
(roles) that define what they can do and access within the platform.
User records establish a relationship between an individual and your
ServiceNow instance.
User records consist of a user name, a password, and information relating
to the individual, such as contact information, location, and job title.
User records are stored in the Users [sys_user] table.
What are groups and what are their uses in ServiceNow?
Page 23 of 69
Remember that Having more than 10,000 user preferences causes system
degradation and UI performance issues
What is global user preference in servicenow?
User preference records for system-wide values also called the default or
global values, are stored in update sets.
User preference records for specific users are not stored in update sets
What are groups in ServiceNow?
Page 24 of 69
The admin role provides access to all features and capabilities.
After access has been granted to a role, all the groups or users assigned to
the role are granted access.
Roles can contain other roles, and any access granted to a role is granted to
any role that contains it.
When possible, simplify user administration by assigning roles to groups.
Create groups containing all the roles necessary for specific personas, then
assign users to those groups.
Role records are stored in the Roles [sys_user_role] table.
What is web service only checks in user records?
To enter a non-standard email address that does not pass field validation,
you must deactivate the validation script first.
Navigate to All > System Definition > Validation Scripts.
Select the email record.
Clear the Active check box and save the change.
What is a User self-registration plugin?
The nobody role means that nobody has access, not even admin, or maint
users.
Warning: Applying the nobody role may be irreversible if applied to some
important system functions.
Can we rename a role in ServiceNow?
When you impersonate any user, all scope-protected roles and encryption
module roles are supported
When you impersonate a user with an application-specific admin role (for
example, an
application admin for Human Resources or Security Incident Response),
you cannot
access features granted by the application admin role, including security
incidents, profile information, or other scope-protected features, unless
you already have those roles
Admins cannot change the password of any user with an application admin
role.
The following actions or conditions cause a user impersonation to end
o The user impersonates a different user
o The user session ends, for example after a user logs out of their
instance
Can we impersonate users in the mobile app also?
Inactive users
Users with no userID
Page 27 of 69
11)ServiceNow Table Administration Interview
Questions 2024
Page 28 of 69
Administrators and application developers can only extend tables d uring
table creation
We see many such relations in a base system such as task and incident,
task and problem etc
Administrators can use these tools to see the relationships between classes.
o Schema map
o System dictionary
o Tables module
What are the different extension models in ServiceNow?
The schema map displays the details of tables and their relationships in a
visual manner
Allowing administrators to view and easily access different parts of the
database schema.
The schema map can also be printed directly from a browser
Page 29 of 69
Which database in Servicenow supports rollback and
recovery?
Page 30 of 69
A rollback context is created for each patch upgrade within a family, and
each plugin activation, provided that the plugin supports rollback contexts.
Activate the Restore Deleted Records and Delete Recovery plugins to use
rollback contexts.
When a rollback context is created in the servicenow
instance?
Page 31 of 69
You can change the type of a field.
To preserve existing data, only change between logical types that map to
the same physical type on the database.
For example, Choice and String
What are functional fields in ServiceNow?
This Determines whether the value of the field is calculated from other
values.
The Calculation Type field allows you to select the script or formula -based
calculation for the column value.
About business rules, calculated fields are populated first before any
business rule, even a business rule, is run.
Fields display as read-only when calculated scripts are applied.
Page 32 of 69
For a table in the global application, the name is prefixed with the string
u_
For a remote table in a scoped application, the name is prefixed with a
namespace identifier and the string st_ to indicate that it is remote and part
of an application.
For a remote table in the global application, the name is prefixed with the
string u_st_
You cannot modify the prefix; however, you can modify the rest of the
table name.
The name can contain only lowercase, alphanumeric ASCII characters and
underscores (_).
What is the purpose of “display” checkbox in the dictionary
record?
Select the check box to enable script objects from other application scopes
to read records stored in this table.
This option offers runtime protection.
For example, a script in another application can query data on this table.
First select read access to grant any other API record operation.
What is the purpose of “Can Create” checkbox in the
application section of table?
Select the check box to enable script objects from other application scopes
to create records in this table.
This option offers runtime protection.
For example, a script in another application can insert a new record in this
table.
This option is available only when the Can read check box is selected.
Clear the check box to prevent script objects from other application scopes
from creating records in this table.
What is the purpose of “Can Update” checkbox in the
application section of table?
Select the check box to enable script objects from other application scopes
to modify records stored in this table.
This option offers runtime protection.
For example, a script in another application can modify a field value on
this table.
This option is available only when the Can read check box is selected.
Page 33 of 69
Clear the check box to prevent script objects from other application scopes
from modifying data stored in this table.
What is the purpose of “Can Delete” checkbox in the
application section of table?
Select the check box to enable script objects from other application scopes
to delete records from this table.
This option offers runtime protection.
For example, a script in another application can remove a record from this
table.
This option is available only when the Can read check box is selected.
Clear the check box to prevent script objects from other application scopes
from deleting records from this table.
What is the purpose of “Allow Configuration” checkbox in
the application section of table?
Select the check box to enable applications from other application scopes
to create configuration records for this table that change its functionality.
For example, an application designer can select this table from the Tables
list on
business rules, client scripts, or UI actions.
This option offers design-time protection.
Clear the check box to prevent application designers from selecting this
table when creating configuration records.
What are system fields in ServiceNow?
When you create a new custom table, several fields appear in the Table
Columns embedded list.
For all tables, required system fields are added automatically.
You cannot delete or modify these fields.
For tables that extend another table, fields on the parent table also appear
on the Table Columns embedded list for the current table.
If you modify these fields, remember that all changes to fields on the
parent table affect all child tables, not just the current table.
Page 34 of 69
Can we delete a table in ServiceNow?
Build indices to access the data held in your tables more easily.
An index puts unordered tables into order, and efficiently speeds up
queries to columns in your tables, by creating pointers to where
information is stored in your database.
Constructing an effective index requires specialized knowledge in database
architecture
What are many to many relationships in ServiceNow?
Page 35 of 69
Task [task] is one of the core tables provided with the base system
The Task [task] table provides a series of standard fields used on each of
the tables that extend it, such as the Incident [incident] and Problem
[problem] tables.
The Task table is a base class that provides fields for the core ITSM
applications such as Incident, Problem, and Change Management.
In addition, any table that extends a task can take advantage of task-
specific functionality for driving tasks.
Modifications made to the Task table are applied to all child tables.
What are journal fields in ServiceNow?
Page 36 of 69
The Assignment rules module allows you to automatically set a value in
the assigned_to and assignment_group fields when a set of conditions
occurs.
What is the execution order between data lookup,
assignment, and business rules?
Page 37 of 69
What are database views in ServiceNow?
Page 38 of 69
When created within the application, sys_id values are unique.
The same sys_id value is never generated twice, ensuring that every record
created in every table in every instance has a unique identifier.
A new record has a sys_id of -1, and once inserted, it is assigned a new
sys_id.
The sys_id is not meant to show as a field on a form or as a column in a
list.
When two records have the same sys_id in ServiceNow?
If two records have the same sys_id value, it occurs as a result of the
following situations
If a record with the sys_id was copied to the other at the database level
outside of the Now Platform.
If a record with the sys_id was copied using an Update Set or via XML, its
sys_id is the same.
What is data archiving in ServiceNow?
Data archiving involves managing table size growth and archiving old
data.
It moves data that is no longer needed every day from primary tables to a
set of archive tables.
The longer an instance runs, the more likely it is to accumulate data that is
no longer relevant. For example, task records from two years ago are
typically less relevant than currently active tasks.
Old data may eventually cause performance issues by consuming system
resources and slowing down queries and reports
Can we query the archived table in ServiceNow?
Page 39 of 69
Problem list ---------------- problem.LIST
Date and time and logo changes ----------- basic configuration ui16 or UI 16
SLA------------------ contract_sla
Page 40 of 69
Group member --------- sys_user_grmember
HRSD COE
Human Resource Service Delivery (Centre of Excellence)
Lets start with very first field you see in the screenshot above.
Updated – It is the latest(most recent) timestamp this incident updated by
anyone , a user or system anyone. It will change according to update.
Updated By – It captures the user Id of account which updated the record
recently. It will change on every update according to user.
Created – The date/time when the record was created in database or in
table. It Never change.
Created By – User Id of the account which created the record. It never
changes.
Opened – It is a timestamp when user starts the creation by clicking
Create New. So, it my be same or few second less than Created.
Page 41 of 69
Opened by -User Id of the account which opened the record. It never
changes.
Closed – The timestamp when the record is finally closed and turned to
inactive.
Closed By – User Id of the account which closed the record. It never
changes.
Example Of Created Vs Opened
Lets say operator OP presses ‘Create new’ under the incident application at
precisely 11:00 a.m.. He spends approximately 4 minutes entering field
information before pressing submit.
For this record, the ‘Opened’ field would be populated with 11:00 a.m., and
the ‘Created’ field would be populated with 11:04.
For items such as REST inserts, or record producers, since this creation and
opening is technically instantaneous from the form perspective, this is why
you probably see identical opened and created values.
Answer : 6 Fields
When you create a new table in ServiceNow, several fields are automatically
generated.
Created : (sys_created_on )
The date and time the record was created.
Created by : (sys_created_by )
The user who created the record.
Updated : (sys_updated_on)
The date and time the record was last updated.
Updated by : (sys_updated_by)
Page 42 of 69
The user who last updated the record.
Updates: (sys_mod_count)
Number Of Updates For This Record Since Record Creation
These fields are essential for tracking and managing records within the system
Columns: 6
Controls:
Extensible: if Enable the Check Box Ur Table Extensible other table (parent to Child)
Auto-number: Ur Customized
Access Controls: CRUD Operations
Page 43 of 69
What is delegation in user administration ServiceNow?
Answer :
Page 44 of 69
In above image can see the attribute is true for CI Relationship Type
table. It means if you make change to any record of CI Relationship
Type table it get captured in update set.
In above image can see the attribute is not present for incident table. It
means if you make changes to any record of Incident table it will not
get captured in update set.
No it is not recommended.
Any such changes can do performance issues in your production instance.
In case you want to add, please get in touch with ServiceNow Support
team and discuss it.
Page 45 of 69
15)List Of All ServiceNow Access Control
QuestionsAttachment QuestionsHRSD Questions
Field-level ACL:-
A field-level ACL is an ACL that applies to a specific field. Here is an
example of a field-level ACL. In this case, the read ACL is defined for the
field short description.
Page 46 of 69
If the ACL is table.*, which indicates it applies to a specific table and all its
fields, In the following example, it is Incident.*, which specifies it is for the
incident table and applies to all of its fields.
Table.active:
in ServiceNow, the Admin Overrides option in an Access Control List (ACL) determines whether
users with the admin role are subject to the ACL rules or not
Key Points:
Page 47 of 69
admins the flexibility to override them when necessary.
User Experience Will only show the records the Will show all pages with the Query BR is only evaluated once per each
User can see, with no message at restricted records being table query. They just return the resulting
the bottom about “some records “invisible” and a message at the records from DB to the application.
removed due to security”. E.g. if bottom “some records removed
there are 500 Incidents but the due to security”. E.g. it will show
User can only see 10, it will 10 pages of records, but the user
show one page with only 10 will only see 1 record on each
records. page – the rest will be empty
rows.
Performance Query BR can provide a ACLs have to be evaluated for Query BR will be shown in the “Debug
performance boost in some every record/field individually. Business Rules” module, but you can only see
cases, compared to ACL. that a particular BR has run, with no info on
whether it actually restricted any records.
Debugging You cannot debug Query BR ACLs can be easily debugged Query BR will impact all your scripts running
using the “Debug Security” with “debug security” on the table where the BR is applied. E.g. if
module. you have a script doing a GlideRecord on
Incident table, it will be affected by Query BR
according to the restrictions put in it.
Impact on Scripts ACLs are not impacting the Query BR can make script You cannot add roles to ACLs from a different
scripts.Exceptions include: using debugging rerd sometimes. scope.You cannot use script evaluation in
GlideRecordSecure or adding ACL wiwhichs for a table in a different
“canRead/canWrite” etc. to your scope.You cannot create wildcard (*) rules for
GlideRecord in scripts. tables in a different scope.
Scoped Applications You cannot create Query BR on In some cases, it was impossible
tables from a different scope to properly test or debug Query
within a scoped app. BR by impersonating a user. We
acd to log in as that user to see the
real effect*
User Impersonation Query BR can impact the proper No known issues related to *I have not been able to reproduce this now,
inserting or updating of records impersonation. but our testers reported this issue on several
via Update Sets – e.g. if on a occasions. Keep this in mind just in case.
target instance, you don’t have
access to a specific record due to
Query BR and try to update it via
an Update Set, it won’t happen.
Page 48 of 69
Update Sets Under normal circumstances, No adverse impact on Update Under normal circumstances, you will
you will probably not be affected Sets. probably not be affected by this behaviour.
by this behaviour. Things get Things get interesting when you start
interesting when you start restricting configuration files.
restricting configuration files.
You can! It will evaluate the ACs in a “random” order though — you can’t
predict which would get applied first, but if you restrict a field to a speci fic
role and have a different AC restricting the same field to a different role, it
will be an “OR” type of application – it will give access to someone who has
either role or condition satisfied.
For example, the 2 ACs below will allow anyone who matches the role and
condition of either, access to write to the “incident.caller_id” field.
You could also combine these into a single AC, but sometimes its easier
(especially considering the condition writing) to have separate ones.
You will get an error because you try to create/modify an ACL which is in
scope “Digital Portfolio Management” but the table “Incident” is in Global
scope. Imagine this would be possible, then all scoped applications could
block table access of other applications.
Instead, if you need extra conditions you have to create an additional ACL in
the “Global” scope.
Page 49 of 69
You can create ACLs for different operations on the table like Read,
Write, Create, and Delete.
You can create ACLs for Client Callable scripts, UI pages, REST
endpoints, etc. Please see the low screenshot.
While giving the user access to Read, you need to first create Row level
ACL first and then create Field level ACL for Read permission.
You need to add the role that you decided to whom you are going to give
Read access.
Can anyone explain the order of ACL evaluation in
servicenow?
When working with ACLs, it is extremely important to note that the order in
which an ACL definition is evaluated has performance implications. These
are:-
1. Roles
2. Criteria
3. Script
Page 50 of 69
1. ROLES: FASTEST
2. CRITERIA: FAST
3. SCRIPT: SLOWEST
ROLES: FASTEST
Roles will evaluate extremely fast as they are cached in server memory, so
using roles is always highly recommended.
CRITERIA: FAST
Conditions are based on values in the current record and will be evaluated
uickly, but only after the role has been checked.
Although you can have complex criteria using dot-walking (“Show related
records”) these will incur a performance overhead as ServiceNow needs to
load the related records.
In this example, the criteria is based on the company of the assigned person
for that record, requiring ServiceNow to load TWO additional records to
evaluate.
Remember, performance does not scale in a linear fashion.
Although criteria like this may seem blisteringly fast when looking at a
single record in a development environment, it will be much slower in
production as lots of people access records—and particularly if it is applied
to a READ rule in a list view as the criteria has to evaluate for each and
every individual row being displayed (multiplying the performance
overhead).
SCRIPT: SLOWEST
Although slowest here is a relative term, ACL scripts will evaluate at least
slightly slower than ACL roles and ACL criteria for a number of reasons.
Scripts are often needed in ACLs, but they should always be carefully
considered for performance implications.
The best practice with scripts is to have them shielded by roles and
criteria. In this way, the script won’t even run unless the ACL first
matches the role and then matches the criteria, potentially sidestepping a
performance overhead before it occurs.
Consider the following two ACLs. Technically, they’re identical, but one
will run considerably faster than the other.
Page 51 of 69
Even though they’re technically identical, the second ACL will be slower
because:
The script will be run for ALL users and not just those that have the ITIL
role
The script will run on ALL records not just those that are active
ServiceNow’s JAVA layer has to invoke a Rhino Javascript engine to
evaluate this script
Ideally, scripts should only be used on ACLs that already have roles and
criteria to ensure they’re only running when absolutely necessary.
ServiceNow is optimized to run ACLs extremely fast, but they can introduce
a performance overhead on large instances with millions of records.
GRC Policy and compliance implementation ACL scenario?
Page 52 of 69
o Match the object against table ACL rules.
o Match the object against field ACL rules.
This processing order ensures that users gain access to more general
objects before gaining access to more specific objects.
A user must pass both table and field ACL rules to access a record object.
o If a user fails a table ACL rule, the user is denied access to all fields in
the table, even if the user passes a field ACL rule.
o If a user passes a table ACL rule, but fails a field ACL rule, the user
cannot access the field described by the field ACL rule.
Explain table ACL rule?
The user must first pass the table ACL rule. Since the base system includes
STAR (*) table ACL rules that match every table, the user must always pass
at least one table ACL rule. The base system provides additional table ACL
rules to control access to specific tables.
After a user passes a table ACL rule, field ACL rules are processed in the
following order:
The first successful field ACL evaluation stops ACL rule processing at the
field level. When a user passes a field ACL rule, the system stops searching
for other matching field ACL rules. For example, if a user passes the field
Page 53 of 69
ACL rule for incident.number, the system stops searching for other ACL
rules that secure the Number field in the incident table.
Scenario – When accessed from an IP address that does not allow access to
servicenow. Are you able to see the login page? Or does it just say the page
doesn’t exist?
Solution – if you want to access a ServiceNow instance with IP address
access restriction, you will get the following screen if your IP address is not
on the whitelist:
Scenario –
If we have a write ACl and Name is Incident.* and its for role “xyz”
If we have a write ACl and Name is Incident.callerid and its for “xy” role.
The queries are:
1. What will be the result?
Page 54 of 69
2. What needs to be done to have Callerid to be only accessible by “XY” and
by “xyz”?
Solution –
1. The user who has “xyz” role, can write all field in incident. The user who
has “xy” role, can write “callerid” field in incident.
2. I think read ACL is needed.
Setting a “Deny” IP Access Address control could return
“Invalid update” if the user IP creating the deny rule is not
included on at least one allowed range?
Cause:-
The IP range you are trying to deny might come under your current Public
IP range and that range would lock your current IP address out!
e.g. If your current IP is 10.10.10.10, you should have an allow rule for
10.10.10.10 . Then you can create a deny rule for 0.0.0.0 to
255.255.255.255.
Resolution:-
Allow a range that contains your current Public IP first.
To know what is your IP address, use this
URL: https://www.whatismyip.com/
Then deny the range which you wish to be block. After allowing one
public IP range, you could block from 0.0.0.0 to 255.255.255.255.
e.g. If your current public IP is 10.10.10.10, you should have an allow rule
for 10.10.10.10 . Then you can create a deny rule for 0.0.0.0 to
255.255.255.255.
How to control rest API post/patch access?
Scenario –
I have a requirement to not allow user to insert/modify a particular field with
rest API (not script Rest API, just table API) directly( means, via put, patch,
post), but still allow read access, also allow the user’s other action via rest
API to trigger business rule to update/insert this particular field.(some kind
of rea only access via rest API)
I could not figure out how to implement this, Does any one implement
somethin similar or has any suggestions? Is it possible?
Resolution:-
Pending – Working on it.
Answer :
Table-Level Read:
Checks if the user can read the table.
Page 55 of 69
Record-Level Read:
Checks if the user can read the specific record.
Field-Level Read:
Checks if the user can read individual fields within the record.
Table-Level Write:
Checks if the user can write to the table.
Record-Level Write:
Checks if the user can write to the specific record.
Field-Level Write:
Checks if the user can write to individual fields within the record.
Table-Level Delete:
Checks if the user can delete records from the table.
Record-Level Delete:
Checks if the user can delete the specific record
Question: 60
Detailed Answer :
"Table":
Refers to rules that apply to entire tables. It controls access to all records within the specified
table.
For example, a table-level read rule would determine if a user can see any records in the table.
"None":
Indicates there are no specific field-level rules applied. If you see "None," it means the ACL rule
doesn't apply to any particular field within the table, leaving field-level access unrestricted unless
other ACLs are defined
Answer :
ACL (Access Control List) order refers to the sequence in which ACL rules are evaluated
and applied in ServiceNow.
Role
Page 56 of 69
Conditions
Script
which roles is need to create new ACLS and update old rules?
Answer:
Specifically, you should elevate your role to "security_admin" to manage ACLs effectively
Other Roles
Admin
ITIL
ITIL_Admin
User Admin
Report Admin
Catalog Admin
In ServiceNow, ACL (Access Control List) rules can be applied in a few different ways to control
access to data
Record-Level ACL:
Field-Level ACL:
Table-Level ACL:
Scripted ACL:
Conditional ACL:
Page 57 of 69
Summary:
An Access Control List (ACL) in ServiceNow is a set of rules that control the access
permissions for records, fields, and other resources within the platform. These rules
determine who can view, create, update, or delete data.
Key Components
Permissions:
Define what actions (read, write, delete) a user can perform.
Conditions:
Specify the criteria that must be met for the permissions to apply.
Roles:
Associate the permissions with specific user roles.
Significance
Security:
Ensures that sensitive data is protected and only accessible to authorized users.
Compliance:
Helps maintain compliance with internal and external data security regulations.
Customization:
Allows for fine-grained control over data access, tailored to business needs. Day 6 ServiceNow
Interview
16)SERVICENOW ADMINSTRATION
Page 58 of 69
What is the ServiceNow admin centre application?
Admin Center provides a central hub for platform owners and admins to
access the platform capabilities, discover new applications, and get
intelligent, actionable insights.
Use the Admin Center application to discover the capability of the
available applications and how they can be implemented to work towards
achieving your business goal.
What is the purpose of the Admin Home page?
You can’t add or remove any cards from the Shared admin dashboard.
You can create a new dashboard by selecting Create new dashboard.
You can modify the cards in your personalized dashboard.
What information is available about the system in the admin
center?
Page 59 of 69
What are adoption blueprints servicenow in the admin
center?
These are industrial goals based on data and research done by servicenow
keeping industrial standards in mind
Each adoption blueprint displays the progress you have made in working
towards your strategic goal
The recommended applications and features have been arranged in the
order of impact to give you a measurable result.
What is the servicenow configuration hub?
Page 60 of 69
What are ServiceNow Configuration Hub features?
17)Development Questions
1. What is the primary purpose of Team Development in
ServiceNow?
Page 61 of 69
To support parallel development on multiple non-production ServiceNow
instances.
To enable branching operations, including pushing and pulling record
versions between instances.
This allows for the comparison of a development instance with other
development instances.
To provide a central dashboard for all Team Development activities.
2. How does Team Development allow developers to
manage changes?
Page 62 of 69
Local changes are tracked in a table showing which customized records
have current versions on the development instance but not on the parent
instance.
Developers queue local changes that are ready to push.
Each development instance maintains a single queue, regardless of who
develops or queues the changes.
Developers can ignore local changes that they do not want to push.
8. What does the Local Changes list on the team dashboard
show?
It shows the local changes that have not been queued for the next push o r
ignored for all pushes.
9. What does the Ready to Push list show?
It shows the changes that are queued for the next push.
10. What does the Ignored list show?
Page 63 of 69
14. How can developers resolve collisions in Team
Development?
By clicking the collision indicator to open the list and resolve the
collisions.
By using the Resolve a collision in Team Development feat ure.
15. What does changing the parent instance initiate?
Ensure that the new parent instance was cloned recent ly from an
appropriate instance.
Ensure that the change does not conflict with your change management
process or other development efforts.
17. What is the purpose of comparing peer instances in
Team Development?
Page 64 of 69
Manually after an external disruptive event on the parent instance, such as
a clone or failover.
21. What is a collision in Team Development?
When the pulled version and the current local version are modifications of
a different version, indicating that someone else has modified the same
record.
22. What types of records cannot be merged in Team
Development?
sys_choice [Choice]
sys_choice_set [Choice Set]
sys_ui_form [Form]
sys_ui_list [List]
sys_ui_related_list [Related List]
sys_ui_section [Form Section]
wf_workflow [Workflow]
wf_workflow_version [Workflow Version]
23. How should you resolve collisions involving non-
mergeable record types?
Use the Pulled Version and Use Local Version options on the Team
Development, Resolve Collision page.
24. What are the rules regarding parent and production
instances in Team Development?
An instance can have multiple peer instances but only one parent instance.
The parent instance must be on the same release family as the local
instance.
Do not use a test or production instance as the parent instance.
Production instances should never have a parent.
25. What happens when you back out a change on a Team
Development instance?
It backs out the change all the way back down the chain, including
undoing the work on the source instance.
26. How can you set up an instance hierarchy in Team
Development?
Page 65 of 69
Define peer instances for each instance if needed.
Pull all changes from the parent instance.
27. What roles are involved in the Team Development
process?
Page 66 of 69
By enabling developers to share code between instances and resolve
collisions throughout the development process.
33. What is the process for pulling changes in Team
Development?
Pushing adds only the current development version to the parent instance.
Developers can choose which changes to push to the parent.
Pushing creates a local Update Set on the parent that is marked as
complete.
35. What does the Team Development process involve?
Page 67 of 69
Review and approve changes as needed.
Use the application repository or the ServiceNow Store for installation.
42. What are the best practices for managing parallel
development?
They remain on the local instance and are not pushed to the parent
instance.
Developers can change their status to ready for the next push if needed.
46. How does Team Development support collaborative
development?
Page 68 of 69
It cannot be used to install applications.
Some record types cannot be merged, which is a limitation.
It needs admin access to both local and parent instances as well.
49. How does Team Development handle updates to
customized records?
Page 69 of 69