Power Automate Desktop: Best Practices for Advanced Users

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 89

  • @andersjensenorg
    @andersjensenorg  Рік тому +6

    The best Power Automate community is free: discord.gg/iloveautomation 🔥
    We're more than 8000 RPA developers ready to network and help you.

    • @sosolowkey9318
      @sosolowkey9318 Рік тому

      Do you have any tutorials dedicated to robocorp?

  • @miraitube1337
    @miraitube1337 Рік тому +3

    My learning journey on Power Automate is much better with your videos! Thanks!

  • @betharceo6023
    @betharceo6023 9 місяців тому +1

    This video really helped me learning PowerAutomate from UIPath. Thanks alot! I hope you also have a tutorial on form modification (edit) with checkboxes soon. 👏🏻

    • @andersjensenorg
      @andersjensenorg  9 місяців тому

      Wow, thanks a lot 😊 I have one planned, but it will take 1-2 months before recording/producing. Kind regards, Anders

  • @PraveenKumar-by2eu
    @PraveenKumar-by2eu 5 місяців тому +2

    Thanks

    • @andersjensenorg
      @andersjensenorg  5 місяців тому

      Wow, Praveen 💯😍 Thanks a lot for this kind gesture 🫡 Appreciated, kind regards, Anders

  • @YgAy1986
    @YgAy1986 2 місяці тому +1

    Thanks! Really helpful and saved my time😀

    • @andersjensenorg
      @andersjensenorg  2 місяці тому +1

      Wow, thank you so much - you really don't have to 😊 Kind regards, Anders

  • @jannicksrensen4203
    @jannicksrensen4203 Рік тому +6

    I've been looking for something like this for a while now. Great to finally have a video on it! Thank you very much

    • @andersjensenorg
      @andersjensenorg  Рік тому

      Hey Jannick, thank you so much - tusinde tak 😍🙏

  • @yogeshrao4892
    @yogeshrao4892 Рік тому +1

    One of the best use case covering all best practices of PAD. Thank you a lot Anders.

    • @andersjensenorg
      @andersjensenorg  Рік тому

      Thanks a lot for the kind words 😍 Kind regards, Anders

  • @FairviewRCflier
    @FairviewRCflier 10 місяців тому +2

    Absolutely amazing job! I had a goal of learning better logging methods and learning how to do error handling better and this video nailed it! Thanks so much

    • @andersjensenorg
      @andersjensenorg  9 місяців тому

      I'm so glad it could help you 😊 Kind regards, Anders

  • @jatinnandwani6678
    @jatinnandwani6678 9 місяців тому +1

    Thanks Anders!

    • @andersjensenorg
      @andersjensenorg  9 місяців тому

      Wow, Jatin - you really didnt have to 😊 I have a new video on this going out this month. Kind regards, Anders

  • @Peterson1998
    @Peterson1998 Рік тому +6

    Here are some effective programming techniques I have honed over my career as a developer:
    Regardless of the language or automation software I'm using, I generally start with a copy of a pre-developed layout, which will be the standard for all automations. Here are the steps I usually follow:
    The first subroutine or subflow of the project is Sub_Define_initialization_variables: at this point, I define directories, parameters, keys, and everything related to the automation workspace, using regions.
    The second subroutine or subflow of the project is Sub_Control_room: this section houses Boolean variables that can change the systems environments and logins. It includes everything related to environments and logins.
    The third subroutine or subflow of the project is Sub_Error_handling: in case of error, I direct it to this routine, which is responsible for recovering the cause of failure, sending emails, inserting information into SQL, and everything related to the last action that the automation will perform in case of failure.
    Here's a tip for beginners or for those who want to make their projects more scalable and easy to maintain:
    It's useful to differentiate your subroutines or subflows using the initial prefixes: Sub_ or Func_. To me, the difference is clear: Sub_ is used to store variable assignments, large sections of code, or even a small "function". However, what differentiates it from Func_ is that the latter mimics a function, as it allows to perform a task using unique variables as internal input and output. This way, when someone goes to perform maintenance on your automation, they will know that the Func_Function_name routine receives or returns parameters that are exclusive to it.

    • @andersjensenorg
      @andersjensenorg  Рік тому

      Thanks a ton, Peterson - I consider implement some of it 🙂

  • @thomasshakypetersen1609
    @thomasshakypetersen1609 Рік тому +3

    Love it, especially the fact that the info reaches a lot of people. Thx for the plug :)
    Quick tip, if you want to include the subflow in your tracelog, you can create an error on purpose (convert 'penguin' to a number), force the flow to continue, get the last error and read the subflow from %lastError% :)

    • @andersjensenorg
      @andersjensenorg  Рік тому

      My pleasure, thanks for all the help through the last year - I learn a lot 🙏Yeah, great one. I thought about it (dividing by 0 or so), but somehow think it's "unclean" 😏 I cross my fingers for a Throw error action 🍀

  • @FlavioTraiano
    @FlavioTraiano 6 місяців тому +1

    There's so much valuable information in this video. I'll share with my team. Thanks again!

    • @andersjensenorg
      @andersjensenorg  6 місяців тому +1

      Hey Flavio, thank you so much 🥰 Kind regards, Anders

  • @RobertOzog
    @RobertOzog 2 місяці тому +1

    Fantastic tutorial. Thank you very much for creating and sharing!

    • @andersjensenorg
      @andersjensenorg  2 місяці тому

      My pleasure, Robert. Thanks for all the support 😊🙌

  • @FlavioTraiano
    @FlavioTraiano 6 місяців тому +1

    Valeu!

    • @andersjensenorg
      @andersjensenorg  6 місяців тому

      Hi Flavio, thank you so much - you really didn't have to. Kind regards, Anders

  • @yaronbeen3033
    @yaronbeen3033 Рік тому +1

    Exactly what I was looking for.
    Appreciate it.
    If you can create more advanced videos that would be great

    • @andersjensenorg
      @andersjensenorg  Рік тому

      Thanks a ton, Yaron 🙌🙂 I will create a mix of beginner and advanced stuff. Kind regards, Anders

  • @Hot.Cocoa_0
    @Hot.Cocoa_0 13 днів тому

    do you have a guide to study for the Microsoft Certified: Power Automate RPA Developer Associate certificate?

  • @oneBoredFish
    @oneBoredFish Рік тому +1

    In your loops, I noticed you use the Set Variable to increase the LoopIndex by 1 each time. There is a dedicated function called 'Increase Variable' that is made specifically for that.
    I never use the search bar to find functions because looking through the list helps me remember what commands are available and sometimes I spot one I've never noticed before that's perfect for what I need.

    • @andersjensenorg
      @andersjensenorg  11 місяців тому

      For sure, thanks a lot for pointing it out 😊 I prefer Set variable, as this gives me the best overall ability to manipulate variables. However in this spot, I will agree, that Increase variable is slightly easier to use. Have a great weekend. Kind regards, Anders

  • @steve_aventura
    @steve_aventura 7 місяців тому

    At 51:09 you are only processing transaction if status is empty. But data check will set it to Success. I think you need to check for empty or Success.

    • @andersjensenorg
      @andersjensenorg  7 місяців тому

      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 12,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): ua-cam.com/video/xWFz-S96XGo/v-deo.html Kind regards, Anders

  • @kensleylewis
    @kensleylewis Рік тому +1

    Excellent course - wish I could continue from the Work Queues portion and on because PA users require an attended RPA' license for that. But thanks anyway for teaching that if we did have it.

    • @andersjensenorg
      @andersjensenorg  11 місяців тому

      You're very welcome, @kensleylewis - your support helps me a lot 😍 You're more than welcome at my Discord, where we're 11,000+ RPA developers networking and solving problems: ua-cam.com/video/xWFz-S96XGo/v-deo.html

  • @v75tan
    @v75tan 14 днів тому

    For unattended robot : should the config be stored in Environment Variable ????

  • @shubhambajpai7897
    @shubhambajpai7897 Рік тому +2

    your videos are amazing just the issue I face is with volume, its too low

    • @andersjensenorg
      @andersjensenorg  Рік тому

      I will turn it up a notch in the future 😊🙌 Thanks for the excellent feedback. Kind regards, Anders

  • @warrenjanuschka7028
    @warrenjanuschka7028 6 місяців тому +1

    Hi Anders, Great UA-cam videos. I'm new to PA Desktop. Do you do offer one on one tutoring (through Teams or other platforms)
    Cheers Warren

    • @andersjensenorg
      @andersjensenorg  5 місяців тому

      Hey Warren, I do, but it's rather expensive. For a start I would recommend my discord community of 12,000+ developers. Here we help each other and network. It's 100% free: discord.gg/iloveautomation Kind regards, Anders

  • @rolandscott7891
    @rolandscott7891 Рік тому +1

    Thank you Ander, keep up the good work

  • @mrnock2
    @mrnock2 Рік тому +1

    Hello Anders, thank you for your videos and detailed explanations. I was wondering if there is an option to set the modal option to True in order to prevent users to change the focus from the Input Dialog to the web page behind. I cannot see this option neither in the Display Input Dialog nor the Custom Form, and I was wondering that maybe there is an option by copy-pasting the code in NotePad and adding a new parameter like \"modal\": true or \"focus\": true. However, all my manipulations didn't work... Do you have any idea on how to solve this? Thank you

    • @andersjensenorg
      @andersjensenorg  Рік тому

      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): ua-cam.com/video/xWFz-S96XGo/v-deo.html Kind regards, Anders

  • @shobinb1281
    @shobinb1281 Рік тому

    Thanks for the video . Very informative.. one question - How do we implement auto re-queue in case of system exception?

    • @andersjensenorg
      @andersjensenorg  Рік тому

      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): ua-cam.com/video/xWFz-S96XGo/v-deo.html Kind regards, Anders

  • @VyomeFamily
    @VyomeFamily 8 місяців тому

    please refer to video at time 16:55, i trying to do the same accessing induvial values from 'currentitem' same syntax but it throws error "Parameter 'Text To fill-in': Unexpected characters. Characters are used in the formula in an unexpected way." isthere any way out ?

    • @andersjensenorg
      @andersjensenorg  7 місяців тому

      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 12,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): ua-cam.com/video/xWFz-S96XGo/v-deo.html Kind regards, Anders

    • @lucjank7544
      @lucjank7544 6 місяців тому

      Mam to samo :(

    • @lucjank7544
      @lucjank7544 6 місяців тому

      mam to samo

    • @lucjank7544
      @lucjank7544 6 місяців тому

      I have the same problem

  • @kowal779
    @kowal779 Рік тому +1

    Anders, great video. In future videos could you please set the volume louder, so that I don't get earraped with ads? 😅

    • @andersjensenorg
      @andersjensenorg  11 місяців тому

      Thanks a bunch, @kowal779 🤩 I've created a Discord. We're more than 11,000+ RPA developers networking and solving problems here: ua-cam.com/video/xWFz-S96XGo/v-deo.html You're more than welcome. Kind regards, Anders

  • @michelvanhaeren3042
    @michelvanhaeren3042 Рік тому +1

    Hi, I learned a lot from your tutorials. Many thanks !
    I have already created several working flows with Power Automate Desktop in the meantime.
    I do have one very big problem thoug: The performance !
    My flows no longer contain any errors, I don't get any error messages. Sometimes the flows run smoothly and at a reasonable speed. But an hour later or the day after, the same flow (without any change) suddenly doesn't advance anymore. Some steps take several minutes before they are executed. And a few hours later, it's fine again. But sadly, more often it goes much too slow. Is this an experience you also have? I am now working with PAD under Microsoft 365 Business Premium. What could be the cause of the weak and unstable performance ?

    • @andersjensenorg
      @andersjensenorg  Рік тому

      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 9000+ 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): ua-cam.com/video/xWFz-S96XGo/v-deo.html Kind regards, Anders

  • @schpiele
    @schpiele Рік тому +2

    Is there a way to create new queue items from PAD?

    • @andersjensenorg
      @andersjensenorg  Рік тому +1

      Great question. No native actions yet, but we can API call a PA cloud flow and do it. Kind regards, Anders

    • @Oscar-kw6tw
      @Oscar-kw6tw 15 днів тому

      @@andersjensenorg Not true! They are just Dataverse records. You can create them as normal.

  • @johnmcmanus6719
    @johnmcmanus6719 6 днів тому

    If i wanted to share a flow to multiple people and there was a file path, how could that to accept their usernames?

  • @steve_aventura
    @steve_aventura 7 місяців тому +1

    In the log I suggest you include the loop index, where appropriate, in the comment field

    • @andersjensenorg
      @andersjensenorg  7 місяців тому

      Thanks a lot for the input, I think we can add a lot of things in the log. When we scale it and set everything up in Work Queues, then we won't use the loop anymore. Kind regards, Anders

  • @guillermocruzvega1716
    @guillermocruzvega1716 8 місяців тому

    How many actions per worflow is recommended in PAD? I mean which amount is considered too much for a unique flow or subflow?

    • @andersjensenorg
      @andersjensenorg  8 місяців тому +1

      Hmmm, I usually have around 10-15 at maximum and use many subflows. But there is no general rule 😊 Kind regards, Anders

  • @PraveenKumar-by2eu
    @PraveenKumar-by2eu 5 місяців тому +1

    Thanks Andres

    • @andersjensenorg
      @andersjensenorg  5 місяців тому

      My plaesure 🥷😎🫡 Kind regards, Anders

  • @baliflorent6971
    @baliflorent6971 Рік тому

    Thanks. Please Sir, on the WordPress site which plugin do you use to build the form and the table ?

    • @andersjensenorg
      @andersjensenorg  Рік тому

      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 8000+ 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): ua-cam.com/video/xWFz-S96XGo/v-deo.html Kind regards, Anders

    • @baliflorent6971
      @baliflorent6971 Рік тому

      @@andersjensenorg ok Sir

  • @e3bode
    @e3bode Рік тому +1

    Dear Anders, I would like to express my deep appreciation to you because of your interruptions.
    Everyone in my company has come to think that I am a great programmer. Thanks a lot for your wonderful explanation.
    I would like to ask a question.
    When you are creating (FOR EACH) action you put a set variable before it, that is clear for me.
    Then you put another (set variable +1) action before end, why not use the (increase variable) action instead of (set variable +1) action what is the difference.

    • @andersjensenorg
      @andersjensenorg  Рік тому +1

      Thanks x 1000. They do the exact same thing, I'm just in love with the Set variable, but you can use Increase variable just as good 🙂 Have a great day. Kind regards, Anders

  • @hoheshaus2097
    @hoheshaus2097 11 місяців тому

    Is it possible that you do a tutorial that shows how Power Automate Desktop is communicating with files on a sharepoint? It seems that I need to know how JSON works. I'm really struggling with the syntax and the key values

    • @andersjensenorg
      @andersjensenorg  11 місяців тому

      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): ua-cam.com/video/xWFz-S96XGo/v-deo.html Kind regards, Anders

  • @sardhashakti
    @sardhashakti Рік тому

    Hi Anders, How to remove duplicate entries from excel file after launch excel from a path. I am using VBscript for this. 1:- Set objExcel=GetObject("Excel.Application")
    2:- Set object=pnjabi.worksheets(1)
    3:- objExcel.Visible=true
    4:-objSht.UsedRange.RemoveDuplicates 1,1
    The duplicate entries are in column A only and this is the script I have used but not getting output

    • @madslarsen6355
      @madslarsen6355 Рік тому

      I basically just click the column, click data and then remove duplicates button, might not be pretty but gets the job done

    • @andersjensenorg
      @andersjensenorg  Рік тому

      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 8000+ 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): ua-cam.com/video/xWFz-S96XGo/v-deo.html Kind regards, Anders

  • @edsonramosramos2648
    @edsonramosramos2648 5 місяців тому

    Seria legal se mostrasse o nome da música qnd estivesse tocando.

  • @antisony2008
    @antisony2008 Рік тому

    The power CAT team has published a great tool called the automation kit, for (among other things) visualizing and analyzing logs.
    Why would you recommend handling logs as csv in the local machine instead of using power automate's built-in cloud-based logging system.

    • @andersjensenorg
      @andersjensenorg  Рік тому

      Most Power Automate Desktop/RPA professionals don't use Power BI, Power Apps etc. CSV logs are more accessible and not expensive like the solution you mentioned 😊 Kind regards, Anders

  • @jedgeorge3485
    @jedgeorge3485 4 місяці тому

    Why .csv and not .txt for log files?

    • @andersjensenorg
      @andersjensenorg  Місяць тому

      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 14,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): ua-cam.com/video/xWFz-S96XGo/v-deo.html Kind regards, Anders

  • @shishirjakhmola5104
    @shishirjakhmola5104 Рік тому

    Many thanks for creating this video.
    I have a humble request, please speak a little louder in your videos.
    Thanks again.

    • @andersjensenorg
      @andersjensenorg  Рік тому

      Hey my friend, thanks a lot for the nice feedback. I will implement it from the next videos. Kind regards, Anders

  • @steve_aventura
    @steve_aventura 7 місяців тому

    One issue that I see is that you are putting line numbers in the status messages but these will be outdated if code is added or removed

    • @andersjensenorg
      @andersjensenorg  7 місяців тому

      Yes, that's unfortunately where you need to manually update the flow 😀 Kind regards, Anders