Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sorry for asking a non programming question, but I just can't figure out how to use the Workflow Designer in SPD2010.

I want to just write the simple statement in the workflow designer:

if field equals 'A' OR field equals 'B'
    ...

Problem is that I can't figure out how to get the OR (or AND) included.

Do I have to use VS to achive this??? What have I missed?

Regards

Lars

share|improve this question

2 Answers 2

up vote 4 down vote accepted

I've not worked with SPD 2010, but if it's anything like SPD 2007, the Conditions of the workflow step should allow you to do an OR, but you have to add two separate Conditions to do it.

  1. Click Conditions dropdown and choose "Compare [list] field"
  2. Click field and value to set those, then
  3. Click Conditions dropdown again and choose "Compare [list] field"
  4. Click and to change it to or, then
  5. Click field and value again to set those to your second choice
share|improve this answer
    
Ahhh.. that easy! Thanks for the answer –  Larsi Jan 4 '11 at 14:53
    
You're welcome, sir! –  Jim Bob Howard Jan 4 '11 at 18:15
    
Very Good Bob..It helped..thanks –  user4621 Sep 1 '11 at 7:13

After you've added the first condition in the workflow step, highlight the condition then go to the Condition button on the ribbon and insert another "If..." condition. It will put it on the second line of the IF statement and allow you to change the AND to an OR.

share|improve this answer
    
Sorry for the duplicate answer! Jim Bob types faster. :D –  Rob Wilson Jan 4 '11 at 14:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.