Azure Logic Apps Control Actions Tutorial | Loops, Conditions, Parallel Runs

  Рет қаралды 55,974

Adam Marczak - Azure for Everyone

Adam Marczak - Azure for Everyone

Күн бұрын

Пікірлер
@noealves8400
@noealves8400 4 жыл бұрын
Hey Adam, one of the things I love the most about your video is that you create all logic aps from scratch every time! and you also show step by step every time. This allow us to learn by repetition! Very good method. I can't wait to see the new videos you'll be creating!
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
I appreciate that!
@sachinborkar416
@sachinborkar416 4 жыл бұрын
Thanks Adam for step by step demo. You really make it easy to understand.
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
My pleasure!
@meenakshisudhakarok2112
@meenakshisudhakarok2112 4 жыл бұрын
I am just starting with Logic Appa, and this is really helping me. Thank you so much !
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Great to hear!
@chandra4996
@chandra4996 3 жыл бұрын
I am starting with logic apps it is really amazing, thank you so much
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Best of luck! Glad to help!
@salehalsherif5881
@salehalsherif5881 3 жыл бұрын
Cool videos with clear short explanations Keep it UP
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Thanks! 👍
@GiovanniOrlandoi7
@GiovanniOrlandoi7 3 жыл бұрын
Great video Adam!
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Thanks!
@amitgarg2313
@amitgarg2313 4 жыл бұрын
Excellent Video Adam
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Many thanks!
@vipin0114
@vipin0114 3 жыл бұрын
Very well explained and really helpful to understand the concept 🙏
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Glad to hear that!
@arulmouzhiezhilarasan8518
@arulmouzhiezhilarasan8518 4 жыл бұрын
Thanks Adam! Your valuable explanations with step by step demo, really makes us much more easy to understand and working with Azure. I have tried each things that you have explained in this video practically and it really helped me to thing in many ways for problem solving in Azure.
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Glad it was helpful! Tahnks!
@vinothrajendran858
@vinothrajendran858 3 жыл бұрын
Covered the important concepts. Thank you :)
@sibymathew1802
@sibymathew1802 4 жыл бұрын
Hi Adam, 4 clarifications : - In parallel executions, would there be a race condition when trying to delete a blob and use the same entity variable to create a log in parallel ? Would there be any benefit in assigning these values to a variable before using it in parallel ? - You had copy/pasted guid() directly into the field at 11:41 . I think this will not work if its not added to the "Expression". Am i right ? - In the "Until" control there is an option: "Count" within settings. By default this value is 60 and should be increased if our loop goes beyond that. - I suppose "Scope" would not be transactional, in the sense reverting any change if an entity has failed within ? Thanks again for your wonderful videos..
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Variables are globally scoped so you shouldn't use them in parallel or in parallel loops. If you need local variables use 'compose or parse json' actions or simply call separate logic apps in parallel. Expressions that are pasted directly into the field must be properly formatted. As an excersise copy guid() expression from a field and paste it into notepad, you will see that text was escaped via expression brackets like so @{guid()}. Count in until i maximum amount of loops to ensure you won't do infinite loops by mistake. Scope is just like try/catch in a programming language. Scope is a try block.
@sibymathew1802
@sibymathew1802 4 жыл бұрын
@@AdamMarczakYT Thanks for the clarification.. so you mean even though you pasted guid() inside the field it would work..?
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
I think this no longer works like that. You need to paste either "guid()" string into expression box or paste full escaped expression into the field "@{guid()}".
@sibymathew1802
@sibymathew1802 4 жыл бұрын
@@AdamMarczakYT okay that makes sense...thank you !
@DPJFAUG
@DPJFAUG 4 жыл бұрын
Great stuff Adam. Like the video
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Awesome! Cheers!
@aswathsivavaram7861
@aswathsivavaram7861 3 жыл бұрын
Thanks ...Adam ,,I like your videos and do more videos on .Net Microsoft tech's
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
More to come! Thanks!
@gauravjoshi5054
@gauravjoshi5054 4 жыл бұрын
thanks a lot for your valuable explanations. Respect your effort 👏
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
It's my pleasure, thanks!
@vijaykumar1306
@vijaykumar1306 5 жыл бұрын
Very nice scenarios and step-by-step explanations! Please try to upload more videos for more Azure PasS and SaaS services with same level of quality :)
@AdamMarczakYT
@AdamMarczakYT 5 жыл бұрын
Thanks Vijay, will do. Currently uploading at rate of 1 video per week. Every Monday, stay tuned for more :)
@vijaykumar1306
@vijaykumar1306 5 жыл бұрын
@@AdamMarczakYT Excellent, Adam. Thank you :)
@fun_facts168
@fun_facts168 4 ай бұрын
Hi Adam, I am trying to terminate my logic app flow inside for each condition but it is throwing an error of "The operation terminate cannot be used inside a for each" Any suggestions
@shailavijay1
@shailavijay1 3 жыл бұрын
Amazing Explanation & demo. Thank you so much. Could u please let me how to run batch of files from blob storage with single Logic App instance in one shot blob trigger
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Select "..." three dots on blob trigger in the logic app and disable spliton setting. This will run logic app in batches. Thank you.
@adityashrivastava860
@adityashrivastava860 4 жыл бұрын
What is guid() here and how is it different from other functions? Can anyone explain briefly?
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
It returns globally unique string. Check function reference for details: docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#guid
@adityashrivastava860
@adityashrivastava860 4 жыл бұрын
Thanks Adam!
@khushbugupta5849
@khushbugupta5849 4 жыл бұрын
Very well explained able to understand the concept very clear thanks for the uploading such videos
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Thanks :) nice to hear that.
@webdeveloperify
@webdeveloperify 5 жыл бұрын
Nice information. Thank you so much. Can I please ask how to import and export the logic app from one environment to another. Thanks in advance.
@AdamMarczakYT
@AdamMarczakYT 5 жыл бұрын
Hey there are many approaches to do this but one I like recently is using Jeff Hollan's extractor available here: github.com/jeffhollan/LogicAppTemplateCreator
@atimuktjain4471
@atimuktjain4471 5 жыл бұрын
Very Nicely Explained the concepts .....Thanks for the video.
@AdamMarczakYT
@AdamMarczakYT 5 жыл бұрын
Thanks! :)
@snehalgawari4258
@snehalgawari4258 4 жыл бұрын
Hi, I am struggling to create logic app, which is having http request and in request we need to decide whether to read request or write request
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
What kind of issue are you having?
@snehalgawari4258
@snehalgawari4258 4 жыл бұрын
@@AdamMarczakYT Hello Adam, thank you so much for reply, Request which we are going to make to http are : 1. Read from Db 2. Write to Db For now passing one element which checks json element RequestType, -Read or -write At payload I have passed json for write request So true part is getting executed At false part I am expecting to execute read json but as payload is different it is throwing bad request which is obvious .. Still finding out ways
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
You can supply JSON schema to HTTP request body so that RequestType is available in later steps as variable or use TriggerBody() expression and get RequestType from it. It would probably be something like TriggerBody()?['RequestType'] (typing from memory so might be incorrect). And then simply do condition on it. Best of luck!
@snehalgawari4258
@snehalgawari4258 4 жыл бұрын
@@AdamMarczakYT thank you so much, followed exactly same approach, it worked, appritiate your time👍
@pavankumars9313
@pavankumars9313 2 жыл бұрын
Hello you are doing great job thank you
@AdamMarczakYT
@AdamMarczakYT 2 жыл бұрын
Thank you too
@sindhukontham6993
@sindhukontham6993 2 жыл бұрын
Hey Adam, i have a doubt..when we wanna delete any blob in parallel or conditional execution, instead of list of file name why we are selecting list of file path? actually i tried with list of file name first and ended up failing. Wanna know the explanation behind it please.
@sudheerk3753
@sudheerk3753 2 жыл бұрын
Hi Adam, This is Sudheer. I need one help in logic app I want to create a logic app where there are multiple files in multiple folders how can I create a condition where it will go to find it in nested loop. If you don't mind can you please help me with this.
@harshit7577
@harshit7577 3 жыл бұрын
Hi Adam, I understood the concept, It is really helpful. I have another scenario that how one logic app performs multiple action one by one, how to achieve it? so for example LA first calls to Parsing Azure function (that azure function can call another azure function ) and pass the result to LA and 2) step LA need to validate the data and if it is ok than 3) step need to store in blob so how to achieve this? your gaudiness? Thanks!
@techwithazam6992
@techwithazam6992 4 жыл бұрын
Great content Adam and very precise explanation! I have a use case in which I want to create a trigger on a collection of blobs created in a specific container, since generally even if we upload 3 files in a container, 3 triggers will be fired... i want to get one trigger fired, so that, in logic apps, I can read file names and addresses of all those files (let's suppose 3), and then to pass on these file names to data factory which reads these files and inserts in a database. Kindly let me know how such a multi-blob trigger can be created! Thanks
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Thanks. For batch processing simply click on the three dots "..." on the trigger and unselect spliton option. Once you do it trigger will return a list of blobs instead of one.
@techwithazam6992
@techwithazam6992 4 жыл бұрын
Many Thanks Adam!
@tipums123
@tipums123 3 жыл бұрын
Nice video Adam! Can I use "When a file is added or modified" to check multiple folders for a new file?
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Blob storage doesn't have folders. It's a flat hierarchy of files in a container. If your file name consists slashes like /demo/test/myfile.csv then demo and test will be displayed as folders but they are not folders, just virtual ones. So setting when file is added or modified then it will work for all files and virtual folders in the container. Thanks for watching :)
@tipums123
@tipums123 3 жыл бұрын
Thanks Adam!
@KrishnaList
@KrishnaList 4 жыл бұрын
Adam Could you create Integrated Account video Series
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
I might do this in future ;)
@ritikgarg1398
@ritikgarg1398 3 жыл бұрын
Great great stuff!
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Thank you!
@siddhantsingh275
@siddhantsingh275 3 жыл бұрын
Hey Adam, you uploaded an image file and a zip file (2 files) in the condition demo. Why did it only pick up the image file?
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
Watch the entire video, it's been explained :) or point me to video time mark where you see the issue
@Tharun459
@Tharun459 4 жыл бұрын
Good stuff Adam, if we want to implement execution of pipelines in logic apps.. can you share a quick demo on it if possible.. Curious to know how could we implement error logging mechanism of ADF using logic apps.. Thanks in advance.
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Thanks! Feel free to check my ADF trigger video which shows execution of ADF pipeliens from logic apps.
@ManuelrPM24
@ManuelrPM24 3 жыл бұрын
Excellent video, keep up with the outstanding work! I'm having an issue when I click on Go to Resource, the error is Microsoft.WindowsAzure.Storage: Value cannot be null. (Parameter 'connectionString'). any thoughts?
@mohanreddygottam9535
@mohanreddygottam9535 4 жыл бұрын
The video is very good and helpful. Thank You Are multiple conditions possible in Switch? I mean, while using switch how we can provide multiple conditions ( Ex: A=B or A=C and A=D)
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Thanks! Try doing parallel branches and checking in the branch for conditions. Switch always chooses only 1 path, not multiple ones. It works like that in all programming languages too.
@Praveenkumar-zn5wi
@Praveenkumar-zn5wi 4 жыл бұрын
Well explained. Can you please make a video on consuming rest api with dynamic parameters...
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Thank you. I will definitely do more videos on Logic Apps, in fact since this is my favorite service in Azure I've got some cool episodes in plans.
@Praveenkumar-zn5wi
@Praveenkumar-zn5wi 4 жыл бұрын
@@AdamMarczakYT Thanks.. Also can we trigger Data Factory pipe line from Logic app?
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
@@Praveenkumar-zn5wi Yes you can :) Check my video on Data Factory triggers, it shows demo how to trigger data factory from Logic Apps. kzbin.info/www/bejne/q3eWfYJ5i6t7odk
@jagkoth
@jagkoth 4 жыл бұрын
I like the fast forw session. please do the same so that u can cover more on each services.
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Thanks :)
@jagkoth
@jagkoth 4 жыл бұрын
@@AdamMarczakYT an video for azure service bus ?
@rajun1635
@rajun1635 3 жыл бұрын
Thanks Adam, amazing video. I am looking for a way to email failed logins reports from azure active directory(Sign in logs) automatically. Is there a way to accomplish this using logic apps or logic analytics? Thanks,
@gopinathrajee
@gopinathrajee 4 жыл бұрын
Just so that others are also aware. The Logic App UI is not good at simple error checking. The different emails allowed are Office365 and Outlook. Outlook here means either outlook.com or hotmail.com. I was testing with my hotmail id and later had to switch to gmail to play with send and recieve ids. It took me quite sometime to figure out the app is not working because I had my gmail account. The app even did not error when I added the gmail account and when it executed. I spent several hours troubleshooting only to realize my silly mistake!!
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Yea! A common mistake indeed :) I think this one was returning unauthorized issue which indeed is a not so well descriptive. Thanks for sharing your case with others here ;)
@gopinathrajee
@gopinathrajee 4 жыл бұрын
@@AdamMarczakYT From the Output, how do we capture various parts of it into variables that can be further used in the next step? The next step is a an Email Action step that would send out emails mentioning that it connection succeeded or failed. If it succeeds, in the output portion of the window, I get a status code of 200 along with a some json string in the Body section. Is there a way to capture these two and use them in the email step?
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
To parse outputs into variables use Parse JSON action or initialize variable action, parse json is more suited to your scenario. To build your own objects (complex types) use compose action.
@believeinyourself4266
@believeinyourself4266 4 жыл бұрын
well explained
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
thanks!
@joyyoung3288
@joyyoung3288 3 жыл бұрын
it is not working for latest trial version of azure, the table blob is not good.
@AdamMarczakYT
@AdamMarczakYT 3 жыл бұрын
This tutorial is still valid, there is a new User Interface in logic apps but they still work in the same manner.
@user-eg1ss7im6q
@user-eg1ss7im6q 3 жыл бұрын
you are right, my mistake, it actually works. thanks!
@satyateja688
@satyateja688 4 жыл бұрын
Adam, very well explained. I have scenarios like multiple approval processes using logic apps. I have 2 approvers everyone should approve. if anyone has rejected, the request got rejected. I have been tried for single approval it is working fine. could you give me some inputs for the multi approval process?
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Logic App approval flows are very simplistic. You need to built that logic yourself. I probably would use parallel action block and send two approval emails. If they both complete then it's approved. If one of them is completed I'd check if it was rejected, in which case I'd finish the run earlier. It can be done.
@gopinathrajee
@gopinathrajee 4 жыл бұрын
Adam, from my personal account, can I create App Registration and use it in Azure Logic Apps to communicate with Azure Analysis Service. Or do I have to have a tenant of my own?
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
You don't need to have your own tenant. Just go to the AD and create the app. I have article on this feel free to check it out marczak.io/posts/2019/06/logic-apps-refresh-analysis-services/
@vaasu
@vaasu 4 жыл бұрын
Adam, Awesome presentation on Logic Apps. Can we call SaaS Rest API's through Logic Apps and what all the steps we should create if you want to extract data from Rest API to blob storage? Thanks in Advance!
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Hey. You can start with schedule based logic app and use HTTP request block to query rest api and download data. Saving to blob is fairly easy from that point onward :)/
@vaasu
@vaasu 4 жыл бұрын
@@AdamMarczakYT Thanks Adam! What is the best approach to call from external SaaS REST API to Azure SQL DB - for exraction through ADF or Logic Apps which is more reliable if we need real time streaming from API's to Azure SQL Database?
@amritarora8897
@amritarora8897 4 жыл бұрын
You are Genius ! Thank you
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
😁 i'm not but thanks
@mallinyku
@mallinyku 4 жыл бұрын
excellent
@AdamMarczakYT
@AdamMarczakYT 4 жыл бұрын
Thank you! Cheers!
@nimsayunab
@nimsayunab 5 жыл бұрын
Good. Thanks a lot
@AdamMarczakYT
@AdamMarczakYT 5 жыл бұрын
Thanks :)
Azure Logic Apps Tutorial
26:14
Adam Marczak - Azure for Everyone
Рет қаралды 338 М.
Azure Function Apps Tutorial | Introduction for serverless programming
29:19
Adam Marczak - Azure for Everyone
Рет қаралды 337 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Azure Logic Apps connect to Firewall Protected Blob Storage
26:12
Adam Marczak - Azure for Everyone
Рет қаралды 21 М.
Managed Identities with Azure AD (Active Directory) Tutorial
31:54
Adam Marczak - Azure for Everyone
Рет қаралды 150 М.
Azure Logic Apps and API management
43:01
Microsoft Tech Summit
Рет қаралды 40 М.
Logic Apps for Everyone - A complete guide for anyone!
50:37
John Savill's Technical Training
Рет қаралды 49 М.
Azure Data Factory Parametrization Tutorial
22:07
Adam Marczak - Azure for Everyone
Рет қаралды 181 М.
Azure Cosmos DB Tutorial | Globally distributed NoSQL database
31:17
Adam Marczak - Azure for Everyone
Рет қаралды 228 М.
Azure Data Factory Custom Email Notifications Tutorial
29:22
Adam Marczak - Azure for Everyone
Рет қаралды 88 М.
01. Introduction to Azure Logic Apps
21:04
Our Cloud School
Рет қаралды 40 М.
Azure App Service (Web Apps) Tutorial
20:08
Adam Marczak - Azure for Everyone
Рет қаралды 360 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН