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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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 Kudoed Authors
Users online (4,061)