Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WF not completing after returning ActivityExecutionStatus.Closed

Status
Not open for further replies.

BKQc

Programmer
Jul 26, 2002
118
CA
First of all, sorry to send this question all over the place but since I couldn't find a WF dedicated forum, I really don't know what is the best place to ask the question.

So, the situation is that I built a WF using .NET Workflow Foundation in .NET 3.5 that is used to control the flow of a decision tree for an ASP.NET application but at completion, the workflow is never set to completed and stays alive forever.

The way it works is that I have 2 custom activities to handle the flow: an interface generator which is a composite activity generating an ASP.NET interface based on the second CA which is a derived class of a sequence activity. At the end of the sequence, I call a third custom activity to redirect to a new page using Response.Redirect(URL, false) and then returns ActivityExecutionStatus.Closed.

My problem is that even though I registered for status changes using RegisterForStatusChange(Activity.Closed, me) on my main branching activity, the message never bumps to it.

Anyone has an idea?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top