when the date reaches create the catalog task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2023 10:40 AM
Having a requirement,
on the catalog form "required until" date field is there, when the date reaches need to trigger the task.
need suggestion how to compare the current date and the 'required until' date in the flow designer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 05:27 AM
You will find the exact requirement here
Please mark this reply as helpful if it solved your problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 05:39 AM - edited 09-13-2023 05:40 AM
@Community Alums
you can simply use Wait for condition for this and no scripting is required
this link has solution. just enhance it
Wait for a date to start tasks using flow designer.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 12:25 PM
Hi @Ankur Bawiskar,
The requirement is kind of below example.
Ex: on the form there is a field name "required until' date field.
suppose the date we selected is 14-09-23 then it should wait until day ends 23:59.
once the day changes to 00:00 then the task should be work in progress.
tried the above suggested way through flow designer but its not working. any suggestion to achieve this requirement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 09:45 PM
@Community Alums
the link I shared has solution and your field is date so there makes no sense in waiting till 23:59:59
system will handle this on it's own
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader