0

I am trying to find information on how SPD workflow conditionals are evaluated.

What I'd like to do is if (a or b) and (c or d) then, and my brief tests make it appear like it will work that way if I create it:

If a = green1 or b = green2 and c = green1 or d = green2 set status to green

Is there any documentation on the behavior? I have to implement this in a rather tedious determination process and would like to only have to do it once, and would prefer to avoid a lot of nested conditionals.

Thanks, Patrick

1
  • Upon further testing, my example does not work. Seems that it just evaluates them in order
    – hrezs
    Oct 11, 2012 at 19:11

2 Answers 2

1

You can create 2 little evaluations:
Step 1
If (a or b) add 1 to workflow variable.
If (c or d) add 1 to workflow variable.
Step 2
if workflow variable = 2
update status = green

0

Thanks for the reply, what I did was changed my approach to the workflow. I made this the else condition and built the rest of the conditional around that. I couldn't just use nested conditionals because it became nested too deep and threw and error.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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