Solved

Sharepoint 2010 workflow not doing anything

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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