Video není dostupné.
Omlouváme se.

Power Automate - Extracting Values from JSON Array

Sdílet
Vložit
  • čas přidán 7. 08. 2024
  • In this video we will dive into to understanding what certain outputs look like inside of a Power Automate Flow. With this understanding we can then take advantage of the Parse JSON action to extract the information we are looking for that the standard dynamic content might not be able to locate for us. This can make working with complex datatype in Dataverse tables much easier!
    If you enjoy this video or any of my other videos and are interested in formal training on DAX, Power BI, Power Apps, Azure, or other Microsoft products you can use my code "Manuel20" to get an extra of 20% off at check out when purchasing our On-Demand Learning classes from pragmaticworks.com/pricing/​ #ManuelQuintana
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - -
    Next step on your journey:
    👉 On-Demand Learning Courses Free Trial: www.pragmaticworkstraining.co...
    🔗Pragmatic Works On-Demand Learning Packages: pragmaticworks.com/pricing/
    🔗Pragmatic Works Boot Camps: pragmaticworks.com/boot-camps/
    🔗Pragmatic Works Hackathons: pragmaticworks.com/private-tr...
    🔗Pragmatic Works Virtual Mentoring: pragmaticworks.com/virtual-me...
    🔗Pragmatic Works Enterprise Private Training: pragmaticworks.com/private-tr...
    🔗Pragmatic Works Blog: blog.pragmaticworks.com/

    Let's connect:
    ✔️Twitter: / pragmaticworks
    ✔️Facebook: / pragmaticworks
    ✔️Instagram: / pragmatic.works
    ✔️LinkedIn: / pragmaticworks
    ✔️CZcams: / pragmaticworks
    Pragmatic Works
    7175 Hwy 17, Suite 2 Fleming Island, FL 32003
    Phone: (904) 413-1911
    Email: training@pragmaticworks.com

