interview purpose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8 hours ago
can anyone please provide scripting and reai-time scenario interview questions with solutions in servicenow Administrator Course ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi there @KODITALAP
Here are a few:
-
What are the key differences between a Business Rule and a Script Include?
-
How would you prevent users from closing an Incident without entering work notes?
-
When should you use a Client Script vs a UI Policy?
-
What is the purpose of GlideRecord? How do you use it in a script?
-
Explain the difference between synchronous and asynchronous Business Rules.
-
How do Access Controls (ACLs) work in ServiceNow?
-
What is the difference between UI Policy and Data Policy?
-
How do you debug script errors in ServiceNow?
-
Describe how ServiceNow handles database transactions.
-
What are the different script execution contexts on the ServiceNow platform?
-
Write a GlideRecord query to count records on any table.
-
When would you use GlideAggregate instead of GlideRecord?
-
How can you execute a scheduled script at off-hours without impacting performance?
-
Explain how to call a Script Include from a Client Script.
-
How do you manipulate XML in server-side scripts?
-
How would you update a field on all related child tasks when a parent task changes?
-
How can you prevent recursion in Business Rules?
-
What is the difference between current and previous in a Business Rule script?
-
How do you enforce unique field values through scripting?
-
How would you dynamically set field values before a record is saved?
Real-World Scenarios
-
How would you automatically assign incidents based on category and urgency?
-
A user reports that SLAs are attaching twice for a record — how would you investigate and fix it?
-
How would you implement auto-closure of incidents if they remain unresolved after X business days?
-
How can you restrict users so that they can only see incidents assigned to their group?
-
A catalog item needs approval from two separate managers based on department — how would you configure it?
-
How would you automatically add attachments from a catalog request to the parent record?
-
How can you ensure only one active SLA applies to a record?
-
How do you schedule a report to export as Excel rather than PDF?
-
How can you ensure that a user can only see their own records in a custom table?
-
How do you integrate ServiceNow with an external system for case creation?
Kind Regards,
Azar
Serivenow Rising Star ⭐
Developer @ KPMG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hello @KODITALAP ,
You may refer this questions and answers :
1. How do you pause an SLA timer and what triggers the pause?
Answer: You can pause an SLA timer by setting conditions such as "State is Awaiting User
Info." This ensures the timer stops until the condition is cleared.
2. What is a Business Rule in ServiceNow?
Answer: A Business Rule is a server-side script that executes when a record is inserted,
updated, deleted, or queried.
3. What are the types of Business Rules available in ServiceNow?
Answer:
Before Business Rule: Executes before the record is saved.
After Business Rule: Executes after the record is saved.
Async Business Rule: Runs asynchronously after the record is saved.
Display Business Rule: Executes before the record is sent to the client.
4. Explain the difference between a “Before” and “After” Business Rule.
Answer: A "Before" rule executes before the record is saved, allowing modifications to the
data, while an "After" rule executes after the data is saved and is used to trigger actions or
updates.
5. How would you prevent an update from happening in a Business Rule?
Answer: You can prevent an update by using current.setAbortAction(true); in a Business
Rule script to cancel the save or update.
6. How would you prevent an update from happening in a Business Rule?
Answer: You can prevent an update by using current.setAbortAction(true); in a Business
Rule script to cancel the save or update.
What is a “Display Business Rule” used for?
Answer: A Display Business Rule is used to execute before the data is displayed to the user,
allowing for pre-processing or modifying data for display purposes
7. What is an “Async Business Rule,” and when should you use it?
Answer: An Async Business Rule runs asynchronously after the record is saved, typically
used for tasks like sending notifications or performing lengthy operations without affecting the
user’s experience.
8. How can you modify the behaviour of a Business Rule using scripts?
Answer: You can modify behaviour by writing script logic using the current and previous
objects in the Business Rule to check field values and apply changes accordingly.
9. What happens if multiple Business Rules affect the same record at the same time?
Answer: The rules will execute in the order defined in the "Order" field. Conflicts between
rules may be resolved by adjusting the sequence or condition logic.
10. Can you create a Business Rule to trigger an SLA?
Answer: Yes, you can create a Business Rule to trigger an SLA by updating the SLA Task
record or creating a new SLA task under specific conditions.
11. What is the impact of a Business Rule on performance?
Answer: Business Rules that execute on a large volume of records or complex logic can
affect system performance, so it’s important to optimize them for efficiency.
If my response helped mark as helpful and accept the solution.
