0
votes

I'm new to Logic Apps and i have some basic questions. I created the below workflow (1 Trigger + 2 Actions) Where:

1) Reading for any new messages in Azure Service Bus Topic.

2) Then Load the data to Azure Data Lake respective Folders.

enter image description here

With regard to this i have some queries:

  • In ADLS i'm creating folder like [Subject Area]\YYYY\MM\DD. So from a design perspective is there a way to skip the second step (ADLS Create Folder) or the workflow will ignore if the target folder exists.

  • If i have 4 different Subject Areas then do i need to create 4
    instances of Logic Apps.

  • With respect to Function App and Azure Logic Apps which is more
    economical. And how do i scale and Monitor my logic App execution.

1

1 Answers

0
votes

You can insert conditional steps in Logic Apps, so you could test if the target folder already exists.

What do you mean by "Subject Area"? If you want to write to different locations, then you can add a step for each one in the same Logic App.

Personally, I find Logic Apps easy to set up and get something going, like you did already. I find it harder to maintain later on. If the workflow gets more complicated and changes once in a while, I prefer to code everything up in a Function App and put it in version control. That gives me more control. I'd say if your flow becomes hard to manage in Logic Apps, consider using Function Apps. You can also mix: Function Apps can be a step within a Logic App.