Solved

Sharepoint 2010 workflow not doing anything

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
When installing SharePoint 2010 RTM I came across a strange error, I was getting timeouts during the installation. I searched the web and found the best solution to be found here (http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010genera…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

808 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