Hello,
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!
I tried updating the timeout from PT720H to P30D and still no go.
Anybody out there have any other ideas?
Hello @Delminium
Can you share another screenshot of your flow. More specifically where the varCancelled variable is being set and updated
Proud to be a Flownaut!
Hi @Jcook
Thanks for your reply. Here is the requested screenshot showing when varCancelled is set/updated:
Hope it helps.
Hi @Delminium
It looks like your Do until loop will not work, since you are never updating the variable in the do until loop
Proud to be a Flownaut!
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.
Thank you!
You mentioned you're using a delay until action is that true? Or are you using just a standard delay?
Proud to be a Flownaut!
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?
Hello @Delminium
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. 🙂
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
32 | |
15 | |
14 | |
13 | |
7 |
User | Count |
---|---|
39 | |
22 | |
14 | |
10 | |
7 |