- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2020 02:20 AM
Hi Community,
I would like to create multiple RITM"s from a single catalog item from service portal and assign them to different assignment groups can anyone share a sample script about how can I implement that using a Business rule.
Thanks in advance,
Shiva.
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2020 02:37 AM
Hi Shiva,
So are you saying once user submits catalog item ABC; then after submission you want to create multiple RITMs for the same catalog item or for different catalog item.
below links has the sample script; please go through those
Creating Multiple RITMs from one RITM in Workflow - Trouble setting variables
Generate multiple RITMs based on list collector variable
Is it possible to create multiple RITM from a list collector?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2020 02:37 AM
Hi Shiva,
So are you saying once user submits catalog item ABC; then after submission you want to create multiple RITMs for the same catalog item or for different catalog item.
below links has the sample script; please go through those
Creating Multiple RITMs from one RITM in Workflow - Trouble setting variables
Generate multiple RITMs based on list collector variable
Is it possible to create multiple RITM from a list collector?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2020 03:39 AM
Hello..
1. do you want to create duplicate RITMs having the same data?
or
2. you want each RITM to have different set of data but associated with the same REQ number?
For 2., you have an option called 'Add'. So you enter all data in the catalog item and click on 'Add', then enter another set of data and click on 'Add'.
Suppose you do this 2 times, and finally click on 'Order now', the REQ will be created having 2 RITMs.
Now, to assign these RITMs to different Assignment Groups, you could try writing a insert Business Rule, with condition in addQuery() as - Catalog Item is XYZ (whatever is the name on your end) and also the condition that would decide the assignment group to be set.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2020 07:15 AM
Hi Shiva,
Any update on this thread?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader