index > Windows Workflow Foundation > Workflow event does not get fired

Workflow event does not get fired

Workflow event does not get fired
shivali.sadavarte

Do you have any additional details? Do you mean Workflow runtime events? It may be possible that the workflow is being terminated or aborting before the desired event. Try handling all of the WorkflowRuntime events and see if this shows you where the problem is.

Thanks,

Steve Danielson [Microsoft]
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm

Steve Danielson
workflow unloaded event gets called as soon as i execute event handler
shivali.sadavarte
Do you have UnloadOnIdle set to true? If so, this is expected behavior assuming that the event has not been fired yet. When the workflow becomes idle it is unloaded. If an event comes in for the workflow the runtime will load the workflow and deliver the event.


MS Workflow SDE/T - This posting is provided "AS IS" with no warranties, and confers no rights.
Tom Lake

Tom,

Where can I find the UnloadOnIdle property to check its value? I'm having a problem when firing an event and I havent been able to solve it for 2-3 days and maybe it has something to do with that property... By the way it would be cool if you could check the post where I explain my problem and give me some advice.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=582956&SiteID=1

Samoyed
UnloadOnIdle is a property on the persistence service. If you are using the out of the box SqlWorkflowPersistenceService you can set this parameter in the constructor.


MS Workflow SDE/T - This posting is provided "AS IS" with no warranties, and confers no rights.
Tom Lake
reply 6

You can use google to search for other answers

 

More Articles

• State Machine Workflow with partial Human Interaction
• Feb CTP - Can't get Workflow packages to appear in Visual Studio
• Workflowinstance. suspend, terminate throws exception "insta...
• Equivalent Keyword for IRootActivity in beta2
• Interval between WorkflowIdled and persistence
• Replicator with PolicyActivity hurts my brain
• If/Else - Code Condition using an Activity Reference - how? (bug?...
• Custom activity validation -- HandleExternalEventActivity.Invok...
• How to load persisted workflow from another process?
• How can I access a host data from a custom activity?
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• How to use ASPNet XAML Activation sample
• Index was outside the bounds of the arra
• Request for Sample
• Getting started with WinWF and ASP.NET
• User Track Point
• how does the instanceId get set on SqlWo
• Workflow with ASP.NET application
• A workflow application from Visual Studi
• What does this exception message ["
• Accessing workflow properties from an ac
• visual studio2005 designer for windows w
• OnExecuting....
• use of tables in SQL Tracking Service -
• Custom DeSerialization Problem: Magic nu
• Approachses for assignments

Hot Articles

• Beta 1 Hands-On Lab
• BUG: Accessing Base Class Enum Property
• idle state
• Workflow Instances
• use of Activity.Save( ) method?
• [CorrelationProvider]
• User Interface to change rules
• Validating wich activities I can insert
• What Windows Workflow Foundation can do?
• Long run and threading- are they related?
• Life cycle of a workflow
• Webservices Driven State Machine Workflo
• Workflow enabled ASP.NET WebCast on Tomo
• Generic Workflow Host
• WorkFlow Deployment, Version Control and

Recommend Articles

• Understanding the Windows Workflow Found
• Args from WorkflowRuntime.CreateWorkflow
• BPEL and XPDL
• event not firing
• Sql script files
• Custom HandleExternalEventActivity Param
• Builing SharePoint workflows in VS.
• query regarding displaying errors
• working from win form
• Error debugging a workflow
• Binding in XOML only workflows?
• Statemachine WF Tracking Problem
• Bug when adding the WF SqlPersistenceSer
• Spawning multiple instances of the same
• Configuring ASP.NET-hosted workflow to r