Solved

Understanding Using a Lookup in a Workflow in SPD 2010

Posted on 2013-01-27
1
742 Views
Last Modified: 2013-02-13
I have created two lists, one is called "CDRL Review" and the other is called "Vendors".  I created a Lookup column in the CDRL Review List that is supposed to pull the Vendor's email address from the 2nd List and populate an email header with the vendor's email address for an email to be sent.  When I start to set up the lookup in SPD, I receive a series of windows asking for the Field Data to Retrieve, Data Source, Field from source, etc.  I cannot seem to fill these windows out properly to get the lookup to pull the vendor's email address to store in a workflow variable.  Would someone please help me understand what goes where in order to make this work?  For example, in the "Lookup for String" window, do I list the CRDL Review list as the Data Source, since that is the one that contains the lookup?  Which list is the "Find the List Item" section referring to?  And lastly, which list do I choose as the Data Source in the last window called "Lookup for Single line of text"?  Thanks.
0
Comment
Question by:Cljose
1 Comment
 

Accepted Solution

by:
Cljose earned 0 total points
Comment Utility
I figured this out by looking at other answers.  What I learned is that the first window labeled "Lookup for String", the Data source must be the secondary List tied to your Master List, i.e. the List containing the Lookup column.  The "Field from source" is the EXACT field you would like info from.  In my case, it was EmailAddress.  Return the field "As String".  In the lower portion of the same window, where it reads "Find the List Item", you are now focusing on the Master List.  When you click the blank textbox to select the column name from your Master List (labeled "Field"), a second window opens.  The idea is that this works similar to a wizard to assist in selecting the correct field.  The top of the window will read "Lookup for Single line of text".  Choose "Current Item" as your Data Source.  The "Current Item" is your Master List or, in this case, the CDRL Review List.  This would be the column labeled "Vendor Communications".  The "Field from source:" refers to the Master List column name.  The "Return field as:" must be set to "Lookup Value (as Text).
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now