Managing Windows Workflow Events on a Web Server
Posted by: K. Scott Allen,
on 21 Jan 2007 |
View original | Bookmarked: 0 time(s)
Once you have the WorkflowRuntime up and running in an ASP.NET application or web service, you'll want handle key life cycle events like WorkflowTerminated and WorkflowCompleted. I want to warn you about some common pitfalls I've seen.
There are two subtle but extremely dangerous problems in the following code.
protected void Page_Load(object sender, EventArgs e)
{
// get a reference to our WorkflowRuntime singleton
WorkflowRuntime runtime...