?
Solved

Sharepoint Designer - Workflow not recognizing conditional

Posted on 2010-01-09
8
Medium Priority
?
627 Views
Last Modified: 2012-05-08
I am having difficulty with what I would have thought to be a very simple conditional..checking the field value in a document library (status column) for a value and taking one of two different paths as a result.

This image shows the document library, based on an infopath form mapped to the library field Status.

I want to simply do one thing if it equals Draft, and another if it doesn't.

The 2nd image shows how this is currently configured within the workflow in Sharepoint Designer.

In all cases, even though the default status value is Draft, the 2nd condition always fires!

Help is greatly appreciated.

list.png
designer.png
0
Comment
Question by:Galaspie
  • 4
  • 4
8 Comments
 
LVL 12

Expert Comment

by:mccarthybri
ID: 26277047
for testing get rid of the else statement and see if it can ever do step one
0
 

Author Comment

by:Galaspie
ID: 26277624
I did.. and step 1 was still bypassed.  when I set the condition to a debug condition (1 = 1) it works fine.
0
 
LVL 12

Expert Comment

by:mccarthybri
ID: 26277999
have you tried making the action differant?  just a thought and ee if that works?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Galaspie
ID: 26278250
Yes..tried every action under the sun...the system does not recognize when it's a draft.

Almost seems like the event is triggered before the columns in the library (Proposal Status) are updated with the values from the Infopath form.
0
 
LVL 12

Expert Comment

by:mccarthybri
ID: 26278305
i dont know if this matters but are you running versioning on your forms library and if so do you have drafts as as well as published versions turned on?  just thinking up differant things that could effect it
0
 

Accepted Solution

by:
Galaspie earned 0 total points
ID: 26278365
I do have versions on, but not using drafts or require content approval,etc.

I appear to have solved the problem by:

Deleting document library
Clearing out tasks (including getting rid of workflow content types created by designer)
Eliminating all workflow related site content types from within the site
Recreating the doc library
Recreating the workflows

I will update all on whether this was indeed a "permanent" fix after further testing.

Thanks
0
 
LVL 12

Expert Comment

by:mccarthybri
ID: 26278370
cool sounds good.  recreating alot of times clears odditys like that up.
0
 

Author Comment

by:Galaspie
ID: 26285301
As mentioned I thought I would update....

The cleanup outlined above does indeed appear to have solved this issue.  Thanks for the responses, much appreciated.

Paul
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Is your organization moving toward a cloud and mobile-first environment? In this transition, your IT department will encounter many challenges, such as navigating how to: Deploy new applications and services to a growing team Accommodate employee…
Suggested Courses

609 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