How to set custom value for sys_created_on field?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2022 08:30 AM
For some business situations, we have to make some ad-hoc entries in a table. These entries should have custom value for sys_created_on field. I tried followings:
1. Inactive the ACL *.created_on: Didn't worked.
2. Return true from the ACL *.created_on script section: Didn't worked.
Any idea?
Labels:
- Labels:
-
Scripting and Coding
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2022 08:37 AM
I'm creating some test cases, and the results I am testing for depend on the sys_created_on and sys_updated_on dates. So I wanted to make a post request to create a service now ticket with custom sys_created_on and sys_updated_on. Is there any way I can do that?