Skip to main content
Nintex Community Menu Bar

Workflow to collect email addresses from a multi-selection drop down list

  • February 27, 2019
  • 1 reply
  • 17 views

AndrewRobinson
Forum|alt.badge.img+2

Good morning,

I have a form which allows the user to select people they want to send an email to. I am not able to grab the people (or email addresses) from a workflow. I am thinking I need to create a variable in the workflow to collect the people that are selected to have the email sent to but I'm not sure where to start.

 

Any help is appreciated.

 

Andrew

1 reply

Forum|alt.badge.img+14
  • Scholar
  • February 27, 2019

I guess a dropdown is connected to a lookup field ('userlookup') and so you have a list mapping users and their mail addresses ('userlist').

 

so you need to proceed as follows

- use set vartiable action to get IDs of selected users (items) from multivalue 'userlookup' field

- use regular expression action to turn list of IDs into a collection

- use for each loop action to iterate over the collection

- use query list action or set variable action to get a mail address from 'userlist' from an item identified by (current loop) ID