- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 09:07 PM
@Ankur Bawiskar @Community Alums @Sohail Khilji
Team please help me how can I autopopulate current date in current date field using reference qualifier default value
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 03:21 AM
Did it help ? kindly action in closing your post and quries.
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 09:22 PM - edited 05-13-2024 09:22 PM
Hello,
Please have a look at below discussion it might be able to help you.
If my answer has helped you in any way please mark it as correct or helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 09:42 PM
simply use this in default value, why to use ref qualifier?
javascript: new GlideDateTime();
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 10:50 PM
Hi @ARAVINDA11 ,
You don't need to use reference qualifier for setting default field value.
Just right click on the field > select configure dictionary.
In the Default value section enter the below code:
javascript <colon> new GlideDateTime(); // replace <colon> with colon symbol (:)
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 03:21 AM
Did it help ? kindly action in closing your post and quries.
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....