Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Error in flow

(1) ShareShare
ReportReport
Posted on by 69
Hello Everyone,

I created a Automate flow and used switch action.  I saw branching error in my create file action where I want to concatenate these values.

Mysterious_0-1720429677117.png

 

Mysterious_1-1720429677092.png

Does anybody have a clue what I have to do here?

  • Mysterious Profile Picture
    69 on at
    Re: Error in flow

    Screenshot 2024-07-09 101043.png

     This is the expression I have used in the file content field 

      base64ToBinary(item()?['contentBytes'])
    Thank you!
  • Expiscornovus Profile Picture
    32,047 Most Valuable Professional on at
    Re: Error in flow

    Hi @Mysterious,

     

    What are you using in the File Content field? Can you share that expression as well?

     

    For the File Name field you don't have to use the formatdatetime function. You can also use only the utcNow, that accepts a format as well.

     

    Below is an example

     

    File Name

    concat('Import Compliance Detail - #ITSM1308398 ', utcNow('yyyy-MM-dd'), '.xlsx')

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics

Restore a deleted flow