cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Flow case switch fails to create file

I have a flow that uses a case to direct attachments to specific SharePoint folders based on the Subject line as follows:

 

clip1.PNGclip3.PNG

 

The problem is in the create file event as follows:

 

error.PNG

 

Needless to say, I am completely lost.  I have this same script running in the same way.  The only difference is the lack of a case statement to direct the files.  In the single folder flow, it checks where the email came from, and then proceeds to extract the attachements and file them in the SharePoint folder.   

 

Any assistance is greatly appreciated.

1 REPLY 1
Dual Super User II
Dual Super User II

@JoelLehr 

 

Try wrapping the attachment content with the expression

 

base64(dynamiccontentattachmentcontent)

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

 

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 Solution Authors
Users online (9,537)