If and Loop in Power Automate for Desktop (Full Tutorial)

  Рет қаралды 12,333

Anders Jensen

Anders Jensen

Күн бұрын

This full video tutorial shows how to use If and Loop actions in Microsoft Power Automate for Desktop. The full use case takes you through the best practices in using If and Loop actions in your RPA development.
📂 Course materials: andersjensen.org/microsoft-po...
VIDEOS FOR YOU:
🔹 Power Automate for Desktop Full Tutorial Playlist: • Power Automate Desktop...
🔹 Power Automate Cloud Beginners Course: • Microsoft Power Automa...
👨‍👩‍👧‍👦 Discord: / discord
- Join my network with 2800+ RPA Developers, where we solve RPA problems, network, and help each other upgrade our careers. It's free!
FOLLOW ME:
💼 LinkedIn: / andersjensenorg
📸 Instagram: / andersjensenorg
👨 Facebook: / andersjensenorg
🐦 Twitter: / andersjensenorg
💌 Email Newsletter: andersjensen.org/email-newsle...
MY MONITOR (Amazon affiliate):
🖥️ Samsung 49-inch CRG9 Curved Monitor = geni.us/MDpejc
- If you are buying this, I can recommend the Mi Monitor Light Bar = geni.us/3Wwad
0:00 Intro
We're creating a simple game in Power Automate for Desktop. The game takes you through the If and Loop actions, as well as best practices in RPA development. First, create a new variable and assign a random value to it (our secret number). Then, use a Display input dialog action to take user input (the guessed number).
3:37 If
The If action asks a question and performs actions based on the outcome of the condition. Inside the If condition, we use a Display message to give the user a hint in the guessing game. Next, drag in an Else action to specify what will happen if the If condition is not true.
5:23 Loop
A Loop action also has a condition, and a Loop runs over and over as long as the condition is true. If nothing changes, it will run forever. Therefore it's best practice to always add something so the Loop stops at some point. The simple solution is to implement a counting variable and let the loop run X times. It's also shown how to make more statements in one condition using the AND operator.
15:13 Generate a random number
Use the Generate random number action to generate a random number instead of our static one.
#powerautomate #rpa #microsoft

