How do you set a maximum length to a specific field on a form ?
What is an incident?
What is a problem?
How do you create a custom table in snow?
How do you copy all the users from LDAP to sNow ?
How do you copy all the uses from Active Directory to sNow?
How do you create a role ?
How do you create a user ?
How do you create a group?
What is group , user and role in sNow ? How they are associated each other ?
How do you assign a user to role / group ?
How can you make a specific 'Number' field automatically increment whenever new record created in a database table ?
- How do you find the Database field name of a specific field which displays on a form ?
- What is Update Set ? How do you export and import in sNow ?
- Question : How do you find out value associated to a specific lable in a drop down list on a form ? for eg : I want to know the value associated to ' High' in a Priority drop down list
Answer : Right click on the drop down list on a form, choose Personalize dictionary and you can able to see the label and it's associated value.
- Question : How can you change sequence of list of values in a choice list component ? For eg : I want to re arrange the choice list values for a 'Priorty' column ?
- Question : How do you set a default value to a 'Choice List ' field ? For example, Whenever incident created, I want to set default value for 'Priority' choice list as '3'
- Question : What is the significance of 'Order' attribute while configuring Advance Business rule ?
Q. What is servicenow?
ServiceNow is a cloud based ITSM tool. Please check the below url before attending a service-now interview.
Q. What do you mean by term "Application" in servicenow?
Application is a group of modules which provides its related information.For example change application provides the information related to change process. It consist of modules like create change ticket, view change tickets etc.
Q. What is the latest servicenow user interface and when it was released?
The latest user interface is UI14 interface.It came in Eureka release
Q. How to enable or disable an application ?
Navigate to "Application Menus" module under system definition application.Open the respective application that require to be enable or disable.Set active as true to enable it or set active to false to disable it
Q. What is a view ?
View defines the arrangement of fields on a form or a list. For one single form we can define multiple views according to the user preferences or requirement.
Q. What is ACL?
An ACL is access control list that defines what data a user can access and how they can access it in service now.
Q. What do you mean by impersonating a user? How it is useful?
Impersonating a user means that you can log in to the system as that user and can have feel how the service-now UI is set for that user.This is very useful while testing.For example if you are required to test that a user can access change form or not.You can impersonate that user and can test instead of logging out from your session and logging again with that user credentials.
Q. Which is the Parent table for incident, change and problem ?
Task table
Q. 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 provides an alternative way to create records through service catalog
Q. 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.
Q. 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
Q. What is an UI policy?
UI policies are alternative to client scripts.It can be used to set a field as mandatory, readonly and visible on a form. You can also use UI policy for dynamically changing a field on a form.
Q. 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.
Q. 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.
Q. What is a client script?
Client script sits on the client side(the browser) and run there only.types of client script are OnLoad() OnSubmit() OnChange() OncellEdit)(
Q. How can you cancel a form submission through client script?
In the onSubmit function return false. function onSubmit() { return false; }
Q. What is a business rule?
Business rule is server side scripting that executes whenever a record is inserted, updated, deleted, displayed or queried.The key thing to keep in mind while creating a business rule is that when and on what action it has to execute. You can run the business rule 'on display', 'on before' or 'on after' of an action (insert,delete,update) is performed.
Q. Can you call a business rule through a client script?
Yes you can call a business rule through a clientscript by using glideajax
Q. What is a gliderecord?
Gliderecord is a java class that is used for database operations instead of writing SQL queries.
Q. What do you mean by data lookup and record matching?
Datalookup and record matching feature helps to set a field value based on some condition instead of writing scripts. For example:on Incident forms, the priority lookup rules sample data automatically sets the incident Priority based on the incident Impact and Urgency values. Data lookup rules allow to specify the conditions and fields where they want data lookups to occur.
Q. What is an update set?
Update set is a group of customization.It captures the customization or configuration changes made by a user and then these update sets can be moved from one instance to another. 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.
Q. What is a sys_id?
A unique 32-character GUID that identify each record created in each table in servicenow
Q. What is LDAP Integration and its use?
LDAP is Lightweight Directory Access Protocol.It is used for user data population and User authentication. Servicenow integrates with LDAP directory to streamline the user log in process and to automate the creation of user and assigning them roles
Q. How to set a field unique on table?
Go to that respective field dictionary and set the unique check box to true.
Q. What is data dictionary?
Data dictionary defines every table and field in the system. It contains information about a field's data type, default value, dependency, and other attributes
Q. What happens when a user make some changes the homepage?
When a user make some changes on the homepage then that pages is saved as his personalized homepage instead of updation on the actual homepage.For example home page name is Incident overview.When a user make some changes on it then this page is saved as My incident overview and is only visible to that user.
Q. What role you are required to create/update ACL
security_admin
Q. How you can check on which servicenow instance node you are working ?
Goto SystemDiagnostic -> Stats. Statistic page will be open where you can get the details of node and the instance on which you are working on
Q. How to enable or disable the pie chart labels?
To enable or disable the labels in pie chart we need to set the property glide.ui.chart.pie.labels to true or false.
Q. What is installation exit?
Installation exits are customizations that exit from Java to call a script before returning back to Java. Navigate to System Definition > Installation Exits. Some installation exit names (Login, Logout, ValidatePassword, ExternalAuthentication) are reserved and cannot be changed. Other installation exits can override these with custom script that replaces the script in the default installation exit.
Q. What is import set?
Import Sets is a tool used to import data from various data sources and, then using transform map, map that data into ServiceNow tables. The Import Sets table acts as a staging table for records imported.
Q. What is transform Map?
A transform map transform the record imported into servicenow import set table to the target table. It also determines the relationships between fields displaying in an Import Set table and fields in target table
Q. What do you mean by Foreign record insert?
A foreign record insert occurs when an import makes a change to a table that is not the target table for that import. This happens when updating a reference field on a table.
Q. Which searching technique is used to search a text or record in Servicenow ?
Zing is the text indexing and search engine that performs all text searches in ServiceNow.
Q. What does the Client Transaction Timings plugin does?
The Client Transaction Timings plugin enhances the system logs by providing more information on the duration of transactions between the client and the server. By providing information on how time was spent during the transaction, performance issues can be tracked down to the source by seeing where the time is being consumed.
Q. What is inactivity monitor?
An inactivity monitor triggers an event for a task record if the task has been inactive for a certain period of time. If the task remains inactive, the monitor repeats at regular intervals.
Q. What is domain separation?
Domain separation is a way to separate data into (and optionally to separate administration by) logically-defined domains. For example A client XYZ have two business and they are using servicenow single instance for both business.They do not want that user's from one business can see data of other business.Here we can configure domain separation to isolate the records from both business.
Q. Ho you can remove Remember me check box from login page?
You can set the property - "glide.ui.forgetme " to true to remove the Remember me check box from login page.
Q. What is HTML Sanitizer?
The HTML sanitizer automatically cleans up HTML markup in HTML fields to remove unwanted code and protect against security concerns such as cross-site scripting attacks. The HTML sanitizer is active for all instances starting with the Eureka release.
Q. Which table is used in servicenow to audit changes to records?
ServiceNow uses the Sys Audit [sys_audit] table to audit changes to records.
Q. 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.
Q. What is a dashboard?
Dashboard is a visual collection of reports and paralytics presented as KPI scorecards and indicator summary tab.
Q. What is scorecard?
A scorecard can be used to measure the performance of an employee or a business process. It is a graphical representation of progress over time. A scorecard belongs to an indicator. The first step is to define the indicators that you want to measure. Scorecards can be enhanced by adding targets, breakdowns (scores per group), aggregates (counts, sums, and maximums), and time series (totals and averages).
Q. What do you mean by indicators in performance analytics in servicenow?
Indicators, also known as metrics, business metrics, or KPIs, are statistics that businesses track to measure current conditions and to forecast business trends.
Q. How to set the default value of a date field to current datetime value?
Goto the dictionary of the respective date-time field and set the default value as : javascript:gs.nowDateTime();
Q. What is client transaction timing?
Client transaction timing provides more information on the duration of transactions between the client and the server.This require to activate the plugin - "Client transaction timing plugin".
Q. What a setWorkflow(e) function does?
setWorkflow(e) enables or disables the running of business rules that might normally be triggered by subsequent actions. If the e parameter is set to false, an insert/update will not be audited. Auditing only happens when the parameter is set to true for a GlideRecord operation. Parameters: e - Boolean variable that if true (default) enables business rules, and if false to disables them.
Q. What the setForceUpdate() function does?
setForceUpdate() updates the record even if there is no changes on the record.
Q. What is the significance of setLimit(n) function?
setLimit(n) functions limits the number of records to query by Gliderecord()
Q. Can you update a record without updating its system fields(like sys_updated_by, sys_updated_on)?
Yes, you can do it by using a function autoSysFields() in your server side scripting.Whenever you are updating a record set the autoSysFields() to false example: var gr = new GlideRecord('incident'); gr.query(); if(gr.next()){ gr.autoSysFields(false); gr. short_description = "Test from Examsmyntra" ; gr.update(); }
Q. How to get the row count in a gliderecord?
By using the getRowCount() function you can retrieve the number of rows
Q. What is the difference between deleteMultiple() and deleteRecord()?
deleteMultiple() deletes multiple records according to the current "where" clause. Does not delete attachments, whereas deleteRecord() deletes single record.
Q. How to restrict users to upload an attachment in servicenow?
1.Navigate to System Properties > Security. 2.In the Attachment limits and behavior section, locate the List of roles (comma-separated) that can create attachments: property (glide.attachment.role). 3.Enter one or more roles separated by commas. 4. Only roles listed in this property are able to upload attachments to a record. If no roles are entered, then all roles can upload attachments to ServiceNow forms. Click Save.
Q. How to disable attachment on a specific servicenow table?
Go to the dictionary of that table and add "Add no_attachment" to the Attributes field.
Q. What is the significance of cascade variable checkbox in order guide ?
Check box to select whether the variables used should cascade, which passes their values to the ordered items. If this check box is cleared, variable information entered in the order guide is not passed on to ordered items.
BSM: What is driving companies to implement CMDB today?
CM: They have a desire to understand what they have in their environment and to understand how those things are related to one another. This in turn provides them with the ability to understand and manage the high-level services that they provide to the business –- to ensure that changes to the environment are done with due regard to impact to the business.
BSM: Why does CMDB have a reputation for deployment and maintenance challenges in the past, and how has CMDB changed to address these issues?
CM: Most of the past issues stemmed from the fact that people were looking at CMDBs as repositories of technology supported by business services -- rather than repositories of business services, supported by technology. I’m not sure that CMDB has changed that much -- but PEOPLE have changed. They have come to the realization that approaching this from a technology perspective is all wrong. CMDB needs to be looked at from the perspective of the business –- and of the services that IT provide to it.
BSM: Is CMDB an important technology to enable BSM?
CM: Absolutely. You need to have an understanding of the technology building blocks of your business services in order to ensure the availability and performance of those services.
BSM: What is the difference between CMDB and CMS (Configuration Management System)?
CM: The CMS term was ITIL v3 trying to catch up with what everyone else had already figured out. ITIL says that “the Configuration Management System maintains one or more CMDBs, and each CMDB stores Attributes of CIs, and Relationships with other CIs.”
So, a CMDB is not a solitary entity that holds all information about all configuration items, but rather a collection of repositories that “roll up” data into a master system (now called a CMS). Quite frankly, this is how most leading vendors (including ServiceNow) and most practitioners saw the correct implementation of the ITIL v2 CMDB anyway -– and from a ServiceNow perspective, we can fit into either camp. Many customers elect to use ServiceNow as a CMS pulling information from other CMDBs, while others see us as a CMDB data source.
BSM: What are the key features or functionality a company should look for when purchasing a CMDB?
CM: First and foremost, remember that the CMDB is a repository -- a repository that is used by other ITIL processes. So, it’s vitally important that the CMDB is an integral part of the same system as those processes. You should look for a CMDB that uses the same technology; the same data model; and the same platform as the consuming ITIL processes -– don’t accept disparate tool “integration” stories.
Second, look for a CMDB that will allow itself to be organized from a business process level first -– and then extended down to technology. A CMDB that forces users to build up from a technology perspective is not going to meet the objective of CMDB, and will turn into a complex implementation that will likely fail.
Third, look for a CMDB that can be easily integrated with other data sources outside the Service Management environment. Look for it to have built-in reconciliation and normalization capabilities to ease the burden of these integrations.
Finally, it is imperative the tool efficiently supports the way people expect to work. The commitment of the people using and maintaining the information in a CMDB is critical to its success. Unfortunately, poorly designed tools have have thwarted even the best CMDB intentions. For example, if updating a CI record takes 40 clicks when it should only take six, user frustration will mount and a CMDB initiative will wither and die.
BSM: Is analytics an important feature of CMDB?
CM: Not necessarily a feature of the CMDB itself, but analytics and reporting should be able to easily access the data within the CMDB. In the case of ServiceNow, all data within the CMDB can be directly accessed for reporting purposes through actions as simple as a right-click from a filtered list; or by selecting from an extensive list of pre-created reports; or by using the ad-hoc report writer built into the product; or by accessing the data directly through our ODBC driver for extraction to third-party reporting or analytics tools.
BSM: How has CMDB evolved in order to handle the new dynamic virtual and cloud environments?
CM: CMDBs now have to track additional CI attributes in these dynamic environments. They also have to be prepared to be less “definite” about the physical location of a particular CI. For example, in a virtual/cloud world, applications can be moving from machine to machine continually –- and so this creates some new challenges for a CMDB.
Additionally, ServiceNow has introduced runbook automation capabilities to the CMDB. So those dynamic virtual and cloud environments can actually be created and provisioned directly from within ServiceNow -– and then information is automatically fed back into the CMDB for ongoing configuration management.
BSM: What are the top benefits that a company can gain from CMDB?
CM: The benefits are actually realized in areas outside the CMDB itself –- and all boil down to the ability to offer better service to the business through better IT. Better change management; faster incident resolution; higher application availability; reduced asset maintenance costs; more automated processes; simpler problem resolution; increased IT governance capability ... the list goes on. Dumping thousands of configuration items into a CMDB won't do any good unless there's a clear business justification. For IT people, that might mean getting on the phone with application owners and other business managers to draw clear links between CIs and the services they support. A relevant and accurate CMDB can provide actionable data and have a positive impact across all service improvement initiatives.
BSM: How will CMDB continue to evolve in the near future?
CM: CMDB will continue to evolve as the technology around it evolves –- as we have seen with the introduction of cloud/virtual infrastructure.
In terms of predictions -- In ITIL v3, we were introduced to the concept of the Service Knowledge Management System, or SKMS, and we feel that this will continue to develop. This is the set of tools, processes, and databases used to manage knowledge and information. This includes the CMS, trusted sources, CMDBs, the SACM process and anything else required to turn data into wisdom. After all, that is why you are collecting this data in the first place –- so that it can be re-used.
As Social IT becomes more prevalent, a new community-driven, organically growing knowledge repository will quickly overtake the static knowledge bases of old. IT will no longer be the gatekeepers of knowledge, but will retain responsibility for storing it; possibly indexing it; and making it accessible to the business. The CMDB will play a key part in this knowledge revolution –- and may end up as the repository for knowledge about CIs, in addition to the configuration and relationships stored there today.
The other prediction that we would make would be in the area of automatic remediation –- and we have customers doing this today using our CMDB in conjunction with our Runbook Automation capability. In these situations, customers are identifying issues with CIs (perhaps non-standard configurations or similar) and then using runbook automation to automatically remediate those issues with zero-touch.