cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gmaasz
Resolver I
Resolver I

Display all array elements in an email

I have an array variable containing various entries. I want to display all entries of the array within a email being sent from flow without having to index the array elements, as the array length can vary and hardcoding the amount of elements gives you errors, seeing that sometimes you array is smaller than the coded length. Any help on this will be great thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

@gmaasz :

 

Sorry - I thought you were using a Compose action.....

 

How about this:

I added the following to the array:

12

AB

 

I set "is HTML" to Yes in the email

 

Join.jpg 

The email looks like this:

Join1.jpg 

If this works for you, please mark your post as Solved.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

3 REPLIES 3
ScottShearer
Super User III
Super User III

@gmaasz:

 

Try using the Create HTML table action and create the table from the array.  Set the include headers to yes and columns to automatic.  Include the output of the HTML table action in your email.

 

If this works for you, please mark your post as Solved.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Hi Scot,

 

Thanks for the reply. This gives me an error when using the html table as you prescribedb.JPG

 

a.JPG

 

 

@gmaasz :

 

Sorry - I thought you were using a Compose action.....

 

How about this:

I added the following to the array:

12

AB

 

I set "is HTML" to Yes in the email

 

Join.jpg 

The email looks like this:

Join1.jpg 

If this works for you, please mark your post as Solved.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (23,859)