- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2024 01:12 AM
Hi,
In Servicenow ATF whenever i run the ATF by default i want to set the date as today's date.
In the above screenshot if i run i am putting the date but if i run the same ATF after 10 days it will get error because whenever i run the ATF i want to put the today's date.
If any possibility please help me out on the same.
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2024 12:51 AM
Sure.
Open your step 7 Set Field value.
In the Alarm start field write this javascript code.
javascript:gs.daysAgo(-10)
Regards
Shaqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2024 12:51 AM
Sure.
Open your step 7 Set Field value.
In the Alarm start field write this javascript code.
javascript:gs.daysAgo(-10)
Regards
Shaqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel