Creating an Event Service Agent
LitCrit's Event Service agent consists of a script that monitors the LitCrit public folder to respond to events generated when the following things happen:
- A critique is posted to the public folder. This happens either when a user posts a new critique or when an administrator approves a critique, which returns the critique to the public folder.
- A critique is deleted from the public folder. Critiques can be deleted by users only when the administrator has allowed for deletions when setting permissions on the public folder.
- A critique is edited in the public folder. As implemented by LitCrit, this action involves changing the message class of the posted critique.
The following sections explain how to write and install this script. You can also read additional background information in the topic About the Routing Engine, Routing Objects, and Routing Maps.