Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2021 05:49 AM
From what I could get from your question
1) You want Catalog Task to be created on that date
Example: If date is 10th Jan 2021 so catalog task should be created on that day and your workflow should wait till that time
If yes then you can use Workflow Wait for Timer Activity with Script below
var gdt = new GlideDateTime(current.variables.Scheduled_retrieve_date);
answer = gs.dateDiff(new GlideDateTime(), gdt, true);
Regards
Ankur
Regards,
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader