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 / Getting a Label from a...
Power Automate
Unanswered

Getting a Label from a Power Apps Form into the body of an email in a Flow

(0) ShareShare
ReportReport
Posted on by 82

Hello!  I've found several threads that I can almost make work, but not quite.  I have a field with multi-select values.  In my Form, I created a Label and used the Concat expression to format the selected values in the multi-select (names) field: Concat(DataCardValue23.SelectedItems, Value & Char(10)).  (Note also tried this with a text input box)

 

I cannot figure out how to add the formatted contents of that label to the body of my email in my flow.  The other option is to add the multi-select field into the body of the email and format directly in my flow somehow.  Any guidance for this newbie would be appreciated!

 

Jukie_0-1715110044192.jpeg

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi  @Jukie , 

    I‘ve made a test for your reference:

    1\My flow

    vbofengmsft_0-1715134558282.png

    2\In Canvas app

    Bof0508.Run(1,Concat(DataCardValue23.SelectedItems, Value & "<br>"))
    3\Result
    vbofengmsft_2-1715134654162.png

     

    Best Regards,

    Bof

  • Jukie Profile Picture
    82 on at

    Works perfectly!  Thank you @v-bofeng-msft !

  • Jukie Profile Picture
    82 on at

    @v-bofeng-msft   One last question for you.  I had multiple lists of names in different fields that I had to add in separately.  Still works great, except when one of the lists happens to be blank in that record.  It says the run tried to pass through a blank and made it invalid.  Is there anyway I can get it to skip blanks?

     

    ConferenceAttendeeEmail.Run(DataCardValue36.Text,Concat(DataCardValue23.SelectedItems, Value & "<br>"),Concat(DataCardValue19.SelectedItems, Value & "<br>"),Concat(DataCardValue21.SelectedItems, Value & "<br>"),Concat(DataCardValue24.SelectedItems, Value & "<br>"),Concat(DataCardValue22.SelectedItems, Value & "<br>"),Concat(DataCardValue6.SelectedItems, Value & "<br>"),Concat(DataCardValue1.SelectedItems, Value & "<br>"),Concat(DataCardValue9.SelectedItems, Value & "<br>"),Concat(DataCardValue20.SelectedItems, Value & "<br>"),Concat(DataCardValue30.SelectedItems, Value & "<br>"))
  • Jukie Profile Picture
    82 on at

    @v-bofeng-msft I ended up being able to solve the blank record issue with the Coalese function. 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

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard