cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Bill_Hand
Level 8

Array Variable

I am grabbing email address and display name from a list.

I am then looping through the distinct emails and sending an email to each one.  However, I am not sure how to get the display name into the email.

I though I could add both values to an array variable and then grab the name from it?  Not sure how to actually do it though.  Any ideas?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Bill_Hand
Level 8

Re: Array Variable

The list is contains a number of items that are assigned to a specific person (person field).  

 

I did find a solution to the what I was trying to do.  I added both the email address and display name to the array variable and then created 2 new variables: email,display name and assigned them values using this formula: 

split(first(variables('DistinctEmails')),',')[1]
 
Thanks for following up.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Array Variable

Hi @Bill_Hand,

 

Could you please share more details about the sharepoint list?

Could you please share more details about the email address and display name column in the sharepoint list?

How would you want to get the display name into the email?Could you please share a example of that?

 

Please share more details so we would try to provide a proper workaround for you.

 

Best regards,

Alice

Bill_Hand
Level 8

Re: Array Variable

The list is contains a number of items that are assigned to a specific person (person field).  

 

I did find a solution to the what I was trying to do.  I added both the email address and display name to the array variable and then created 2 new variables: email,display name and assigned them values using this formula: 

split(first(variables('DistinctEmails')),',')[1]
 
Thanks for following up.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,736)