Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Return more than one value in a SharePoint 2010 Workflow

$
0
0

I have the following 3 separate lists:

1). District Email (external list) - there are several email addresses and employees for each District #

District #, Emp Email, Employee Name

2). Mail Processor (email enabled list)

Name (App Id), email subject

3). District Values (external list)

District #, App Id

I have created a workflow, that will fire an email to the email addresses in the District Email list when an item is added to the Mail Processor list. Using SharePoint designer, I have selected the action to send an email to; District:emp email using a workflow lookup. I have selected to send an email to the Emp Email address in the District Email list, where District # is equal to District #, in the District Values list, and App Id, is equal to the Name (App Id) column in the Mail Processor list. When I create this lookup I receive a warning that the lookup is not guaranteed to return a single value. I am receiving this error because there is a 1:many relationship between District Values and District email.

Any suggestions as to how to send an email to every email listed on the District email list? 




Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>