- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2022 09:49 PM
While trying to create a ticket through a record producer using an API, it's throwing error for some particular sys ID
The end point is as below:
POST: /sn_sc/servicecatalog/items/{sys_id}/submit_producer
The sys ID is present and user being active, and the call is getting successful with using USER ID for the user profiles in the "requested for" field.
But while using the SYS IDs, it's throwing the error as below
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 09:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022 01:10 AM
any ref qualifier added on that other variable? share screenshots of variable configurations for both
are you able to select the same user when you manually fill the record producer?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2022 10:56 PM
{sys_id} should take record producer sys_id, what exactly are you passing?
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2022 11:33 PM
Hi @RaghavSh ,
POST: /sn_sc/servicecatalog/items/{sys_id}/submit_producer . Here we are using sys id of the record producer only.
But in the body for the "requested_for" field, getting some failure when using sys ids of some user profile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2022 11:51 PM
ok, do your requested_for variable have any reference qualifier? if yes can you check if the sys_id you are using satisfies that criteria?
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022 12:19 AM
Yes @RaghavSh , I have already checked for reference qual conditions and the sys_id I am using satisfies the criteria