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

sensei 41 Reputation points
2021-09-10T20:44:56.223+00:00

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.
2,427 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,839 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
312 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 68,471 Reputation points
    2021-09-13T07:26:48.88+00:00

    @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