Limit of number of items in Cart API through scripting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 12:28 PM
Hi All,
I have a requirement to create RITM automatically through script and want to know the limitation of cart API. They want to run audit process in Servicenow to validate whether users are still using the desktop or not. For this they want to run the job yearly once, and send notificiation to user for their confirmation. So how to create the ritms, it should be through schedule job and cart api functionality or should we create a flow for this? In both the cases i want to know the limitation since harwdare assets is huge table and number of records will be greater than 50k.
Thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 12:39 AM
Hello @MercBuilding ,
Please refer to the below link:
https://www.servicenow.com/community/developer-forum/how-to-limit-the-total-quantity-of-a-shopping-c...
Regards,
Abbas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 05:52 AM
Hi @Abbas_5 ,
Thank you for your reply but i dont want to limit the catalog item, i want to know the limit of number of items i can add to cart to create the request without effecting system performance.
Thanks,
Sravanthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 12:45 AM
you can use flow or scheduled job
What's the link with hardware assets?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2023 05:51 AM
Hi @Ankur Bawiskar ,
As i said they want to take confirmation from users whether asset is assigned to them or not so that they can update their database as there is no discovery in place. So they want to initiate this process via catalog item. Based on response from user they will update their database accordingly but they to know the excat count of catalog items they can create per day as they will run this audit process only once a year.
Please let me know if you have any other question