Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
Exchange Web Store events drive a workflow tracking process with CDO Workflow objects . The CDO workflow engine provides a systematic process to control state-transitions for documents in the Web Store. The engine relies on a user-defined table of actions-called the ActionTable-to evaluate and execute transitions for documents saved in the application folder. The ActionTable is an ActiveX Data Objects (ADO) Recordset stored as a property of the ProcessDefinition object. You can think of the action table as your business rules distilled into a list of possible state-transitions. One entry in the list my have the following logic:
For a given transition type (response, change, delete, etc.) and document state (new, approved, rejected, etc.), if condition is true, perform a certain action.
The following hypothetical action table specification shows some important fields and typical values in the ActionTable recordset.
State | NewState | EventType | Condition | Action | ExpiryInterval |
---|---|---|---|---|---|
"" | "Initial" | "OnCreate" | "IsValid()" | "SendMail(Mgr)" | |
"Initial" | "Assigned" | "OnChange" | "IsDelegated()" | "SendMail(Worker)" | |
"" | "Assigned" | "OnEnter" | "True" | "15" | |
"Assigned" | "Completed" | "OnChange" | "IsBalanced()" | "TimeStamp() SendMail(Mgr)" | |
"Completed" | "" | "OnDelete" | "HasTimeStamp()" | "Archive()" | |
"Initial" | "" | "OnExit" | "True" | "MarkInitialized()" |
The ActionTable recordset contains thirteen columns. The following sections discuss important issues some of these columns address.