Komentáře • 37

  • @khaisevenseven4204
    @khaisevenseven4204 Před rokem

    Thank you so much. I've been struggling with understanding this and getting it to work. Your video has been the clearest explanation so far and helped me solve my problem. Thanks again!

  • @jasonthedogcatcher
    @jasonthedogcatcher Před rokem

    Thanks for making this video. You made a complex process (for a novice anyway) very simple. Keep up the great work.

  • @captainawesomenz
    @captainawesomenz Před rokem

    wow thank you for this video. i was majorly stuck with a flow and filtering an array which despite all logic it kept telling me it was an object, not an array.
    The general knowledge in this video helped me along but when i saw you create an array variable it all fell into place and i solved my issue!

  • @luizzzgt
    @luizzzgt Před 2 lety +1

    awesome content, thanks for the simplicity and for making it so easy

  • @moelmakrani7116
    @moelmakrani7116 Před 4 měsíci

    Man, this is exactly what I needed to to solve my problem. You rock! Thanks.

  • @WalterWhite-qc4sd
    @WalterWhite-qc4sd Před 2 lety

    Thanks, very straight-forward and explained in a thorough way.

  • @yongpeowlim5049
    @yongpeowlim5049 Před 2 lety

    Your video has helped me through where I am stuck for days!
    Thank you!

  • @javierlujan7118
    @javierlujan7118 Před 3 lety

    Thank you body! your parse part has helped me wherre I was stuck and spending hours on it!

  • @mansimalik8826
    @mansimalik8826 Před 9 měsíci

    Great great video!!! This really helped.

  • @jasonblais1667
    @jasonblais1667 Před 10 měsíci

    you saved me! Thank you! Great explanation!

  • @renatorfl
    @renatorfl Před rokem

    Thx for the video man. It helped me a lot.

  • @richardvr7866
    @richardvr7866 Před rokem +1

    This works perfetcly. Thank you so much. Great video!!!

  • @MohammadAli-ts2ev
    @MohammadAli-ts2ev Před 2 lety +2

    Thank you for the informative video.
    In Power automate/Flow, how can we set the value of cell A2 (of Excel Online for Business) to a variable?

  • @ahmedragab5755
    @ahmedragab5755 Před rokem +1

    that was sooooo helpful, thank you so much , god bless you

  • @amdaring
    @amdaring Před 3 měsíci

    you. are. a. lifesaver!!! thank you!

  • @TroyGerber
    @TroyGerber Před 2 lety

    Saved me hours. Thank you

  • @husalkahli
    @husalkahli Před rokem +1

    Thanks a lot man, this is life saving

  • @vinayayinapurapu
    @vinayayinapurapu Před 3 lety

    nailed it and spot on..

  • @tamboleo
    @tamboleo Před 2 lety

    Really well explained and really well done, thank you very much to you sire. ;P

  • @reyeslopezerick
    @reyeslopezerick Před 2 lety

    Es justo lo que necesito!

  • @sandipansarkar9211
    @sandipansarkar9211 Před 10 měsíci

    finishjed watching

  • @excitedsolutions1255
    @excitedsolutions1255 Před 3 lety +1

    Great video. Do you have any examples that show how to deal with the result of the “execute a query” sql connector? I know the result is formatted in JSON, but I think there’s also a situation where the entire result is “Table1”. I haven’t found any videos that talk about this.

    • @manuelquintana2225
      @manuelquintana2225 Před 3 lety +2

      Hello! I am glad you enjoyed the video. The exciting thing is that you can use this same method even when using things like Get Rows V2 or the Execute a SQL query V2. The main thing is how you setup the Parse JSON action. Specifically the "Execute a SQL query (V2) will output three objects that will show up in the dynamic content: Query Results, ResultSets, and ResultSets Table1. I have listed this not in the order they appear in the action but in the order of scope. The higher the scope the more nested arrays and this will require the use of the "Apply to Each" control for the array you want to extract data from. I would recommend looking at the output from the "ResultSets Table1" and using this payload for the "Genarate from sample" option in the Parse JSON action. From there you should get the same capability that I am showing in this video. There is still a possibility that the output will have an array but the beautiful thing is that Power Automate will automatically create the "Apply to Each" control for you and you can still use the dynamic content from the Parse JSON as you please! I just tested this using the Execute a SQL Query (V2) using the ResultSets Output which would guarantee that i would encounter and array and everything worked perfectly! Now it should be noted that if you are getting back some rows and then you want to use only one of the rows from the returned array, things can get a bit tricky there but normally you should be able to find a way to filter your sql query to get back exactly what you need. I hope this helps!

    • @excitedsolutions1255
      @excitedsolutions1255 Před 3 lety

      @@manuelquintana2225 thanks a lot Manuel. I was able to step through as you stated and was able to get the resulting values to use in another step after the query. Thanks again!

  • @youdagoob
    @youdagoob Před rokem

    Thank you for this excellent video. Unfortunately, this doesn't seem to be a possible solution to grab specific data from custom form fields in Microsoft Bookings. Microsoft lumps any and all custom form fields from Bookings into one JSON array called "CustomQuestionAnswers". How do I further parse "CustomQuestionAnswers" from Bookings as individual data points?

  • @ravitejaayyagari9151
    @ravitejaayyagari9151 Před 2 lety

    Hi can you please tell me how to get 'Yes' value also , and how to store that 'yes' value in variable in above vedio

  • @erinfield1943
    @erinfield1943 Před rokem

    2:35- I don't have that Output Body code. I'm in Power BI, in the "Select" connector, and all it gives me for Body output is "[ ]". How do I get the code I need for 5:14?

  • @youngyingyang
    @youngyingyang Před rokem

    I still don't understand why Microsoft is NOT returning labels from Dataverse automatically like it used to with the original D365 Actions and Dataverse Action (Gray ones)... very, VERY stupid.

  • @BG-qi5hs
    @BG-qi5hs Před 9 měsíci

    That’s not an array… that’s an object