What problem does it solve?
This skill provides comprehensive guidance and examples for developing ServiceNow Script Includes, enabling developers to create reusable server-side logic and efficient client-server communication.
Core Features & Use Cases
- Understand Script Include Types: Learn about Standard, Client Callable, On-Demand, and AbstractAjaxProcessor types.
- Code Examples: Get practical ES5 JavaScript examples for various Script Include patterns, including inheritance and scoped applications.
- GlideAjax Integration: See how to implement client-callable Script Includes for seamless client-server interaction.
- MCP Tool Usage: Discover how to leverage Snow-Flow's MCP tools for creating, finding, editing, and testing Script Includes.
- Use Case: A developer needs to create a new utility Script Include to calculate incident priority based on impact and urgency, and wants to see best practices and an example of how to implement it.
Quick Start
Use the script-include-patterns skill to create a new client-callable script include named 'IncidentAjax' that can fetch incident details by sys_id.