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 / Help wit Compose expre...
Power Automate
Unanswered

Help wit Compose expression

(0) ShareShare
ReportReport
Posted on by

I would like to take this compose action below and change it from [ "email1", "email2"] to email1; email2. Please help! 

 

PDT2017_0-1650393890582.png

 

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

    Hi @PDT2017 

     

    Use replace() expression to remove the other characters.

  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @PDT2017 

     

    Here is the expression

     

    replace(replace(replace(string(outputs('Compose')),'[',''),']',''),'"','')
     
     
    If you need to convert that comma to semi-colon then use the below expression
     
    replace(replace(replace(replace(string(outputs('Compose')),'[',''),']',''),'"',''),',',';')
  • PDT2017 Profile Picture
    on at

    Thanks! I would use the split() function to turn it into an Array, is that correct?

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @PDT2017 

     

    I got a better one for you try the below

     

    join(outputs('Compose'),';')
  • PDT2017 Profile Picture
    on at

    Thank you! That worked great. 

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard