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.
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.
Yes I am! What's the difference between using the concat command and join though? Also, thanks for the advice!
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')
),
','
)
Hi @KojoBeef69
Are you trying to put all compose outputs together? Then use concat() expression.
Thanks
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1