There might be a scenario where you want to filter out your
event trigger based on some condition. I am going to take simple scenario and
also using our existing logic app that I created in last blog.
Scenario:
When you have multiple blob storage but want to
trigger an event only from one container. This won’t impact any other
container.
Open the existing logic app “event-based-logic-app” created
in last blog.
Click on “Add new parameter” and choose “prefix filter”
Provide “/blobServices/default/containers/<container_name>/blobs”
parameter
Save your logic app and try uploading a file in “toprocess”
container. You can see the logic app has been triggered but if you upload file
in any other container, it won’t trigger.
No comments:
Post a Comment