Meridian Event Procedures

Meridian event procedures allow you to customize the way Meridian works by adding your own functionality onto what Meridian already does. When a user executes certain commands in one of the Meridian client applications, Meridian performs a sequence of actions. At various steps in the sequence, Meridian declares that an action (event) is occurring to which VBScript can react. Meridian checks for the definition of a specific VBScript procedure (event handler) that corresponds to each event. If the procedure exists, Meridian executes it before proceeding on to the next step in the sequence. All VBScript event procedures are stored in a code block in the vault separate from the code blocks for the configuration expressions.

Event procedures are more powerful than configuration expressions. Each configuration expression is a single statement to be evaluated. Event procedures can contain many statements and provide additional advantages. Event procedures can:

  • Use variables

  • Use subroutines

  • Change the values of properties

  • Invoke the methods of objects, for example, Document.RevokeWorkflow

Note:

The order of the events may change slightly in new releases to accommodate new functionality or to resolve problems and cannot be guaranteed. Test all customization that relies on event procedures with each upgrade before deploying the customization for production use.

2021 R2