web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Using Join for Multipl...
Power Automate
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

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @KojoBeef69 

     

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

     

    Thanks

  • PS-30010120-0 Profile Picture
    Microsoft Employee on at
    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') 

              ),

              ','

     )

  • KojoBeef69 Profile Picture
    2 on at

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

  • Verified answer
    PS-30010120-0 Profile Picture
    Microsoft Employee on at

    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard