Windows Workflow Foundation 3
ApplyworkflowChanges takes long time and some time crashes the application.
Hi, I am running a workflow based job for 100's of times. For every cycle I am building the workflow with approx 1000 activities. When I can ApplyWorkflowChanges() it takes 68 secs. But When I run the application from Visual Studio it takes more then 10 minutes. But both the cases I am running in release mode. In addition, after running of 60 to 70 cycles all the time my application is crashing inside ApplyWorkFlowchanges() method. Inside visual studio output window, I am getting error code as 0x01 (Some .NET internal error). So what is causing the application crash. workflowInstance = WorkflowManager.Instance.WorkflowRuntime.CreateWorkflow(typeof(MyDynamicWorkflow)); Activity objRootComposite = workflowInstance.GetWorkflowDefinition(); WorkflowChanges wf = new WorkflowChanges(objRootComposite); // setting the active workflow instance to the Manager. WorkflowManager.Instance.ActiveWorkflowInstance = workflowInstance; // Add the activity associated with "this" agent wf.TransientWorkflow.Activities.Add(_activityAgentWorkflowParent); //some other activities are added. workflowInstance.ApplyWorkflowChanges(wf); <--- My Application crashing here. Thanks in advance. Vishwa Mohan
Within VS2008, can't drill down into a workflow without checking it out
SQLTrackingService tracks incorrect WorkflowInstanceEvent order?
XAML Workflows, Property Bindings and Conditions sample
Tracking query timeouts
Insert activity during PreFilterProperties
Passing data from Activity to Activity in XAML Workflows
Problem with x:Class and CreateWorkflow
Activity property resets back to default inside while activity
Designer does not maintain scroll position returning back from eventdrivenactivity to root designer surface in WF 3
InvokeWorkflow inside ReceiveActivity does not start async
stop runnign an istance of a work flow
WorkFlow will not start. Stuck on workflowRuntime.CreateWorkflow?
Is there the ability for business users to modify the workflow?
How to: Activity Data Bind a collection object, not it's contents.
Problems with Ownership, Timers etc