- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2017 04:07 PM
Hi helpful friends!
I previous opened a thread with a question to get a date field to auto populate when any change to a form is made, and it worked. However it does not autopopulate if the first thing that is done on the form is to create a new record from a related list on the record. Is this possible?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2017 05:11 PM
Ahh !!
I totally forgot that you are using scoped application
replace the below line
gr.date_reviewed = gs.nowDateTime();
with
gr.date_reviewed = new GlideDateTime();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2017 05:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2017 05:04 PM
Your conditions should be
current.parent.date_reviewed.nil()

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2017 05:04 PM
condition should be current.parent.date_reviewed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2017 05:09 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2017 05:11 PM
Ahh !!
I totally forgot that you are using scoped application
replace the below line
gr.date_reviewed = gs.nowDateTime();
with
gr.date_reviewed = new GlideDateTime();