Flow Designer - need help with sending email

JLeong
Mega Sage

Hi Guys,

I need to send an email from a Flow Designer. The email must contain the values of a list collector. I need help adding these values to the body of the email.

Example email:

Hi Joe,

Request #123456 has been completed. You are now the owner of the following accounts:

  1. List collector value 1
  2. List collector value 2
  3. List collector value 3

 

Please assist.

Thank you!

Regards,

Jocelyn

 

 

 

1 ACCEPTED SOLUTION

@JLeong 

you cannot use For each loop directly on list collector variable.

you will have to convert String and return String Array which can then be used in For Each

Refer below links for help and the steps

Flow Designer

How to iterate an Array.String in the flow designer?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

11 REPLIES 11

Hi Ankur,

I ended up creating an Event in the Flow Designer to call the email notification.

The email script displays the list of accounts.

find_real_file.png

 Thank you for your assistance as always.

@JLeong 

Great!  It looks like you marked your own response as the correct answer, which may be confusing to others that read this later.

Would you mind marking my response as helpful & correct if I was able to help you.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader