In my recent interview, interviewer asked my these mentioned questions about ServiceNow.…
- User
In my recent interview, interviewer asked my these mentioned questions about ServiceNow. Please answer these. How to create Custom related links, what is asset tracking , what is content library service, how to create models in how many ways . I want to Hide inactive incidents for itil role members how to hide from query business rule
- Assistant
Let's go through each of your questions related to ServiceNow:
-
How to create Custom Related Links: Custom Related Links in ServiceNow are typically used to provide quick navigation or perform actions related to a particular record or set of records. To create custom related links, you need to:
- Navigate to the UI Action module: Go to System Definition > UI Actions.
- Create a New UI Action: Click 'New' to create a new UI Action.
- Configure the UI Action: In the UI Action form, fill in the necessary details:
- Name: Provide a name for your UI action.
- Table: Specify the table for which you want the related link to appear.
- Action name: This field is optional; provide an internal name.
- Active: Check this to make it active.
- Form link: Check this if you want it to be a related link on the form.
- Script: Use GlideRecord or any other server-side script to define the action that should occur when the link is clicked.
-
What is Asset Tracking: Asset Tracking in ServiceNow refers to the ability to monitor and manage assets throughout their lifecycle. This involves capturing details like status, location, and configuration of physical and virtual assets, such as computers, software licenses, and network devices. Asset Management in ServiceNow helps organizations to optimize asset usage, reduce costs, and ensure compliance through features like centralized asset repository, lifecycle management, audit history, and integration with Configuration Management Database (CMDB).
-
What is Content Library Service: Content Library Service is not a standard term in ServiceNow, but it may refer to a service or feature offered for managing content within the platform or a specific application's content management feature. If this is related to a specific module or a custom implementation, it might involve features like maintaining a set of reusable documents, templates, or scripts.
-
How to Create Models in ServiceNow: Models in ServiceNow, especially under Asset and Configuration Management, can be created by:
- Using the Model Management: Navigate to Product Model in the Asset application.
- Creating directly from the CMDB: Sometimes, you can create models when you are associating CI classes.
- Defining models manually: You can create models by navigating to Procurement > Products > Product Models, and then clicking 'New'.
You can create models for various asset types like hardware, software, consumables, etc., ensuring all necessary attributes are defined.
-
Hide Inactive Incidents for ITIL Role Members using Business Rules: To hide inactive incidents for users with the ITIL role, you can use a query business rule:
- Navigate to Business Rules: Go to System Definition > Business Rules.
- Create a New Business Rule: Click 'New' to create a new business rule.
- Configure the Business Rule:
-
Name: Provide a descriptive name.
-
Table: Set this to the Incident table (incident).
-
Advanced: Check this box to access server-side scripting.
-
In the Condition script, specify
gs.hasRole('itil'). -
In the Filter Conditions or Script section, exclude inactive incidents. For example, you could use a script like:
(function executeRule(current, previous /*null when async*/) { if (gs.hasRole('itil')) { current.addQuery('active', true); } })(current, previous);
-
This business rule filters out inactive incidents for users with the ITIL role.
-
- User
Content service library in asset management
- Assistant
In the context of ServiceNow's Asset Management, the term "Content Library" typically refers to a curated collection of data, templates, and best practices that enhance the functionality and accuracy of asset and configuration management within the platform. This library is often embedded within ServiceNow or available as part of specific modules or integrations that focus on asset management.
Here’s how a Content Library might be utilized in ServiceNow’s Asset Management module:
-
Data Models and Definitions:
- It includes predefined models and templates for various types of assets and configuration items (CIs), ensuring consistency and standardization across the organization.
-
License Management:
- The library may contain information on common software licenses, helping organizations track usage and compliance more effectively.
-
Integration and Import Sets:
- It might provide integration scripts or import sets to bring in data from other asset management systems, thus supporting interoperability.
-
Predefined Workflows:
- The library could offer workflows for asset lifecycle management, including requisition, approval, procurement, deployment, and retirement processes.
-
Best Practices and Guidelines:
- It may incorporate best practices and guidelines for managing hardware and software assets, thus optimizing their usage and minimizing costs.
-
Vendor and Product Catalogs:
- Content libraries can include vendor and product information catalogs that help maintain up-to-date records of purchased assets and their suppliers.
The specific features and availability of a Content Library can vary depending on the ServiceNow version, any custom developments, and installed plugins or modules. Users typically leverage this library to enhance their asset management practices and ensure they are using current and precise information. If you have specific requirements or functionalities in your organization, it would be worth reviewing the latest documentation or reaching out to ServiceNow support or your system administrator to explore available features and custom configurations.
-