Solved

SharePoint Designer 2007 workflow lookup on multiple fields

Posted on 2011-02-28
10
954 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
 

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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

760 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

20 Experts available now in Live!

Get 1:1 Help Now