The Problem SolverWIndows Workflow Foundation
HomeShow ChangesEditPrintRecent ChangesSubscriptionsLost and FoundFind ReferencesRename



5-6-2008 14:56:135-6-2008 14:56:0720-11-2006 17:17:02

List all versions

Workflow Timeout Pattern
  1. Add an EventHandlingScopeActivity to the workflow.
  2. Add watherver work needs to be done to the normal flow. Note you might need a SequenceActivity activity if you are going to add multiple children.
  3. Switch to the EventHandlersView.
  4. Add an EventDrivenActivity to the EventHandler.
  5. Add a DelayActivity and set the timeout to the maximum allowed.
  6. Add whatever you want to do when the timeout expires.
    1. An TerminateActivity to kill the workflow
    2. Set a TimeoutOccurred property to skip certain actions.
    3. Do something else altogether
Wiki Usage


Enjoy the WF wiki.

Recent Topics