Sharepoint Designer 2010 workflow

I am trying to create a workflow in sharepoint 2010 for a group calendar.  I want the workflow to only start when a certain field in the calendar displays vacation as the variable it will email someone for approval.  Is this even possible, or do I need to create a seperate vacation calendar with the workflow running on it full time.  Right now I've tried setting it up, but it is email for approval on every item, not only when certain criteria is met.

Any help would be great.

breckdahlinAsked:
Who is Participating?
 
zephyr_hex (Megan)DeveloperCommented:
yes, you can do it.

have the workflow initiate any time an item is updated or created.  as one of the first steps, have the workflow check your field to see if the condition is true or false.  if the condition is false, the workflow should exit / end.  if the condition is true... then have the workflow do the other things you wish it to do.
0
 
breckdahlinAuthor Commented:
I'm fairly new to SP Designer, how do I make it check if it is true or false?
0
 
zephyr_hex (Megan)DeveloperCommented:
it depends on the field type.  if it's a checkbox, i think you can say:

mycheckbox equals Yes

if the field is numeric, you can have it check for a number:
myfield equals 1

so basically, it depends on the field type.  the checkbox (Yes or No) is generally used when there are only two options... either Yes or No.  but if you have more than 2 potential options you want to check for, then use a number field.
0
 
breckdahlinAuthor Commented:
Quick response.  Great follow up answer.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.