Problem:
-
The current script Source references the deprecated Cart Script Include (new Cart()) for creating new RITMs.
-
This method is no longer supported in modern ServiceNow versions and may cause unexpected behavior or fail to execute properly, as the script is hidden or inaccessible.
To see more, open the script include "Cart"( or by rightclick on Cart>open Definition) in your instance of ServiceNow. Once you open it, you will able to see below Script Include
You may not be able to view the script because ServiceNow really does not want you to use it.
Proposal:
- Replace the deprecated Cart Script Include with the modern and supported API for creating RITMs.
- Using
sn_sc.CartJS() APIs to programmatically create catalog requests.
- Ensures the script mimics all the actions of a manual catalog submission
- Improve reliability, prevent unexpected errors, and align with the servicenow documentation
Assign to Me
I would like to work on this issue.
Kindly assign this issue to me so that I can proceed with implementing script that can able to Submit catalog Item using sn_sc.CartJS.
Problem:
The current script Source references the deprecated Cart Script Include (new Cart()) for creating new RITMs.
This method is no longer supported in modern ServiceNow versions and may cause unexpected behavior or fail to execute properly, as the script is hidden or inaccessible.
To see more, open the script include "Cart"( or by rightclick on Cart>open Definition) in your instance of ServiceNow. Once you open it, you will able to see below Script Include
You may not be able to view the script because ServiceNow really does not want you to use it.
Proposal:
sn_sc.CartJS()APIs to programmatically create catalog requests.Assign to Me
I would like to work on this issue.
Kindly assign this issue to me so that I can proceed with implementing script that can able to Submit catalog Item using
sn_sc.CartJS.