- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2020 10:12 AM
I am able create a standard change with:
POST https://<org-sub-domain>.service-now.com/api/sn_chg_rest/change/standard/{standard_change_template_id}
However, I have to pass reference field values to get the request created with appropriate display value. Example:
For a field assigned_to I have to pass value like: 416e07f00f571700b322807be1050efb to make it display my name.
Is there a way to pass the display values directly? If not, what's the best way to get display value for a reference field?
Solved! Go to Solution.
- Labels:
-
Integrations
-
Multiple Versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2020 11:24 AM
It may be about the same - or a difference of where you want the work to be done, but an alternative is to pass in 'John Smith' and have the script on the Scripted REST Resource parse that and query the table to use the sys_id when the change record is created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020 08:03 AM
Thanks