You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# ServiceNow Background Script – Create RITM via sn_sc.CartJS()
2
+
3
+
## Overview
4
+
This script demonstrates how to programmatically create a **Request Item (RITM)** and **Request (REQ)** in ServiceNow using the modern **`sn_sc.CartJS()` API**.
5
+
6
+
The script simulates a Service Catalog order submission — adding a catalog item to the cart and checking it out. This ensures that all **catalog flows, workflows, and business rules** are triggered exactly as if the request were placed through the Service Portal or native UI.
0 commit comments