Help with submission of catalog item

Snowman15
Tera Expert

Hi all, 

I have created a catalog item with a flow at back. In the cat item I only have one single variable type "attachment". I would like to know if there is a way to hold requests submitted between 11:30 PM and 8:00 AM, so they are only processed outside of these hours. Thanks

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Snowman15 

you can use wait for duration in flow and check if the time is after 8am and before 11.30pm

If yes then proceed

what did you start with and where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

8 REPLIES 8

J Siva
Tera Sage

Hi @Snowman15 

Create one schedule 8 - 11:30. Then add "Wait for duration" and use the schedule like below.

IMG-20250526-WA0003.jpg

Regards,

Siva

Snowman15
Tera Expert

@maheshkhatal Hi would you be able to show me an example or helping me with this? I am not super experienced with custom action. I tend to stick with the low code that flow designer offers. Thanks

maheshkhatal
Mega Sage

Then go for what J Siva has suggested. 

Robert H
Mega Sage

Hello @Snowman15 ,

 

Which time zone is to be considered when determining if it's currently between 8am an 11:30pm?

The one of the user submitting the request, system time zone, some fixed time zone, time zone of the fulfillment group, etc.?

 

And I can't help but wonder what's the business problem that is behind this unusual requirement. Because the fact that time zones may have to be considered could make this very complicated, and maybe there is an entirely different, much simpler approach to solve that business problem.

 

Regards,

Robert