#LogicApps – Let’s create our first Logic App in #Azure

Hello!

In today’s post I will continue to explain some of the cool Logic Apps features. The first thing to keep in mind is that a Logic App is specific type of Azure App Service. To this day, supported types are

  • Web App
  • Web App for Containers
  • Functions App
  • API App
  • Logic App

I1

As with Microsoft Flow, we have the chance to use a visual designer to create our processes. In this case, and to keep the post simple, I will use the template that is created by default: Ping Site

I2.jpg

Important: In the free and trial mode of Logic Apps, they are created with a 60-minute lifespan. Which gives us more than enough time to understand how they work.

I3

Once we have created our Logic App, we can work with it from the Azure portal. As with Microsoft Flow we have the ability to use a visual designer to create and define the execution process of the Logic App. As we can see in the following image, the example process starts with a trigger that every 1 hour will execute a Ping to a specific url

I4

One of the advantages of working with Logic Apps is that we can work also with the “source code” of the Logic App. Here we do not expect to see lines and lines of C # or JavaScript, but rather we can see a JSON definition with the process that defines the Logic App

I5

Obviously this is the time to get dirty and update some of the coding behind the Logic App. And as it could not be otherwise, we have a SAVE button to save our changes

I6

I have not yet talked about how to integrate our changes with a Git repository or with TFS. However, as an Out of the Box feature, every time we record a change in our process, a version of it is generated in Azure.

I7

When we open a specific version version history, we will have the ability to promote it as a “current version” in case we decide to use that version. At all times, we can see the process in Designer mode or Code View mode.

I8

And of course, if you are a “break it all” like me, chances are that in some change you have gotten a Big Bug. In the Logic App overview it is possible to analyze the log execution history, and how the triggers have been launched

I9

Finally, we can review the step-by-step execution of a process. Analyze what action has failed and even relaunch the process with the information specific to that version.

I10

As part of the explanation of differences with MS Flow, I think these steps imply that Logic App plays in a higher category. In the next posts, I will continue to explain the characteristics of Logic Apps.

Happy Coding!

Greetings @ Toronto

El Bruno

References

My posts on Logic Apps

My posts on Flow

 

2 comments

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.