cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Prodigy
Post Prodigy

When file is created in folder Trigger issue

Hi All

I'm having an issue with my flow which is working fine right upto 'When file is created in folder trigger which i have had running in my flow for over an hour!

Here is my flow

Capture11.JPGCapture12.JPG

 

The left hand Send email has the outputted PDF file as an attachment using Sharepoint Filename/FileContent.

 

I have rebuilt it a few times but still have the same issue!

I have even put a Delay after Create File 2 but that doesn't help

 

Any Help appreciated

Gary

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User III
Dual Super User III

Triggers should be the first action in a Flow.  I don't think you can expect a trigger to work if you embed it in the middle of the Flow.  Either break this Flow into multiple Flows, one with When an Item is created and another when a file is created in a folder. Or you could do a Get File for the Create File 2 action to get the file once it is created.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Dual Super User III
Dual Super User III

Triggers should be the first action in a Flow.  I don't think you can expect a trigger to work if you embed it in the middle of the Flow.  Either break this Flow into multiple Flows, one with When an Item is created and another when a file is created in a folder. Or you could do a Get File for the Create File 2 action to get the file once it is created.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Post Prodigy
Post Prodigy

Hi All

As per usual this has resolved its self 😞

Sorry

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Kudoed Authors
Users online (7,032)