Professional Documents
Culture Documents
12-30-2020 09:15 AM
Hello,
I have an approval workflow for my team here. It is supposed to send a reminder email once a
week (the right branch) until the memo has been reviewed by everyone (the left branch). I have a
Boolean variable set to true and the loop is do until it has been changed to false. After it has been
reviewed the "set variable 2" changes the variable to false and should stop the flow. However the
do until is stopping after the first reminder without the variable being changed to false as seen in
the picture where the left side is not completed. I tested this with a 3 minute delay and the
reminders sent fine. But testing it with a longer delay (hours, days) seems to make the flow stop
sending email after the first for no reason since the condition is not met. Any help or tips are
appreciated. Thanks!
Solved! Go to Solution.
Labels:
Message 1 of 5
752 Views
0
Reply
1 ACCEPTED SOLUTION
ChadVKealey
Memorable Member
01-02-2021 07:25 PM
A couple of suggestions:
1. Remove the delay at the top of the right hand branch
2. Inside the do-until loop, move the delay action above the send email action
As for why it's stopping, check the "Limits" in the do-until loop. The default timeout value is (I
think) 6 hours, so you'll want to extend that to at least as long as the delay. So, if the delay is 24
hours, set the timeout to something like PT24H (or PT1D).
View solution in original post
Message 4 of 5
717 Views
1
Reply
4 REPLIES
Anonymous
Not applicable
12-30-2020 05:46 PM
Hi @Anonymous ,
Thanks
Message 2 of 5
739 Views
0
Reply
Anonymous
Not applicable
In response to Anonymous
12-31-2020 07:34 AM
Maybe these will help, thanks!
Message 3 of 5
730 Views
0
Reply
ChadVKealey
Memorable Member
01-02-2021 07:25 PM
A couple of suggestions:
1. Remove the delay at the top of the right hand branch
2. Inside the do-until loop, move the delay action above the send email action
As for why it's stopping, check the "Limits" in the do-until loop. The default timeout value is (I
think) 6 hours, so you'll want to extend that to at least as long as the delay. So, if the delay is 24
hours, set the timeout to something like PT24H (or PT1D).
Message 4 of 5
718 Views
1
Reply
Anonymous
Not applicable
In response to ChadVKealey
01-04-2021 07:57 AM
Thank you for the suggestions these are helpful, I have the delay as 7 days so the reminder email
sends once a week, I think setting the timeout to PT168H should stop it from completing the loop
early.
Message 5 of 5
707 Views
0
Reply