- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi All, I was working on a flow designer logic, and getting a problem in it.
My requirement is: users can raise their request at any time but sctask should only be create in a specific time window.
For Ex:- user raised a req on thursday, even after getting approval ScTask should create on tuesday between (9am to 12pm).
To implement this, I've added a wait for condition in my flow just before first scTask:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Create a schedule that has a recurring tuesday 9am-12pm schedule entry. Then before your create catalog task action add a wait for duration. Use explicit duration 1s and during the aforementioned schedule.
This way if you are outside the window it will wait until the window opens to start the duration. And if you are inside the window it will start counting instantly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Don't use Wait for condition, it requires update on the record.
You should use Wait for Duration and specify till when it has to wait and then proceed
check this and enhance
ServiceNow Flow Designer - Make api call 3 days before the start date
basically get the 9am time of Tuesday and make your flow wait till then
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hope you are doing good.
Did my reply answer your question?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
with this logic, we can make flow to wait until a specific time. But my requirement is to create task in a specific time window like (tuesday 9am to 12pm).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Create a schedule that has a recurring tuesday 9am-12pm schedule entry. Then before your create catalog task action add a wait for duration. Use explicit duration 1s and during the aforementioned schedule.
This way if you are outside the window it will wait until the window opens to start the duration. And if you are inside the window it will start counting instantly
