简体   繁体   中英

logic app 'When a resource event occurs' won't trigger

I have a blob storage that has 2 Containers called input and output. when a file gets uploaded to input then a Function app (Blobtrigger) would work on it and save the result in output folder. right now i need to trigger a workflow in Azure logic app. i didn't created any event grid outside of this workflow and now i'm trying to trigger it when a file get's uploaded (Created) in the output container. However my app won't trigger. what should i do?

在此处输入图像描述

I have reproduced in my environment and triggered an event when blob get uploaded and it got triggered:

Please find the below approach to fix your issue:

在此处输入图像描述

Then uploaded a blob like below:

在此处输入图像描述

Output:

在此处输入图像描述

在此处输入图像描述

EDIT: I too Uploaded into SubFolder:

在此处输入图像描述

Then in Ouput Subfolder:

在此处输入图像描述

i solved it. Make sure your Storage Account is Version 2.(it's really important check it)

mine was V1 so i had to change it here:

在此处输入图像描述

use this as a filter for your specific Container. (for more Info Check Microsoft Docs )

/blobServices/default/containers/MyContainer/

in my Case it would be:

/blobServices/default/containers/output/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM