One Catalog Request creates many separate RITMs of the same Item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2024 02:02 AM - edited ‎11-07-2024 02:04 AM
Hi,
The thing is to create one Catalog Item, which allows users to request multiple pieces of one item (e.g 12 Laptops, 31 keyboards), but for each item create separate RITM record - not like one RITM with (for example) quantity 8.
Perfect scenario is like: in the "bundle request" catalog item, user would be able to select some other catalog item (e.g. Laptop HP), fill additional necessary data (some text fields) and would be allow there to select desired quantity of requested Laptops. After submitting, X (quantity) of new separated RITMs with selected item of "Laptop" and filled fields with other necessary data would be created - all with their own tasks, approval process, workflow etc..
Is this possible to do via Order Guide or simple Catalog Item? Would be a separate workflow for that item required? How to do it?
Edit1: Quantity should be numeric input field in range 1-100
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2024 02:24 AM
Hi @bstrus
The thing is to create one Catalog Item, which allows users to request multiple pieces of one item (e.g 12 Laptops, 31 keyboards), but for each item create separate RITM record - not like one RITM with (for example) quantity 8.
Atul: May i know why you need one ritm for 1 quantity only? That will increase the number of RITM. You can do this via Flow Designer, where pass the quantity as variable and then use that value to create/ submit RITM till quantity is zero
You can use order guide if laptop and keyboard need to order at same time, else go as induvial catalog item.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2024 02:39 AM
Each RITM has fulfillment task which done by integration, that's the reason why they must be separately.
In this "Bundle Request" only one item should be possible to select, so no need to consider if there are more items.
But at the same time, preferred option is to do it via Order Guide. Could you guide me a bit how to manage with Quantity in Order Guide to do it? By the default Order Guide is creating at least one RITM, so is the only way to add there script which will create the rest of them based on custom Quantity field on form there? Should it be done via flow or simply some script in Business Rule?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2024 03:47 AM
Hi @bstrus
In Order guide, we are calling the catalog items and in same you can add quantity variable and use that. I don't think it need scripting , you use For loop for quantity variable and use Submit RITM Action in Flow.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************