30) What is UI Scripts
UI scripts provide a way to package client-side JavaScript into a reusable form, similar to
how script includes store server-side JavaScript. Administrators can create UI scripts and
run them from client scripts and other client-side script objects and from HTML code.
Note: UI scripts are not supported for mobile.
31) What is a record producer?
A record producer is a type of a catalog item that allows users to create task-based records
from the service catalog. For example you can create a change record or problem record
using record producer. Record producers provide an alternative way to create records
through service catalog.
32) Can we create record producers from tables?
Yes
33) How to redirect after Submitting a Record Producer
To redirect an end user to a particular page after the record producer is submitted, define the
redirect link in the Script field using any of the following:
producer.url_redirect: Enables the redirect behavior within the Platform UI.
producer.portal_redirect: Enables the redirect behavior within Service Portal.
For example, the following code redirects users to their homepage after the record producer
is submitted:
Within the Platform UI:
producer.url_redirect="home.do";
Within Service Portal:
producer.portal_redirect = "? id=sc_home"
The following code gives the id of the record producer:
RP.getParameterValue('sysparam_id')
34) What is dictionary override?
Dictionary Overrides provides the capability to override several properties of a field in
extended table. For example change table is extended from task table. There is a field named
status in task table and set as read-only. When we use this field in change form it will show
be a read only. We can set this to non-read only by using the dictionary override. Similarly
there are other properties that can be set for the fields in extended table.
35) What do you mean by coalesce?
Coalesce is a property of a field that we use in transform map field mapping. When we set
the coalesce as true for a field mapping it signifies that this field will work as unique key. If
a field match is found with the coalesce field, then existing record will be updated with the
imported information in target table else a new record will be inserted into the target table.
36) What are UI actions?
UI actions are helpful to create buttons and links on form as well as list. These ui actions
script will run only when we click on that ui action.
37) What kind of script can we write in UI action?
We can write both client side and server side script in UI action. To write Client side script
we need to check the property box against client field. It asks for “on click” function. We
need to start the script with function which we have mentioned in on click field.
For server side scripting we can directly write the script.
38) What are UI policies?
UI policies are alternative to client scripts. It can be used to set a field as mandatory, read-
only and visible on a form. You can also use UI policy for dynamically changing a field on
a form.
39) Can we do scripting in UI policies?
Yes we can, when we tick the advanced check box, it displays script field. There we can
write client script like g_form.setMandatory, g_form.setVisble, g_form.setreadonly.
40) What is a data policy?
Data policy checks the mandatory and read-only of a field whenever a record is inserted or
updated through a web-service or import set. For example: If a mandatory field in the
incoming record (from import set or web-service) is empty then the data policy will not
allow to insert that record into the table.
41) What is difference between UI policy and data policy?
UI policy acts when a record is inserted or updated through a servicenow UI i.e. servicenow
forms while data policy acts whenever a record is inserted or updated into database through
any means.
42)What is Schema map?
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.
43) What is your experience in Notifications?
I have written email templates, and used in notifications. Also I have created 2 kinds of
notifications 1) sending the notifications when a record inserted or updated 2) sending an
email when an event is triggered.
44) Please tell me the process of triggering event based notifications?
To create an event we need to create a record in event registry. That event can be used in
notification, we need to select the notification as “when event triggers” and use the event in
business rule with the function “gs.eventqueue”
.
45) What is a dictionary?
It is a table which maintains the information of all the tables and fields.
46) Did you work on SRM? (Service request management)
Yes, I have worked on Service Catalog. (Note: SRM = Service catalog in ServiceNow)
47) Could you please tell me your experience in SRM?
I have created catalog items with variables and variable sets. I have used workflows
And execution plans to design the workflow of a catalog item.
48) What is a workflow?
A workflow diagrammatic approach to design the process of a catalog item.
49) Could you please briefly explain about how to design the workflow?
Go to the workflow editor, these you can find an IDE. Click on the new to create a new
workflow. After finishing the design by using different activities then publish the
workflow.
50) What is an execution plan?
It is an alternative to the workflow to design the process of a catalog item. It can be done
by using ui customizations.
51) How to choose between a workflow and execution plan?
Depends on the complexity of the design we need to choose. If the design is really complex
then we can go for workflows.
52) How to create tables in Service Now?
Go to “tables and columns”, there you can create application, modules and respective tables
53) What kind of roles typically we have in service-now?
Ess (self-service), ITIL, admin.
54) Do we have any cheat codes to open tables and forms for which we don’t
have access?
table_name.do and table_name.list
55) How can we restrict the users seeing the application and modules?
We can give roles to access a specific applications and module.
56) What are access control lists?
An ACL is access control list that defines what data a user can access and how they can
access it in service now.
57) How many types of access controls do we have?
Record, UI Page, Processor and client callable script include.
58) Can we have a template without a form for a table? (OR)
Do you have any idea on Record Producer?
Yes we can create a record Producer.
59) What is a Record Producer?
A record producer is a type of a catalog item that allows users to create task-based records
from the service catalog. For example you can create a change record or problem record
using record producer. Record producers provide an alternative way to create records
through service catalog.
60) What is the difference between Record Producer and catalog item?
Catalog items are for SRM and create a ticket in request table which has request items and
tasks, whereas record producer is a template to insert a record in any required table.
61) How can we write a transform map?
We can develop them in 2 ways –
1. Direct field mapping
2. Scripting
We need to select the target table and transform them by using these 2 methods.
62) Have you done any integration with Servicenow?
Yes, I have done email integration and REST Integration
63) Could you please explain about email integration?
We use inbound action to create email integration. We have given a specified format to
“Orion” system. As soon as some alert comes in Orion system, it generates an email to
ServiceNow in a specified format. By using an inbound action scripting we have created an
incident ticket.
64) What kind of email the inbound action accepts?
It accepts New, Forward, Reply emails.
65) What kind of basic administration work you have done?
I have done like adding users to groups, assigning Roles to users and groups.
66) How many instances your current project has?
We have 3 instances 1) Dev 2) Test 3) Production
67) How do you migrate the customization and code into different instances?
We use update sets.
68) Could you please tell me about update sets?
Update set is the group of customization which is used to capture all change in your
instance. And move the changes to one to other instance
Go to the local update sets, create an update set and do the changes once changes are
done, put the update sets in complete state.
For example if we made some configuration changes in our development environment
and want same changes in our test environment then we can capture all the changes in an
update set and can move this update set to the test environment instead of doing changes
manually in test environment
69) How do you migrate update sets?
We need to go to Target instance and create an update source; we need to give credentials of
the source instance. It will pull all the completed update sets of source instance to target
instance and we need to commit them in target instance.
70) Did you work on Sla’s?
Yes, I have created SLA‟s as per the client requirement.
71) Could you please tell me the procedure for creating an SLA?
We go to Sla tables and select the table on which SLA need to be established and give start,
stop, pause conditions to it.
72) What is the difference between SLA and OLA?
SLA is the agreement between Vendor and Client whereas OLA is the agreement within the
organization.
73) Did you work in the knowledge management?
Yes, I have good knowledge in Knowledge management
74) What all you have done in knowledge management?
I have created knowledge articles, and make them available to specific rolled users.
75) What do we need to do to make a knowledge article available to all the
users?
We need to assign public role to the knowledge article.
76) What kind of knowledge articles we can create in Service Now?
We can create attachment links, attachments, HTML pages etc.
77) How can we search a knowledge article?
We can use “Meta tags” for it. Whatever we give in the Meta tags, they can be the
searchable elements for the knowledge article.
78) Could you please tell me the areas we can search for knowledge articles?
We have a module self-service application, and also we can search on any field which has a
knowledge icon against it. For example short description in incident management.
79) What are the classes in CMDB?
Classes are tables for storing dedicated type os devices like servers, computers databases,
data base instances.
80) What is a table extension?
We can extend any new table with one existing table. This brings all the existing table
fields into the new table.
Comments
Post a Comment