Using the Exchange Event Service

The Microsoft Exchange Server Event Service supports folder events that an application's code can use to respond to user actions and timer events.

The CML/LitCrit application uses two of these events to perform certain tasks, as shown in the following table.

User action Event triggered Tasks supported
Outlook user has posted a new critique. Folder_OnMessageCreated Route the critique to an administrator for approval, delete the pending critique from the folder, and update the FmLib database.
Administrator has approved a critique. Folder_OnMessageCreated Post the approved critique in the public folder and update the FmLib database.
Administrator has rejected a critique. Folder_OnMessageDeleted Move the approved critique to the public folder and delete it.
Administrator or Outlook user has deleted a critique. Folder_OnMessageDeleted Delete the critique's record from the FmLib database.
Outlook user has edited his or her own critique. Message_OnChange Update the critique's record in the FmLib database.

The tasks listed in this table are performed by the server-side Critique COM component. The following topic, Server-Side Critique COM Component Tasks, describes its actions in more detail.