Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Using Join for Multiple Compose Statements

(0) ShareShare
ReportReport
Posted on by 2

Hello,

 

I'm trying to join 5 compose statements delineated by '-' between each one. For some reason I can't get them to go though.

I've tried all of the following but none have worked.

 

 join('Compose_2', 'Compose_3', 'Compose_4', 'Compose_5', 'Compose_6')

 join(outputs('Compose_2', 'Compose_3', 'Compose_4', 'Compose_5', 'Compose_6'))

 join(outputs('Compose_2')outputs('Compose_3')outputs('Compose_4')outputs('Compose_5')outputs('Compose_6') <-- I knew this wouldn't work, but at this point I'm just trying anything.

 Screenshot 2020-09-25 145136.jpg

  • Verified answer
    PS-30010120-0 Profile Picture
    Microsoft Employee on at
    Re: Using Join for Multiple Compose Statements

    Please bookmark this link you will need it.

    https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference

    I copied from the above link 🙂

    concat Combine two or more strings, and return the combined string.

    join Return a string that has all the items from an array, separated by the specified character.

  • KojoBeef69 Profile Picture
    2 on at
    Re: Using Join for Multiple Compose Statements

    Yes I am! What's the difference between using the concat command and join though? Also, thanks for the advice!

  • PS-30010120-0 Profile Picture
    Microsoft Employee on at
    Re: Using Join for Multiple Compose Statements
    Example:
    
    join(createArray('Apple', 'Orange', 'Pear'),',')
    
    will return 
    
    'Apple,Orange,Pear'

    If you look at the above example and follow your question you can try the following and it should work. 

    join( createArray(

                 outputs('Compose_2'),

                 outputs('Compose_3'),

                 outputs('Compose_4'),

                 outputs('Compose_5'),

                 outputs('Compose_6') 

              ),

              ','

     )

  • abm abm Profile Picture
    32,506 Most Valuable Professional on at
    Re: Using Join for Multiple Compose Statements

    Hi @KojoBeef69 

     

    Are you trying to put all compose outputs together? Then use concat() expression.

     

    Thanks

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