- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 07:17 PM
Hello,
I have 2 variables for a specific request item that should be auto populate.
Valid from should be auto populate on the date of creation/submission.
Valid to is dependent to Validity.
If I select 1 week, the Valid to date should automatically populated based on the user’s selection.
How can I configure that kind of setup?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 10:37 PM
I tried to add this on default value javascript:gs.nowDateTime() and it worked.
My problem now is the Valid to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 05:01 PM
The date today just like the Valid from.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 05:08 PM
I am thinking for BR, but I am not sure with the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 10:19 PM
did you try changing the ;
while we post in response it is getting converted to :
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 11:40 PM
Hi @Ankur Bawiskar ,
Apologies, I marked a solution for Valid from and will post another for Valid To.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 03:19 PM - edited 08-24-2023 03:20 PM
Change ":" to an actual ":"