When sn_sc.CartJS() API is used inside a workflow run script activity to place a request. The request (REQ record) is not getting created.Issue Inside a workflow run script activity, sn_sc.CartJS() API methods are used to add items to the DEFAULT cart and later checked out using checkoutCart() method. The expected behavior is to have a request [REQ record] created with those items. But no request got created.CauseFollowing error message appeared in the node log: Error worker.4 worker.4 txid=33dc6b241bf8 SEVERE *** ERROR *** Cart has items restricted by user criteriaInfo worker.4 worker.4 txid=33dc6b241bf8 Background message, type:error, message: Your cart has item(s) no longer available. Please remove Revoke User Access Entity from cart to continue with the checkout. Above error message is thrown from 'Checkout Cart' API => /sys_ws_operation.do?sys_id=d2c95260db20120064301150f0b8f563 which in turn calls 'findUserCriteriaRestrictedItems()' method to check to see if the cart that is being checked out has any user criteria restricted items. In this particular case, the workflow run script activity that uses sn_sc.CartJS() API is executed as "system" and in the instance, there was a 'DEFAULT' cart created by "system" which had an item named 'Revoke User Access Entity' already present in the cart which was causing this error. ResolutionThe 'DEFAULT' cart created by "system" had this item 'Revoke User Access Entity' already present in the cart because of which checkout was failing. After removing this item from the cart, checkoutCart() executed successfully and the request [REQ record] got created with items that were added to the cart.