Skip to content

Commit 2c81d3b

Browse files
authored
Create README.md
1 parent 8575dc9 commit 2c81d3b

File tree

1 file changed

+6
-0
lines changed
  • Server-Side Components/Background Scripts/Create Request through script

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# 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

Comments
 (0)