Share via


Event Types

Event Types

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

There are two kinds of event types in workflow.

Using CdoWfEventTypes in Calls to Advance

If you develop your own event sink to use with the workflow engine, use the following event types from the CdoWfEventType Enum.

  • cdowfOnCreate
  • cdowfOnChange
  • cdowfOnDelete
  • cdowfOnExpiry
  • cdowfOnReceive

Using Event Types with an Action Table

You use event types when you design an action table to define which event you want a rule to fire for. Your ActionTable can include states that have more than one path of entry or exit. You might take certain actions with a workflow item regardless of how it reached a given state. There are two ActionTable event types you can use when you want an action to fire for a particular state, no matter how the ProcessInstance entered or exited that state. OnEnter and OnExit allow you to specify an action for a given state whenever a ProcessInstance enters or leaves that state.

The following table lists the values that you can use in the ActionTable EventType field.

Name Value Description
OnCreate 1 Document was created.
OnChange 2 Document was modified.
OnDelete 3 Document was deleted.
OnEnter 4 New state is entered. This is where the Workflow Designer for Exchange 2000 Server usually sets the expiry interval.
OnExit 5 Old state is exited.
OnExpiry 6 Document has been in the current state too long.
OnReceive 7 Received an e-mail response correlating to the document.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.