How to create an RITM through script in servicenow
This content was last updated in 2022. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 08:16 AM
Hi All,
I need to create an RITM through run script in workflow in servicenow. Can someone please help with the same. Cart API is going to be deactivated in upcoming release and cartjs api apparently adds to sc_cart_item table. Can someone please help apart from the above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2022 01:25 AM
@Arka Banerjee1 You can query item_option_new table and query by variable set. then you will get all the fields in that variable set
Then the code will be updated as below