Solved

Sharepoint 2010 workflow not doing anything

Posted on 2011-03-15
5
321 Views
Last Modified: 2012-08-13
I'm working on a workflow to populate a form based on data from an email. I just ran a test and even though it says completed on the Workflow Status page, there's nothing logged in the history. The first item of the workflow is to log something to the history list, so even if the workflow is failing, I should still see that.

I looked at the files in the workflow folder on my site and I noticed that there is no xoml.rules file unlike all the other workflows I have on my site. Is that the source of my problem?

This particular workflow is a bit of a bear - over 130 variables - so I'm not keen on starting from scratch.

Any ideas?
0
Comment
Question by:steam23
  • 3
  • 2
5 Comments
 
LVL 5

Expert Comment

by:navdeepmadan
ID: 35144654
please develope a visual studio workflow and add a breakpoint on "onworfkloeactivated event". implemented your functionality
0
 

Author Comment

by:steam23
ID: 35147469
Hi. I confess, I'm not to familiar with visual studio. I'm developing the workflow in Sharepoint Designer 2010.  I don't currently have access to Visual Studio, is it possible to add the breakpoint you mention using SPD?
0
 
LVL 5

Accepted Solution

by:
navdeepmadan earned 500 total points
ID: 35148668
Please check the ULS logs while execution of the workflow. it will provide you the internal error mesage why it didn't ececuted.
0
 

Assisted Solution

by:steam23
steam23 earned 0 total points
ID: 35165041
I figured it out. Nothing was showing up i the logs, so I recreated the workflow from scratch. Then I noticed another workflow I was working on didn't seem to be updating when I changed it either. After some quick searching i found http://b3no.wordpress.com/2008/09/09/workflow-not-updating-using-sharepoint-designer/ . Apparently, the WebsiteCache for SPD gets corrupted on occasion and needs to be cleared. This manifests as the workflows not updating from the client to the server properly. In my case, the workflow that was was runnig was an earlier version that all I had done so far had been to declare my variables.
0
 

Author Closing Comment

by:steam23
ID: 35196576
You sent me on the right direction. As soon as I saw nothing in the ULS logs, I knew there had to be something else going on.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now