Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

If I have a sequential SharePoint workflow, and it's stuck -- status showing "In Progress" -- can I find what exactly it's waiting for, maybe blocking on a OnTaskChanged activity, or expecting some other event?


1 Answer 1

up vote 1 down vote accepted

I would log to history list before each action item that can be delayed in the workflow of what or where the workflow is doing. That way, you'll know what exactly where the workflow is in the process.

Just drag a LogToHistoryList action in the SharePoint workflow actions before the actual delay/waiting action, and edit the description of what action is about to happen. Whenever the workflow is in progress, you can check the history list while it runs to see where the workflow is. I do this on all my workflows for safety and to keep myself out of the dark.

Yeah, that's a nice technique, definitely something to remember -- but is there something I could do right now, for a particular workflow in production, that seems to be completely stuck? I'd like to find out why it happened this time, and prevent it in the future. –  Mihai Apr 18 '12 at 19:06
I don't think so. If it was an error then you may be able to check the ULS logs... –  Mike Apr 18 '12 at 20:47

This site is currently not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .