- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 05:09 PM
I am wondering if someone can assist with script to post a record producer.
We want this scripted rest API for just 1 record producer and only 5 fields.
I have done for the incident but have no knowledge on how to create one for the record producer. How to call the record producer and variables etc.
Any guidance will be appreciated.
Thanks,
G
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2024 06:50 AM
As an FYI, that sort of information is beneficial to include in your original question in future.
Similar to the REST API, there is an js API you can use. CatItem | ServiceNow Developers. It can be combined with a scripted REST API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2024 05:19 AM
@Kieran Anson I have and it works perfectly. But we are going to use it for the public widget/page so we are trying to limit the access to certain fields and to only 1 record producer.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2024 06:50 AM
As an FYI, that sort of information is beneficial to include in your original question in future.
Similar to the REST API, there is an js API you can use. CatItem | ServiceNow Developers. It can be combined with a scripted REST API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2024 11:47 AM - edited 05-18-2024 11:47 AM
Thanks @Kieran Anson