Workflow Timeout Pattern
Last changed: -

  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