How does Change Management process messages?

The following must occur for Change Management to process a message.

  1. The record must exist.
  2. The message flag in the phase definition record (cm3rcatphase/cm3tcatphase) must be true.
  3. The operators and field names must be valid message groups, contacts, or operators.
  4. The event must either be an alert definition (AlertDef) or a message (cm3messages). The event syntax generally used to check for an event is as follows:
    if (condition=true) then ($cm3messages file.$events.pntr in
    
    $cm3messages =“event name”;$cm3messages file.$events.pntr+=1)

    where:

    • The variable $cm3messages is an array of character strings that tracks the events occurring during a particular phase of processing.
    • The variable $cm3messages.events.pntr is a pointer to the next array element that records an event name.
  5. When you add an event to the array, it is important to increment the pointer by 1. If you omit this step, the event previously recorded is overwritten.
  6. Define the event that is scheduled if the condition is true in the cm3rmessages file.