Turn on Power Automate Flow Automatically
HTML-код
- Опубликовано: 28 май 2024
- Hello,
Do you have a Power Automate production flow that getting turned off automatically because of no activity?
In this video, I will show you how you can create a flow that will automatically turn on the turned-off flow.
Reference:
docs.microsoft.com/en-us/powe...
Thanks again for watching.
Don't forget to subscribe and click on the notification bell.
Connect with me
Twitter: @deepak_s22
Website: www.deepakshrivastava.com
Facebook Page: / deepak-shrivastava-108... - Наука
Thanks for this. I added an action to turn off a flow because i only want it to run once per day. But i struggled to find a way to turn it back on the next day until saw your solution. It was indeed helpful. Thanks for all you do
I never knew flows got turned off. Thx for helping me grow my learning.
Thanks You for watching.
Very well explained, clear language, well organised and good use of simple artefacts that don't distract from the theme of your presentation. Certainly assisted me.
This is an amazing solution!! Loved the use of filter condition!!
Thank you!
Great Video - but if you filter by the 'Stopped' state, that returns flows that were turned off manually. The flows that were auto turned off after the timeout are in the 'Suspended' state.
However, if you make a change to a flow in the suspended state and save it, the state changes to stopped
Thanks for watching. Yes, so in my example, you should filter for 'Suspended' instead of 'stopped' and turn on the flow as needed. I used 'stopped' for easy demonstration.
what a beauty...an amazing technique. Thanks for sharing ...
My pleasure 😊.. Thanks for watching
Thanks for sharing Deepak, we look forward to a video on Power Automate to retrieve more than 100k rows with Dataverse or any other data source.
Thank you Julien, i will add this topic to my future video list.
Hi there, thanks for this, really helpful. However rather than manually identifying each flow that I would like turned back on when they are switched off, I would like it to apply to any of my flows which are turned off. Is there a quick way to do this, or do I need to individually add a parallel branch for each of my flows?
That's neat solution!
Thank you.
Thanks Deepak
So nice of you, as always thanks for watching.
We have a 30 Flows which have multiple Owners assigned to each flows in that case when we use "List My flows" will not gett all the flows which are shared with multiple owners ,What need to done to Turn it on please let me know thanks
Hi, I have replicated your config, but my For Each loop fails.
"The template language expression 'outputs('Filter_array')['body/value']' cannot be evaluated because property 'body/value' doesn't exist, available properties are 'body'."
If I change the for each loop to just "body" instead, I get the following:
"'@{outputs('Filter_array')['body']}' is of type 'String'. The result must be a valid array."
Hi Deepak, I do not get how you added prod. Where do you pick it from? My resultset = 0 as I am unable to pick the right flow which is disabled.
Thank you for a well explained video! Do you have a good solution for turning on Shared Flows?
Almost all of our flows are shared between at least 1 service account and 1 user account, wich becomes problematic with this solution...!
Hi Deepak, thank you for this video. Very nice solution. Could you please help me extend the expression with more options for displayName? How can I introduce that? Display name is X, or Y, or W.
@and(equals(item()?['properties/state'], 'stopped'), contains(item()?['properties/displayName'], 'Compute'))
Thanks for your video, I am facing a issue where Flows are Turning Off after they are deployed/imported into the Target environment, it is becoming very tough to check every time and every flow which are disabled/deactivated after the solution import. Any suggestions on this please
Does list my flow gets the flow that you created ? or gets all the flow that you are owner of? nice solution btw.. :)
Vinay, only that you created.
based on what data MS decides to turn off the flow, is it Cteation time or Modification time, can they be changed into the value not allowing to fall under TurnOff conditions instead of re-TurnOn them ?
Hi Deepak,
I have configured flows with do until loop after certain number of smooth executions (45 min - 1 Hr) but after that flows get stuck in running status for 19-20 hrs. Could you help me what would be causing this problem ?
If your flow doesn't error out, it is most probably because you reached the API request limit for your user ID.
@@DeepakShrivastava it doesn't error out. How should I check if I reached the limit.
What if the control flow is suspended by some reason? How to automatically control the control flow? Lack of features from Microsoft... Thanks for the video.
Thanks for watching. Yes, if it is stopped or suspended for a reason, you may need to update the flow name to reflect that. It is not the best approach, I agree.
How to auto turn on flows while importing solution to different environment
I don't think you have any automation for this so you have to do manually. You can create a flow (if you are admin) and get all flows and turn them on, i don't this it is a best practice though.