Flow Designer - Wait for Condition not working

Hari1
Mega Sage

Hi,

I have created a flow designer. I need to wait for 5 minutes after the state is changed from On-boarding to Provisioning and i have added a wait for condition on the flow designer to wait for 5 minutes when the state changes to Provisioning which fails to wait for 5 minutes and the flow is completed without waiting.

Below is the flow:

Hari1_0-1683652440583.png

Can anyone please help me achieve this?

 

Thanks.

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@Hari1 The way you have configured the Wait for condition to wait for 5 minutes by configuring the duration field is not going to work as the purpose of that duration field is different.

 

According to the docs.

Screenshot 2023-05-09 at 11.00.18 PM.png

Duration field will only be used when Enable Timeout check box is checked. Also, timeout is usually used to bring the wait for condition to closure after a certain duration so that the flow doesn't wait perpetually.

 

In order to make a flow wait instead use the Wait for duration flow logic as follows.

 

Screenshot 2023-05-09 at 11.12.35 PM.pngScreenshot 2023-05-09 at 11.11.36 PM.png

 

Here is the documentation for your reference https://docs.servicenow.com/en-US/bundle/rome-servicenow-platform/page/administer/flow-designer/conc...

 

Please mark my answer helpful and correct if it manages to fulfil your requirement.