Solved

Sharepoint 2010 workflow not doing anything

Posted on 2011-03-15
5
322 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

914 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