I want to create catalog task after 30 or 60 or 90 or 180 days timer so how can i achieve this please share the code any one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-27-2022 11:22 PM
I want to create catalog task after 30 or 60 or 90 or 180 days timer so how can i achieve this please share the code any one
below code am using but its not working:
// Set 'answer' to the number of seconds this timer should wait
var gdt = current.variables.EU26b;
if (gdt ==1) {
answer =86400;
} else if (gdt ==60) {
answer =5184000;
} else if (gdt ==90) {
answer =7776000;
} else {
answer =15552000;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-28-2022 08:13 AM
If my response helped please mark it correct and close the thread so that it benefits future readers.
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
ā05-12-2022 08:41 PM
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader