1. What does a ServiceNow Developer do?
Ans:
A ServiceNow developer manages an organization's ServiceNow platform, which helps IT service management in automating business processes. To improve the platform will be involved in designing, configuring, building, troubleshooting, and installing baseline and custom apps. A ServiceNow developer must also monitor the platform's stability and make necessary architectural changes
2. What are the roles & responsibilities of a ServiceNow developer?
Ans:
Below listed are the main roles and responsibilities of a ServiceNow developer:
· Identify the defects and provide solutions.
· Collaborate with other administrators to develop solutions and modifications.
· Manage tool settings to ensure consistent productivity.
· Customize new programs and modifications to make them easier to use.
· To avoid disruptions, implement new changes with as little downtime as feasible.
· Assist with any technical issues that arise during the development process
Answer:-
- when i start my day ,i will check mail.
- i/we support Developement/support project as a part of team I need to fullfill incident or tasks as per business requirement.
- we follow agile methodologgy and sprint iteration is 2- 4 weeks.
- once the ticket is raised and assigned to me need to understand requirement then need to customize or configure.
- also handle standup calls to discuss developement work,expectation and delivery.
- also need to attend teams meeting for the developement process,proggress and need to explain what i am doing and what i will do
- also need to tell them hohw i can achieve target
- we supports/ develope ITSM modules like INCIDENT,PROBLEM,CHANGE,SERVICE CATELOG,KNOWLEGE,ASSET ETC.
- need to develope custom applications for the customers requirement
- i also need to share project status wit client weekly/montly as per project
- INCIDENT
- PROBLEM
- CHANGE
- KNOWLEDGE
- SERVICE REQUEST
- TASK
5) what is Referance Qualifier?
Answer:-
a reference qualifier is a piece of code that is used to filter the choices displayed in a reference field. A reference field allows users to select a record from another table as a reference to the current record.
For example, let's say you have a "Task" table and a "Department" table, and you want to create a reference field in the Task table that allows users to select a Department record. However, you only want to display Departments that are marked as "Active". In this case, you would use a reference qualifier to filter out any inactive departments from the list of choices.
Reference qualifiers can be created using either the scripting language or the visual filter builder, depending on your level of expertise. They are typically used to improve the user experience by reducing the number of choices displayed and ensuring that only relevant records are shown.
6) what is ACL ?
Answer:-
ACLs are used to ensure that users have the appropriate level of access to data and functionality within the system. They are defined for each table in ServiceNow and can be configured to restrict access based on different criteria, such as user roles, IP address, or specific conditions.
An ACL rule can be set to either allow or deny access, and can also define the level of access granted, such as read, write, or delete. For example, an ACL rule can be created to allow only users in the "Manager" role to modify records in the "Incident" table, while users in the "Employee" role can only view the records.
ACLs can be created and managed through the ServiceNow interface or through scripting, allowing for highly customized access controls tailored to the specific needs of the organization. By using ACLs, ServiceNow administrators can ensure that sensitive data is protected and that users can only access the data they need to perform their job functions.
In ServiceNow, the Service Catalog is a module that allows users to request and order services, such as hardware or software, from an internal service provider within an organization. The Service Catalog can be accessed through the Service Portal, which is a user-friendly interface that provides an easy way to browse, order, and track services.
The Service Catalog allows organizations to streamline their internal service request process, making it more efficient and user-friendly. It provides a centralized repository for all the services that an organization offers, including details such as service descriptions, pricing, and availability. Users can search and browse the catalog to find the services they need, and then submit requests for those services.
The Service Catalog also allows organizations to define and automate approval workflows for service requests, ensuring that the appropriate approvals are obtained before services are provisioned. Additionally, organizations can use the Service Catalog to track and report on service delivery metrics, such as service availability and response times.
ServiceNow provides a number of tools for configuring and customizing the Service Catalog to meet the needs of specific organizations. Administrators can use the drag-and-drop Service Catalog Designer to create and manage catalog items, categories, and workflows. They can also use the Service Catalog Management application to track and report on catalog usage and performance.
9) what is order guide in service catelog?
Answer:-
In ServiceNow, an Order Guide is a type of catalog item that allows users to select and order multiple related items as a bundle or package. Order Guides are used to simplify the ordering process for complex or multi-step services that require several items to be ordered and fulfilled.
An Order Guide contains a series of questions or steps that guide the user through the ordering process, ensuring that all necessary items are included and that any dependencies or prerequisites are met. For example, an Order Guide for onboarding a new employee might include steps for ordering a computer, setting up email, and assigning security access. Each step may have its own set of questions or options for the user to select.
Order Guides can be customized to meet the specific needs of an organization. Administrators can define the steps, questions, and items included in an Order Guide, as well as the order in which they appear. They can also set up conditional logic, such as showing or hiding certain steps or questions based on previous selections.
Once an Order Guide is submitted, it generates a request for fulfillment that contains all the items and information needed to complete the service. The request is routed through the appropriate approval workflows and fulfillment processes, ensuring that all necessary items are ordered, delivered, and set up as required.
Order Guides are a powerful tool for organizations that need to streamline complex service delivery processes and ensure that all necessary items are ordered and fulfilled in a consistent and efficient manner.
10) what is record producer in service catelog?
Answer:-
Record Producers can be customized to meet the specific needs of an organization. Administrators can define the fields and values that are available for users to fill in when submitting a new record, as well as any rules or validations that should be applied. They can also set up workflows and notifications to ensure that the new record is properly routed and fulfilled.
Record Producers can be used to automate a wide range of service delivery processes, such as requesting new hardware or software, submitting IT support tickets, or requesting access to a system or application. By providing a user-friendly interface for submitting new records, Record Producers can help to improve user satisfaction and reduce the time and effort required to complete service requests.
In addition to the standard fields that are available in ServiceNow tables, Record Producers can also include custom fields and scripts to support specific business processes or workflows. This allows organizations to tailor the user experience and automate their unique service delivery requirements.
11) what is UI policy?
Answer:-
UI policy is a set of rules that can dynamically change the behavior and appearance of a form based on predefined conditions. UI policies can be used to control field visibility, read-only access, mandatory fields, and field values based on the user's role or other criteria.
UI policies are designed to provide a more user-friendly and intuitive interface for users interacting with ServiceNow forms. They can be used to simplify forms by hiding unnecessary fields, pre-filling fields with default values, or providing help text to guide users through the form. They can also be used to enforce data quality and consistency by setting mandatory fields or restricting field values based on business rules.
UI policies can be created and managed through the ServiceNow interface using the UI Policy Designer. The designer allows administrators to define the conditions and actions for each policy, as well as the order in which they are applied. Multiple UI policies can be applied to the same form, allowing administrators to create complex and customizable form behaviors.
UI policies can be applied to various types of forms in ServiceNow, including Incident, Request, and Change Request forms. They can also be used to customize forms for custom tables and applications.
Overall, UI policies provide a powerful tool for customizing and streamlining the user experience in ServiceNow, improving productivity, and ensuring data quality and consistency.
12) what is data policy?
Answer:-
Data Policy is a set of rules that can automatically enforce data consistency and quality in a ServiceNow table by defining field-level data constraints. Data policies can be used to enforce mandatory fields, restrict field values, and set default values based on predefined conditions.
Data policies are designed to ensure data integrity and consistency by enforcing business rules and requirements. They can be used to prevent data entry errors, enforce compliance with data standards, and provide a more streamlined and efficient data entry process.
Data policies can be created and managed through the ServiceNow interface using the Data Policy Designer. The designer allows administrators to define the conditions and actions for each policy, as well as the order in which they are applied. Multiple data policies can be applied to the same table, allowing administrators to create complex and customizable data constraints.
Data policies can be applied to various types of tables in ServiceNow, including Incident, Request, and Change Request tables. They can also be used to customize tables for custom applications and modules.
Overall, Data Policies provide a powerful tool for enforcing data consistency and quality in ServiceNow, improving data accuracy and reliability, and reducing the risk of data entry errors.
13)full form of CMDB?
Answer:-
configuration management database
14) what is the view in servicenow?
Answer:-
view defines the arrengement of the feilds on the form or list for single form
can define multiple views as per requirement
15) what is client scripts and their types?
Answer:-
runs on clients browser or client side, when client based events occurs like form load,feild changes value etc
TYPES:-
- ON CELL EDIT
- ON LOAD
- ON CHANGE
- ON SUBMIT
- BEFORE
- AFTER
- ASYNC
- DISPLAY
- upadate set is XML file which store list of changes of instance
- it is set of customization that can be move from one instance to another instance
- table,form,feilds,form layout
- client scripts
- business rule
- UI actions
- UI policy
- workflow
- script include
- incident
- problem
- change
- records
- user/group
- scheduled jobs
- CI
- emails
system Daignostics-->stats
26)what is import set?
Answer:-
- import set is a temporary table to store row data from external sources.
- can load the date through file,JDBC,OTHER SOURCES.
Ans: CMDB baselines help to understand and control the changes that have been made to a configuration item(CI) after its Baseline has been created. The baseline is the snapshot of a CI
33) How to enable or disable an application?
Ans: Navigate to the “Application Menus” module under the system definition application. Open the respective application that requires enabling or disable. Set active as true to enable it or set active to false to disable it
34) What do you mean by impersonating a user? How it is useful?
Ans: Impersonating a user means that you can log in to the system as that user and can have felt how the service-now UI is set for that user. This is very useful while testing. For example, if you are required to test whether a user can access the change form or not. You can impersonate that user and can test instead of logging out from your session and logging in again with that user's credentials.
35) What do you mean by coalescing?
Ans: 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 a unique key.
If a field match is found with the coalesce field, then the existing record will be updated with the imported information in the target table else a new record will be inserted into the target table
36) How can you cancel a form submission through client script?
Ans: In the onSubmit function return false. function onSubmit() { return false;}
37) What do you mean by data lookup and record matching?
Ans: Data lookup and record matching feature helps to set a field value based on some conditions 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 specifying the conditions and fields where they want data lookups to occur.
38) What happens when a user makes some changes to the homepage?
Ans: When a user makes some changes on the homepage then that page is saved as his personalized homepage instead of updation on the actual homepage. For example, the home page name is Incident overview. When a user makes some changes to it then this page is saved as My incident overview and is only visible to that user
39) What is an installation exit?
Ans: 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 a custom script that replaces the script in the default installation exit
40) What do you mean by Foreign record insert?
Ans: 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.
41) How to set the default value of a date field to the current date-time value?
Ans: Goto the dictionary of the respective date-time field and set the default value as javascript: gs.now DateTime;
42) What is domain separation?
Ans: 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 businesses. They do not want that user’s from one business can see the data from other businesses. Here we can configure domain separation to isolate the records from both businesses.
43.) What is the set workflow(e) function does?
Ans: set workflow(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 – A boolean variable that if true (default) enables business rules, and if false to disables them.
44) What the setForceUpdate() function does?
Ans: setForceUpdate() updates the record even if there are no changes on the record.
45) What is the significance of the set limit(n) function?
Ans: set limit(n) functions to limit the number of records to query by Gliderecord().
46) Can you update a record without updating its system fields(like sys_updated_by, sys_updated_on)?
Ans: 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);
short_description = “Test from Examsmyntra” ;
gr.update();
}
47) How to get the row count in a glide record?
Ans: By using the getRowCount() function you can retrieve the number of rows.
48) What is the difference between deleteMultiple() and deleteRecord()?
Ans: delete multiple() deletes multiple records according to the current “where” clause. Do not delete attachments, whereas delete record() deletes the single record.
49) How to restrict users to upload an attachment in ServiceNow?
Ans:
Following is the stepwise step process:
Navigate to System Properties > Security.
In the Attachment limits and behavior section, locate the List of roles (comma-separated) that can create attachments: property (glide.attachment.role).
Enter one or more roles separated by commas.
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.
50) How to disable attachments on a specific ServiceNow table?
Ans: Go to the dictionary of that table and add “Add no_attachment” to the Attributes field.
51) What is the significance of the cascade variable checkbox in the order guide?
Ans: Checkbox to select whether the variables used should cascade, which passes their values to the ordered items. If this checkbox is cleared, variable information entered in the order guide is not passed on to ordered items.
52) What are Gauges?
Ans: A gauge can be based on a report and can be put on a homepage or a content page.
53) What do you mean by Metrics in ServiceNow?
Ans: Metrics record and measure the workflow of individual records. With metrics, customers can arm their process by providing tangible figures to measure, for example, how long it takes before a ticket is reassigned or changes state.
54) How many types of searches are available in ServiceNow?
Ans: Use any of the following searches to find information in ServiceNow:
Lists: find records in a list:
· Global text search: find records in multiple tables from a single search field.
· Knowledge base: find knowledge articles.
· Navigation filter: filter the items in the application navigator.
· Search screens use a formlike interface to search for records in a table. Administrators can create these custom modules.
55) Which roles are used by Knowledge management?
Ans: Knowledge management uses these roles knowledge, knowledge_admin, and admin role.
56) How to create your own report?
Ans: Navigate to Reports > Create New. In releases prior to Eureka, navigate to Reports > View / Run and then click New.
57) How to activate the reporting engine?
Ans: Make the glide. report.use_charting_v2 system property to true.
58) Name a few types of reports that you can generate?
Ans: Few reports are:
· List
· Bar
· Pivot
· Pie
· Calendar
59) How to control the script conditions of Access Control Rules apply to a table’s reference fields?
Ans: You can Add glide.sys_reference_row_check to the System properties and set it to true.
60) How to create an Inbound Email Action?
Ans: Navigate to System Policy > Email > Inbound Actions and Click New.
61) How does ServiceNow recognize Inbound Emails?
Ans: Via Watermark or InReplyTo email header. If These are not present, ServiceNow recognizes an email containing a prefix in the subject line.
62) How to enable automatic user creation from email?
Ans: Set the property glide.pop3readerjob.create_caller to true in system properties.
63) What is the processing order for Record ACL rules?
Ans: Record ACL rules are processed in the following order:
· Match the object against field ACL rules.
· Match the object against table ACL rules.
· User must pass both field and table ACL rules in order to access a record object Relationship.
64) How do you get the records of specified fields which are not null?
Ans: addNotNullQuery(String fieldName) can be used.
Example: To get all the records where ‘name’ is not null.
addNotNullQuery(‘name’);
65) How will you get all the records where the incident is having a category as hardware or software?
Ans: Use addOrCondition(String name, String oper, Object value) .
Example :
var gr = new GlideRecord(‘incident’);
var qc = gr.addQuery(‘category’, ‘hardware’);
qc.addOrCondition(‘category’, ‘software’);
gr.query();
66) How to set the invalid queries into empty result sets?
Ans: By default queries with the invalid field, names run but ignore the invalid condition. For more strict query control you can enable the glide.invalid_query.returns_no_rows property which will result in an empty result set for invalid queries.
67) How to determine whether any of the field values in a record has changed?
Ans: By using the method changes() you can determine that the field value has been changed for a record.
68) What is the difference between next() and _next() method?
Ans: The next() method is responsible to move to the next record in GlideRecord. _next() provides the same functionality as next(), intended to be used in cases when we query the table having a column name as next.
69) Which glide function is used to retrieve the number of rows of a table?
Ans: Using getRowCount() method
Comments
Post a Comment