cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dmistry
Post Prodigy
Post Prodigy

How to convert Array variable to string to use in send email action

Hi,

 

I am getting unique emails stored in a Array variable but can't use it in send an email action to send out emails as its in Array form.

Can someone help me how to convert Array variable to text or string and use in send an email? below is an ouptut of my set array variable action.

Capture2.JPG

I just want to extract the emails listed in above array variable and use them in send email action, please help.

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

1) create a String Variable

2) add a For Each loop to process the Array

3) use an Append to String action inside the loop to append each email in the array to the end of the string variable.  Make sure you also include a ';'  Like this

screenshot.png



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

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User III
Dual Super User III

1) create a String Variable

2) add a For Each loop to process the Array

3) use an Append to String action inside the loop to append each email in the array to the end of the string variable.  Make sure you also include a ';'  Like this

screenshot.png



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

View solution in original post

@Pstork1 Appreciate the help, thanks so much. This worked perfectly.

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

Top Solution Authors
Users online (44,000)