Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

SharePoint Designer 2007 workflow lookup on multiple fields

Posted on 2011-02-28
10
982 Views
Last Modified: 2012-05-11
I am trying to create a workflow which checks the value in a task list using the Workflow Item Id and the Content Type. So far it appears SPD 2007 only allows lookups on a single value. So how do i create an "and" search on a Task List where multiple tasks have been assigned by the same list?

Example: Workflow Item ID = 107 AND Content Type = "Contract Approval"

No Code solutions preferred please.
0
Comment
Question by:MonsterBM
  • 4
  • 4
10 Comments
 
LVL 14

Accepted Solution

by:
GeorgeGergues earned 125 total points
ID: 35001264
From the Designer , select the Condition dropdown ( Item - > Content TYpe =xxx)

then do the same again  Condition Dropdown ( Current  Item - >  antoher condition yyyy)

designer will automatically format that as a (AND Condition )


best of luck.
0
 

Author Comment

by:MonsterBM
ID: 35001837
Not sure if this will do it.

I need to know: Is Approved = Yes where Workflow Item ID = xxx and Content Type = yyy
0
 
LVL 14

Assisted Solution

by:GeorgeGergues
GeorgeGergues earned 125 total points
ID: 35001948
on your comparison , use the [Compare any datasource ]

See attachment
 Any Data source


 AND Condition

best of luck
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:MonsterBM
ID: 35013722
Ok, I guess it should have been obvious. It appears that SP will scroll through the list until all the matches are found but I am uncertain how to define the lookup. I can't just pick a list and column in that list and ask if it matches my search value, say "107". I also have to define additional criteria within the lookup.

The Source and Field are obviously the name of the list to search and the column in that list, but under "Find the List Item"  I am uncertain which field and matching value I should enter. Do I look up the Workflow ID or some other matching reference?

Sorry if these questions seem elementary but defining lookups in SPD2007 can be confusing at times.
SPD2007-Define-Workflow-Lookup.bmp
0
 
LVL 14

Assisted Solution

by:GeorgeGergues
GeorgeGergues earned 125 total points
ID: 35013834
before that you should select the List (that is the first step )
...

next you will need to pick the first field (let us say ID ( and match ID field to the value (107))
0
 

Author Comment

by:MonsterBM
ID: 35014051
Is this what you mean?

I understand Source and Field under "Lookup Details". My confusion was about Field and Value under "Find the List Item"


Multi-Compare-Workflow-SPD2007.bmp
0
 
LVL 14

Assisted Solution

by:GeorgeGergues
GeorgeGergues earned 125 total points
ID: 35016500
Start with the ID related condition first
0
 

Author Comment

by:MonsterBM
ID: 35022382
I'm sorry this is not enough information. Please elaborate.
0
 
LVL 17

Expert Comment

by:GreatGerm
ID: 37693315
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

856 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