Use addToCart() function from sn_sc.CartJS() to add multiple items into the cart.Description<!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Description This KB demonstrates the use of the addToCart() function to add multiple items into the current user's cart. It is working as expected to call sn_sc.CartJS() multiple times in the script to be able to add multiple items. Procedure Login to any out-of-box instance as System Administrator (Or any user with admin role).Go to System Definition > Script - Background. And test the following script: //************************************************************ var cart = new sn_sc.CartJS(); for (i = 0; i < 2; i++) { gs.addInfoMessage('i: '+ i); var item = { 'sysparm_id': '10a2f5dfc6112276018db58138c7a1e0', //sys_id of catalog item 'sysparm_quantity': '1', 'variables': { }, }; cart.addToCart(item); } //************************************************************ We are expecting two items to be added to the user's cart, but if you check the sc_cart record for the current user, only one item got added.(To find current user's sc_cart records, type sc_cart.list in the instance menu Filter navigator. And filter the list on the User column.)Now, delete all the sc_cart records for the current user.Test the following script in System Definition > Script - Background again: //************************************************************ for (i = 0; i < 2; i++) { gs.addInfoMessage('i: '+ i); var cart = new sn_sc.CartJS(); var item = { 'sysparm_id': '10a2f5dfc6112276018db58138c7a1e0', 'sysparm_quantity': '1', 'variables': { }, }; cart.addToCart(item); } //************************************************************ Note "var cart = new sn_sc.CartJS();" is inside the loop now. This script adds two items into the cart. Additional Information Also see more on our developer website: https://developer.servicenow.com/app.do#!/api_doc?v=london&id=r_CJSS-CartJS Release or EnvironmentLondon , Orlando