cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kzaidi
Helper I
Helper I

Flow doesnt get List Attachments

Hi all,

I am having a weird issue where my flow is working absolutely fine in another tenant but not in main(default) tenant. 

The flow picks up the attachment file present in a SharePoint, submitted by the user from a power app and saves it into a folder on the same SharePoint site where the list resides. 

The problem is: "Get attachment content" block gets "null". It does create the file with the same name as the attachment but there is nothing in the file that is, it doesn't export contents of the file. Any idea/suggestion on what could be wrong here. This exact same flow is working in out test tenant 😕

ss1.pngss2.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @kzaidi :

  I noticed that ‘Get attachment content’ has enabled the 'static result' function.The point is enabling static results on an action doesn't run the action, but returns the mock data instead.

  So,I advice you to turn off the static result function:

1.JPG2.JPG

Best Regards,

Bof

 

View solution in original post

1 REPLY 1
v-bofeng-msft
Community Support
Community Support

Hi @kzaidi :

  I noticed that ‘Get attachment content’ has enabled the 'static result' function.The point is enabling static results on an action doesn't run the action, but returns the mock data instead.

  So,I advice you to turn off the static result function:

1.JPG2.JPG

Best Regards,

Bof

 

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,385)