- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2020 09:30 PM
Hi,
I want to set start/end date dynamically in ATF? is this possible?
Regard,
Trupti
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2020 10:51 PM
Hi Trupti,
Can you explain what is the meaning of dynamic date?
This is possible
the below worked for me
javascript: gs.daysAgo(-7)
screenshot below is for older example; when I run it sets date to 7 days in future i.e. 11th May
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2021 05:54 PM
I seem to have problems with the date using Set Variable Values (SP) test step. The date is not output to the screen, even though it seem to set it correctly. Have you encountered this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2021 05:54 PM
I seem to have problems with the date using Set Variable Values (SP) test step. The date is not output to the screen, even though it seem to set it correctly. Have you encountered this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2021 09:04 PM
Hi,
I haven't seen that.
try to give some timeout for that set variable step of 5 seconds
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2021 10:00 PM
No luck, ServicePortal still thinks no date is entered and gives an error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2021 10:08 PM
Can you post a new question for this and tag me in that and share more details.
this post is answered one so it's better to raise new question
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader