21.4. Troubleshooting Workflows

Troubleshooting problems with workflows created by SharePoint Designer can be a daunting task, especially if the workflows become more complex. With multiple activities configured in single steps and a large number of steps in a single workflow, determining the action that causes the problem in workflow execution can be difficult. You might want to keep the following in mind while working on SharePoint Designer workflows:

  • When you create workflows for SharePoint lists or libraries by using Workflow Designer, SharePoint Designer makes Web service calls to SharePoint to determine the latest versions of the important SharePoint files. SharePoint Designer then stores a cached copy of these files locally on the computer where it's installed. This location, called the ProxyAssemblyCache, is stored on the SharePoint Designer machine at C:\Documents and Settings\<username>\Application Data\Microsoft\SharePoint Designer\ProxyAssemblyCache. While this is a temporary cache, SharePoint Designer always looks for files inside this folder when creating workflows. If for some reason (such as a version upgrade or solution deployment) the server version of the files changes, SharePoint Designer might not be aware of it and would still use the cached version, which might cause errors and problems in SharePoint Designer while creating workflows. To ensure that SharePoint Designer requests the latest version of files, you can delete the contents of the ProxyAssemblyCache ...

Get Microsoft® Office SharePoint® Designer 2007 Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.