Using CartJS inside a business rule can cause multiple catalog items to be createdIssue ProblemA business rule (after/async, Insert, on sc_req_item) created to spawn a catalog item B when a catalog item A RITM is submitted triggers multiple times, resulting in duplicate RITMs and main tickets. Disabling the business rule stops the duplication, but changing it to async does not resolve the issue. The user suspects an issue with CartJS during RITM creation. Release All Cause Root CauseThe business rule triggers recursively because the CartJS.orderNow() method creates a new RITM, which re-triggers the same business rule. This occurs due to the lack of a unique cart identifier in the request object, causing interference with the original transaction. Resolution Steps to Resolve1. Modify the business rule script to explicitly define a unique cart name within the request object to prevent recursive triggering.2. Update the script to include 'sysparm_cart_name' and 'sysparm_quantity' parameters in the request object.3. Use the following example script structure:var cart = new sn_sc.CartJS(gs.generateGUID());var request = {'variables': {},'sysparm_id': 'catalog_item_sys_id','sysparm_cart_name': 'cart','sysparm_quantity': '1'};var rc = cart.orderNow(request);4. Verify the modified script stops the recursive loop and creates the secondary RITM successfully.