Monday, January 19, 2009

Workflow Foundation - Look at InnerException

Last week I ended up in a WF project. I had viewed some code and done a presentation in the subject earlier so my experience was not that high.

The project included a WF monitor, designer and a host running WF services and the actual workflows.

We ran into some problem and I want to share two things so you can find issues faster than we did.

1) Allways subscribe to "workflow terminated" and write excaption message to some log or output window
2) Loop all inner exceptions. The real explanation is often hidden in the last one

No comments: