In this chapter, we will be looking at best practices when scripting in ServiceNow. Best practices are important when scripting to make the most use of resources and present the best user experience. We will explore best practices in general scripting, server-side and client-side code, and debugging. We will also delve into best practices involving logs, queues, and system performance.
The following topics will be looked at in this chapter:
- Coding best practices
- Business rule best practices
- Client script best practices
- Debugging tools best practices
- Logs and queues best practices
- System performance best practices