0

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?

enter image description here

Mostafa Bouzari
  • 9,207
  • 3
  • 16
  • 26

2 Answers2

0

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 :

enter image description here

Then uploaded a blob like below:

enter image description here

Output:

enter image description here

enter image description here

EDIT: I too Uploaded into SubFolder:

enter image description here

Then in Ouput Subfolder:

enter image description here

RithwikBojja
  • 5,069
  • 2
  • 3
  • 7
  • i'm uplaoding to a sub folder that's why i have output there. i just want to trigger when a blob is uploaded in the Output container. i used it like this Containername/{name} – Mostafa Bouzari Aug 15 '22 at 12:46
  • I edited my answer, Can you please look into that. – RithwikBojja Aug 15 '22 at 12:54
  • that works but the problem is, as i said in the Question, there are 2 container and i want to trigger ONLY when filles were uplaoded in output (the other one is input). with your approach it will get trigger when the files get's uplaoded in my input container – Mostafa Bouzari Aug 15 '22 at 13:10
0

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:

enter image description 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/
Mostafa Bouzari
  • 9,207
  • 3
  • 16
  • 26