Introduction to Development
Apply basic scripting, UI policies, business rules, and update set management.
Introduction to Development in ServiceNow refers to the foundational concepts and tools that administrators and developers use to customize and extend the ServiceNow platform. ServiceNow is built on a robust development framework that allows organizations to tailor the platform to meet their specif…
Concepts covered: Scripting in ServiceNow, Business Rules, Business Rule Actions, Client Scripts, Client Script Types, UI Policies vs Client Scripts, UI Actions, Script Includes, GlideRecord Basics, GlideSystem (gs) Methods, Update Sets, Update Set Management, Application Repository, Integration Overview, REST APIs in ServiceNow, Debugging and Logging
CSA - Introduction to Development Example Questions
Test your knowledge of Introduction to Development
Question 1
Scenario: You are a ServiceNow System Administrator at a logistics company. The fulfillment team has requested an enhancement to their shipping workflow. They need a Script Include called 'ShippingRateCalculator' that calculates shipping costs based on weight, dimensions, and destination. This Script Include will be called by multiple Scheduled Jobs that run overnight to update pending shipment records with calculated rates. Additionally, the same calculation logic needs to be available for a Background Script that operations staff run manually during peak periods. The Script Include must accept parameters for package details and return a calculated rate object. A junior administrator has created the Script Include but is unsure about the proper structure for accepting and processing these parameters. Which implementation approach correctly structures the Script Include to accept parameters and return calculated values for server-side callers?
Question 2
Rachel, a ServiceNow administrator at a telecommunications company, is working on a complex project involving multiple custom applications from different vendors. During a routine audit, she discovers that one application in the Application Repository shows a status of 'Installed' but another related application shows 'Install Blocked'. The blocked application was recently purchased and is critical for an upcoming integration project. Rachel investigates and finds that both applications share overlapping functionality in the CMDB area. The project deadline is in three weeks, and stakeholders are expecting the integration to be completed on time. Rachel needs to determine why the installation is blocked and what steps are required to resolve this situation. What is the most likely cause of the 'Install Blocked' status and the recommended resolution approach?
Question 3
Nathan, a ServiceNow administrator at a telecommunications company, is creating a Client Script that needs to make a server-side call to retrieve the email address of a user stored in the sys_user table. The script should execute when the 'Caller' field changes on the Incident form, and it must populate the 'Contact email' field with the retrieved value. Nathan understands that client-side scripts cannot query the database directly and must use appropriate mechanisms to communicate with the server. He creates a Script Include marked as 'Client callable' with a function that accepts a user sys_id and returns the email. Nathan now needs to write the client-side code to call this Script Include. Which client-side approach should Nathan implement to successfully retrieve and use the server-side data?