?
Solved

Sharepoint Designer - Workflow not recognizing conditional

Posted on 2010-01-09
8
Medium Priority
?
619 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

771 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