Can I terminate Logic app trigger when one of the resource event trigger occurs?

sensei 41 Reputation points

Here is my logic app with 2 resource event triggers which have 2 different resource names respectively

Can I terminate trigger in anyway when one of the trigger occurs? (According to this way , it is waiting for both of the resource events to occur and then moving to next steps)

or is there any way I can use one Logic app that can trigger on event type Microsoft.Storage.BlobCreated using 2 storage accounts?131186-capture.jpg @MayankBargali-MSFT

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1,688 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,114 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
223 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 54,456 Reputation points

    @sensei The suggestion would be having different workflow for individual storage account event grid trigger. You can only specifiy one resource on azure event grid trigger for logic app.
    In your workflow you are using recurrence trigger and adding parallel branch for When a resource event occurs. Your workflow will not be completed untill and unless both the branch executes/fails. I am not sure on whats the requirement why you want to use the recurrence trigger that keeps on waiting till the events (i.e. blob are uploaded on both storage account). There is no way to terminate one branch of your flow where you are waiting for the event to happen.

    0 comments No comments

0 additional answers

Sort by: Most helpful