Trying to create multiple RITM's under a single Req. But having trouble with a duplicate RITM & REQ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2023 06:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2023 10:21 AM
Hi @Nagendra S ,
One possible solution is to create a new catalog item that only triggers the script to create multiple RITMs under a single REQ. This catalog item can have a hidden variable that will trigger the script when the form is submitted, without creating any additional RITMs or REQs.
To do this, you can create a new catalog item and add a variable that will be used to trigger the script. This variable should be hidden from the user and set to "true" by the onSubmit client script of the original catalog item.
In the script that creates the multiple RITMs under a single REQ, you can check for the value of this hidden variable and only execute the code if it is set to "true". This will ensure that the script is only triggered when the original catalog item is submitted, and not when the new catalog item is submitted.
Thanks,
Ratnakar