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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Append outputs with a ...
Power Automate
Unanswered

Append outputs with a comma

(0) ShareShare
ReportReport
Posted on by 73

All,

 

I have this "eventid" output in an apply to each loop. I would like to combine all the event ID's and separate them with a comma.

For example: If my flow ran 4 apply to each loops my new output would show this 

PowerAppsUser99_0-1679193146708.png

 

169652;34664;23223;45454

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @PowerAppsUser99 

     

    You can use join function to join elements with delimiter. 

     

    to use join you should have elements in array

     

    So in apply for each, you can add each element to an array using append array action 

    Nived_Nambiar_0-1679199508556.png

     

     

    and outside the loop, use join  action 

     

    see the output of join action when i used ; to join elements of array ['A','B','C']

     

    Nived_Nambiar_1-1679199605943.png

     

     

    Hope this helps you !

     

  • grantjenkins Profile Picture
    11,063 Moderator on at

    Not related to joining the values as such - is there a reason you are using multiple Apply to each loops to get the Event IDs? Maybe you can change this to use a Select that extracts the Event IDs, then use a Join expression on the Select.

  • PowerAppsUser99 Profile Picture
    73 on at

    I tried appending to my string variable and I am seeing this error.

     

    PowerAppsUser99_0-1679235304081.png


    Append to string variable: outputs('HTTP_Body.1')

    HTTP Join: 

    join(variables('Summary'),',')


     This is the error 
    PowerAppsUser99_2-1679235446058.png

     


     

  • grantjenkins Profile Picture
    11,063 Moderator on at

    As per your other post... Assuming you want to split your string on space, then join each word with a comma.

     

    join(split(variables('Summary'), ' '), ',')

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard