I used to have a Delay Until block that was working perfectly until recently. I'm not sure why it stopped working properly because nothing else really changed in the work flow.
Here is the gist of my flow:
User submits an order
Managed is set an approval request
At that point a parallel flow also begins highlighted by the screenshot below:
If the user does not respond to an approval request right away this portion of the flow is supposed to remind the manager every day (up to 30 days) to complete their approval request. The variable varCancelled is set to Null initially. It changes to True/False depending on the response the manager gives. One the manager responds, this e-mail reminder is supposed to end.
My flow now only seems to remind the manager after one day and then it quits working for some reason. The timeout is set to PT720H (30 days). Count used to be blank but I changed it to 30 in hopes that would help (it did not).
Does anyone know what I can do to get this portion of the flow working again?
Thanks in advance!
It's strange because it used to work. Not sure if anything changed behind the scenes with Power Automate.
I'm not sure why I would need to update varCancelled to Null since it is already initialized to that further upstream from the screenshot I sent you.
Regardless, I will do what you said and give it another shot. I'll probably have a better idea if it worked early next week.
I am just using a standard delay action:
The one within the loop is the same.
Maybe my word usage was incorrect. I am using a regular Delay action. I see now that there is a Delay Until action as well. Perhaps that is the action I should be try using?
Assuming that you are using a boolean variable "varCancelled".
Do you actually set the variable to null or do you assume that the Initialize variable action sets it to null.
I checked with an Initialize variable action, even if the initial value is left empty, the variable contains false!
So now you can not use a boolean variable - I suggest you to use either an integer or a string. Change your Do Until accordingly.
Kind regards, John
Your assumption is correct. My variable varCancelled is a boolean. It initially worked when I left the variable empty. I then initialized and set it to null() when I started noticing problems.
Thanks for your tip! I may just give that a try as well. 🙂
Keep up to date with current events and community announcements in the Power Automate community.
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Check out the latest Community Blog from the community!