cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JoelLehr
Level: Power Up

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
Dual Super User

Re: Flow case switch fails to create file

@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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,346)