Solved

Debugging a sharepoint designer 2010 workflow

Posted on 2014-09-04
3
186 Views
Last Modified: 2015-03-19
Could anyone  suggest me how to debug the sharepoint designer 2010 workflows.
Like in visual studio we have break points option to debug a .net code.
0
Comment
Question by:asrithap
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 19

Accepted Solution

by:
Montoya earned 500 total points
ID: 40304333
there are a few methods.. here's a couple:

write to history log at set intervals. Write the value of your variable or write yourself a message. This tells you where things are in your workflow process.

The other method is essentially the same thing, but create a column with a text value. As a step for each workflow state, write a value to that column.

Values can be like:

started
criteria 1 met
email sent to user
list item written

etc...   the more checkpoints you add, the quicker you will get to what is going wrong.

The most expensive option would be:  Get Nintex workflow... wow, it's expensive, but the ROI is pretty sick. It also has a built in feature that can show you and/or the users exactly where the workflow process is... visually! It's pretty dang useful!
0
 
LVL 12

Expert Comment

by:Ramkisan Jagtap
ID: 40305394
Unfortunatley you cannot debug SharePoint Designer created workflows easily (unless you actually debug the SharePoint codebase).

I suggest you add some logging features to the Workflow, examine the ULS logs, check that your workflow history is cleaned up properly etc.

(If you updated your post with the Visio diagram of your Workflow it could possibly help us help you)
0
 

Expert Comment

by:Keyboard Cowboy
ID: 40677282
Most of us use a lot of Log statements to debug but the problem if the workflow fails, it may not write out all of the log messages for you to look at.  (You can trust that you'll see all of the log messages even though the log statement was executed).  this is only true for a failed workflow.
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Introduction ( All good things must come to an end ) The original MySQL API has gone away.  It was deprecated (years ago) by PHP in Version 5.5, and removed from PHP in all current releases .  As a result, the issue is upon us today.  It's time to …
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

728 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