Пікірлер: 41
@andersjensenorg
@andersjensenorg 2 жыл бұрын
This is another lesson in the Power Automate for Desktop full course 🙌🔥 LIKE AND SUBSCRIBE IF YOU ENJOYED! Instagram: @andersjensenorg
@Ganesh749
@Ganesh749 2 ай бұрын
Thank you Anders Jensen, you are really awesome teaching and spreading knowledge about RPA. Your contents were indeed very helpful and we are learning a lot about RPA from this channel. can you please make one video on power automate license for enterprise and best practices while choosing right license
@andersjensenorg
@andersjensenorg 2 ай бұрын
Thank you so much for your kind words and support! I'll consider creating a video on Power Automate licenses for enterprises and best practices. Kind regards, Anders
@MarkStettler
@MarkStettler Жыл бұрын
Thank you Anders! Count yourself among the awesome teachers found on KZfaq!
@andersjensenorg
@andersjensenorg Жыл бұрын
Thanks a ton, Mark Stettler 🤩 Have a great day. You're more than welcome at my Discord, where we're 5000+ RPA developers networking and solving problems: kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@sazzarello
@sazzarello 4 ай бұрын
Another excellent learning experience. TY!
@andersjensenorg
@andersjensenorg 4 ай бұрын
My pleasure, appreciated the nice words 😊 Kind regards, Anders
@nathanmora9734
@nathanmora9734 Жыл бұрын
3 Years ago I was hired as an RPA Developer using UiPath. I Watched your videos daily to help me and now we have moved to Power Automate, and I'm here with you again lol. Thanks for all your content it has been helpful for me on my RPA journey!!
@andersjensenorg
@andersjensenorg Жыл бұрын
Haha, I'm so glad to hear, Nathan! 🙂 Have you seen my discord community of 8000+ RPA developers. It's of course free and the link is in the video description. Kind regards, Anders
@PitakYT
@PitakYT Жыл бұрын
Thank you very much for good video training.
@andersjensenorg
@andersjensenorg Жыл бұрын
Thanks a lot, Pitak 🙂
@atiqure2000
@atiqure2000 Жыл бұрын
your channel is one of my best discoveries. keep it going
@andersjensenorg
@andersjensenorg Жыл бұрын
Hey Syed, I'm so happy for your message 😍 Have you seen my new videos regarding the topic: If and Switch: kzfaq.info/get/bejne/fp99bLd4u9WXpZc.html Loop: kzfaq.info/get/bejne/h7V9Y6p4nNHDgKs.html Kind regards, Anders
@atiqure2000
@atiqure2000 Жыл бұрын
@@andersjensenorg Not yet. But will do it soon and every other video on PA.
@arielreina8552
@arielreina8552 2 жыл бұрын
Andres really well explained and straight to the point. Excellent
@andersjensenorg
@andersjensenorg 2 жыл бұрын
Thanks a ton, Ariel 😊
@febsil66
@febsil66 Жыл бұрын
Thanks a lot Anders!!! One more awesome tutorial!!!
@andersjensenorg
@andersjensenorg Жыл бұрын
Thanks a lot, Fernando Silva 🤗 Your feedback helps me immensely. You're more than welcome at my Discord, where we're 5000+ RPA developers networking and solving problems: kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@NickWindham
@NickWindham Жыл бұрын
Great example tutorial!
@andersjensenorg
@andersjensenorg Жыл бұрын
Hey Nick Windham. Thanks a lot 😊 Have a great day. You're more than welcome at my Discord, where we're 5000+ RPA developers networking and solving problems: kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@HammamDisini
@HammamDisini Жыл бұрын
Great video. Thanks for sharing.
@andersjensenorg
@andersjensenorg Жыл бұрын
Hey Hammam Disini - Excel. Thanks a lot 😊 Have a great day. You're more than welcome at my Discord, where we're 5000+ RPA developers networking and solving problems: kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@farhadb7811
@farhadb7811 Жыл бұрын
very good. i enjoyed your tutorial very much
@andersjensenorg
@andersjensenorg Жыл бұрын
You're very welcome, Farhad B - your support helps me a lot 😍 You're more than welcome at my Discord, where we're 5000+ RPA developers networking and solving problems: kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html
@craignorton8678
@craignorton8678 Жыл бұрын
Great video from Anders. Keep up the great work.
@andersjensenorg
@andersjensenorg Жыл бұрын
Thank you, my friend. Did you start with PAD as well? 💪😄
@craignorton8678
@craignorton8678 Жыл бұрын
@@andersjensenorg Yes. Doing a Proof of Concept comparison across Power Automate for Desktop, UiPath, and Nintex RPA.
@suraj_singh321
@suraj_singh321 2 жыл бұрын
Anders Jensen Uipath RPA make a video on Excel Automation ignore empty cells and write cell at particular range within the cell specified range using uipath
@andersjensenorg
@andersjensenorg 2 жыл бұрын
Hey Suraj. I don't 100% understand the question. Can you please post it on my Discord and be a little bit more specific? 😊 The link is in the video description. Kind regards, Anders
@suraj_singh321
@suraj_singh321 2 жыл бұрын
@@andersjensenorg can you share your mail Id so I can Illustrate you
@Pratzy6365
@Pratzy6365 17 сағат бұрын
Hi how to decrement Loop in Power automate desktop
@Sauroflorence
@Sauroflorence 10 ай бұрын
I am facing a "random" issue when I run my flow (it is a loop to export some report from SAP) from Power Automation Dashboard or using a keyboard shortcut. Sometimes the flow stops a the end of FIRST CYCLE of the loop, without any runtime error...sometimes it runs correctly till the END of the loop. If I run the flow from inside the Power Automate Editor it works smoothly 100% of times. What I should check ? I have updated the Power Automate Desktop to last release.
@andersjensenorg
@andersjensenorg 6 ай бұрын
Thanks for writing 😊 I'm getting more than 50 messages daily. While I read all of them, I can’t reply to everyone 😔 But I’ve created an RPA/Automation community where we’re 10,000+ RPA Developers helping each other with solutions and our careers. Here’s the video on how to join (the invitation link is in the video description): kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@pranabgarg
@pranabgarg 2 жыл бұрын
Post something about power automate desktop reading from Excel and updating in SQL server with query or querying with like parameter, cover if we reuse the same connection is there an overhead?
@andersjensenorg
@andersjensenorg 2 жыл бұрын
Hey Pranab. Thanks a lot for feedback. That will be a narrow video, and I don't see it coming in the near future. BUT. For the Excel part check this: kzfaq.info/get/bejne/sLymlLV0v9e-Z3k.html and the for SQL part: Coming soon. Then you can combine it yourself 😊
@pranabgarg
@pranabgarg 2 жыл бұрын
@@andersjensenorg I'm building it myself so know some pitfalls which will not work.
@jafarbasha4394
@jafarbasha4394 2 жыл бұрын
Hiii, i have a requirement that i need to get latest Textfile in folder by searching some keyword after i need to copy to my required folder using UiPath, any idea on this
@andersjensenorg
@andersjensenorg 2 жыл бұрын
So you sarch for e.g. Tesla, then find all txt with Tesla in title and then you want the newest copied to a new folder?
@jafarbasha4394
@jafarbasha4394 2 жыл бұрын
@@andersjensenorg yah exactly
@andersjensenorg
@andersjensenorg 2 жыл бұрын
@@jafarbasha4394 Cool, I'll make a video 😊
@jafarbasha4394
@jafarbasha4394 2 жыл бұрын
@@andersjensenorg if it will be today, i will more happy ☺️Thank you
Work with Files and Folders in Power Automate Desktop
21:13
Anders Jensen
Рет қаралды 94 М.
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 12 МЛН
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 25 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 86 МЛН
The Recorder in Power Automate for Desktop (Full Tutorial)
13:07
Anders Jensen
Рет қаралды 22 М.
Introduction to Power Apps | What is Power Apps?
8:59
Dhruvin Shah
Рет қаралды 192 М.
Web Automation in Power Automate for Desktop (Full Tutorial)
18:51
Anders Jensen
Рет қаралды 57 М.
Web Extraction in Microsoft Power Automate Desktop - Full Tutorial
1:13:06
Scraping data from the web in Microsoft Power Automate for Desktop
14:44
MS Power Automate
Рет қаралды 19 М.
Using Variables in Power Automate Desktop - Full Tutorial
36:24
Anders Jensen
Рет қаралды 16 М.
Power Automate Desktop || How to Handle Dynamic UI Elements
13:39
Learning RPA Technologies
Рет қаралды 33 М.
Excel in Power Automate for Desktop (Full Tutorial)
28:39
Anders Jensen
Рет қаралды 27 М.
Power Automate Desktop: How to Setup Unattended Robots
12:20
Anders Jensen
Рет қаралды 16 М.
Мой инст: denkiselef. Как забрать телефон через экран.
0:54
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,8 МЛН
Blue Mobile 📲 Best For Long Audio Call 📞 💙
0:41
Tech Official
Рет қаралды 1 МЛН
Худший продукт Apple
0:53
Rozetked
Рет қаралды 135 М.