I want to automatically modify the information received via REST API.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 01:59 AM
Hi All.
When creating a record in the em_event table using the REST API, the record is created with the time_of_event advanced by +9 hours. (The ServiceNow system time is JST)
Is there a way to automatically modify the data (subtracting 9 hours from the time_of_event) on the ServiceNow side upon receipt via the REST API and then create the record?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 04:25 AM
In case you are parsing the payload and then manually setting the values into fields then you need to use setDisplayValue for date time / date / time fields.