Facing issue with the wait for Duration of time activity in the Flow designer

kiran115
Tera Contributor

In the flow designer, I included a "wait for duration" activity with a configured duration of 1 hour. However, after submitting the request, when I check the flow context, it indicates a waiting duration of 2 days. How is this occurring, and are there any configurations needed to align with the expected behavior? Below is the screenshot for the reference.

kiran115_0-1705489692580.png

 

 

4 REPLIES 4

Sandeep Rajput
Tera Patron
Tera Patron

@kiran115 Could you please the complete snapshot of the flow, the context screenshot you have shared is hardly readable. 

 

Also, a flow could wait indefinitely if the wait conditions are not met or any error occurs in one of the associated sub-flows. 

kiran115_2-1705500755440.png

 

This record was generated approximately 15-20 minutes ago. After reviewing the schedule, I confirmed that there are no holidays within this timeframe. However, based on the configured duration, the scheduled end date/time should be 2024-01-18. Why is it exhibiting different behavior?

 

 

 

If you check on the field During the following schedule you have 8-5 weekdays excluding holidays daily so you have 3 days to fulfill this. you will get 16hrs in 2days and in 3rd day you only have 2hrs left. that's how it function.

Shivalika
Mega Sage

Hello @kiran115 

 

Please check the box "Don't fail on error" when you add "wait for duration" action in flow, so that it doesn't continues to wait endless incase some conditions are not met. 

 

Please mark my answer as helpful or accept solution if it helped you in anyway. 

 

Regards, 

Shivalika 

 

LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

YouTube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=W9CdfJAeFtJOEiqD