Limit Quantity to 2 on the order guide for specific catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi ,
I want to limit quantity to 2 on the order guide for specific catalog item.
Thanks in Advance!
Harika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Catalog Client Scripts
Order Guide Architecture
f you just want to display message (not block submit):
👉 Service Catalog → Catalog UI Policies
But UI Policy alone cannot stop submit — only client script can.
Official doc:
Best Practice (Enterprise)
ServiceNow architects typically:
Use Catalog Client Script for hard validation
Keep Order Guides generic
Apply logic at Item level
This keeps Order Guides reusable.
If my response has resolved your query, please consider giving it a thumbs up and marking it as the correct answer!
Thanks
Nayan Patel
IT ServiceNow Consult, ServiceNow ArchX
If my response has resolved your query, please mark it Helpful by giving it a thumbs up and Accept the Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Please refer this links, see if it helps you:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @Harika Thota ,
We have one method in client script :
g_cart.setQuantity(2);
This will automatically set the quantity mentioned :
If my response helped mark as helpful and accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Yashkamde,
I tried this. it gave me javascript browser error.

