Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Logic app blob trigger not fired on subfolder

I am referring to this feedback:

Azure Storage Blob Trigger to fire when files added in Sub Folders

I have a Azure Logic App that is fired every time a blob is added in a container. This works fine when all the documents are at the root of the container.

Azure Logic App - Blob Trigger

Inside my container, I have a dynamic number of (virtual) sub-folders. When I add a new document in a subfolder (path = mysubfolder/mynewdocument.txt), the logic app is not triggered.

This does not really make sense for me as sub-folders in the blob container are virtual. Does anyone find a workaround except putting all the files at the root level ?

I've opened an issue on Github:

https://github.com/Azure/logicapps/issues/20

like image 408
Thomas Avatar asked Mar 17 '18 09:03

Thomas


Video Answer


2 Answers

This is the expected behavior. None of the Logic App Triggers that work with 'files' support subfolders.

This has been the case with BizTalk Server as well since 2000 so I would not expect a change anytime soon :(.

Please create or vote on a User Voice for this issue: User Voice - Logic Apps

like image 123
Johns-305 Avatar answered Sep 22 '22 19:09

Johns-305


This does not really make sense for me as sub-folders in the blob container are virtual. Does anyone find a workaround except putting all the files at the root level ?

I also can reproduce it on my side. I recommend that you could use the Azure function app blob trigger to instead of Azure Logic App blob trigger. Azure blob trigger function could be fired when you add a new document in a subfolder(virtual).

like image 22
Tom Sun - MSFT Avatar answered Sep 21 '22 19:09

Tom Sun - MSFT