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?
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?