cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GR
Frequent Visitor

Send email issues with concat expression

Hello everyone

 

I am trying to set up a flow that sends an email to various team members when an item is created.

I could make it work if I wanted to send only one email to several members, but I am having issues doing the same in a parallel flow. Set up can be found down below.

 

My issue now is the following:

 

In the first branch, I have the following concat to get the emails of the users: concat(item()['TeamMembers'],';')

In the second branch, I use the same expression, but with another array: concat(item()?'ContactPersons'],';')

 
Now when I run the flow, it works for the first branch, but does not for the second one. Here is the result:
While in the first branch, it took the correct emails, in the second one, it includes parts of the expression in it, which obviously results in an email send error (see how it includes the "ContactPersons" part).
 
What do you think it could be? 
 
Thanks a lot for your help! 🙂
 
Anmerkung 2019-08-22 151819.png

 

Anmerkung 2019-08-22 151201.png

 

Anmerkung 2019-08-22 151447.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @GR ,

 

Please check if the TeamMembers column and the ContactPersons column are with same type? What is the type of the ContactPersons column? Is it Person type?

 

If the ContactPersons column is a Person type column , please choose the ContactPersons Email dynamic content in the Select2.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

3 REPLIES 3
RezaDorrani
Dual Super User II
Dual Super User II

Hi @GR 

 

Compare the select expressions for both your branches

are you using the same dynamic context for the select action Map option

v-alzhan-msft
Community Support
Community Support

Hi @GR ,

 

Please check if the TeamMembers column and the ContactPersons column are with same type? What is the type of the ContactPersons column? Is it Person type?

 

If the ContactPersons column is a Person type column , please choose the ContactPersons Email dynamic content in the Select2.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

GR
Frequent Visitor

Thanks a lot! Classic issue...even though I checked it multiple times.... 😉

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,098)