servicenow interview questions
what is transform map in servicenow
In ServiceNow, a Transform Map is a configuration element that defines the mapping between fields in an import set table and fields in an existing table. It is a crucial component of the data import process in ServiceNow, allowing you to transform and map data from external sources into the appropriate fields within ServiceNow tables.
What are the errors you have encountered in update sets?
Conflicts in Update Sets:
- When multiple developers are working on different instances of an application and each is making changes in the same area, conflicts can arise. Conflicts occur when two or more update sets attempt to modify the same object, such as a record or script.
Scripting Issues:
- Errors can occur if there are issues with server-side scripts, business rules, or client-side scripts included in the update set. This might include syntax errors, incorrect API usage, or referencing variables that are not defined.
Permissions and Roles:
- If the user applying the update set does not have the necessary roles and permissions, it can result in errors, especially if the update set includes changes to security-related configurations.
Table to be deleted has data: Example problem text: Found a row in the table that is going to be deleted
What is content item in service catalog?
a "Content Item" refers to an element or component that can be added to a catalog item to provide additional information, context, or functionality. Content items enhance the user experience within the Service Catalog by allowing you to include various types of content and features. Content items are typically used to present information or capture user inputs in a structured manner.
What is the significance of the cascade variable in Order Guide?
In the context of ServiceNow Order Guides, the concept of "cascade variables" refers to a functionality that allows variables to be dynamically populated based on the selections made by users in previous variables.
Business Rules
Before Business Rules
User should not be able to create new incident record, if there is an existing incident with same Short Description, Category and Caller.
User should not delete incident ticket when incident state is NEW
Use business rules to accomplish tasks like automatically changing values in form fields when certain conditions are met.
Abort update of record if form does not have expected value.
dont have to use current.update() as they will update automatically, when we are updating current record we should use before business rule
it is synchrounos process so user has to wait until the business rule execution completes
After Business Rule
Showing Info or Error Messages after creation or updating of record
When we Closed problem ticket then automatically all related incidents should get closed
When incident state changes to On Hold and On Hold Reason is Awaiting Change
Async business rule
When we created new incident with category of network then immediately send notification to assignment group
Long-Running Processes:
Use Case: Executing processes that might take a considerable amount of time without affecting the user's immediate interaction.
Example: Running complex calculations, data imports, or data exports that could potentially take a long time to complete.