Auditing the messaging system

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Auditing the messaging system

mapp Services V5.16

Events for these components can be recorded using MpAudit. For more information about how to create an entry, see section Defining the event text.

The identification number can be incorporated in the respective entry using the token %act.

The following events can occur for these mapp components:

Message system event

This event type makes it possible to record the time when a message was sent or received.

Option "Auditing" must be enabled in the MpTweetCore configuration in order to record events:

mptweet_enable_audit_events

Event ID

80

Components

MpTweet function blocks

Events

idx

Returns the index of the currently generated event. The value is incremented on each new event. The first generated event in the event list thus has value 1; the 50th event has index 50 and the 100th has index 100.

msg

Message text

rxn

Name of the user who received a message

rxc

Telephone number of the user who received a message

txn

Name of the user who transmitted a message

txc

Telephone number of the user who transmitted a message

act

Action that was executed in a mapp component. The ID for the action is returned (e.g. 1 for "Message transmitted").

For additional information, see the following table:

Event

Identification number (returned via %act)

Additional information

Message was transmitted.

1

{&msg}/[%msg] - Message text

{&rxn}/[%rxn] - Name of the user who received the message

{&rxc}/[%rxc] - Telephone number of the user who received the message

Message was received.

2

{&msg}/[%msg] - Message text

{&txn}/[%txn] - Name of the user who transmitted a message

{&txc}/[%txc] - Telephone number of the user who transmitted a message

Table: MpTweet event

For information about how to specify the event text, see section Using the new format.

Example of the new format:

"Message {&msg} transmitted to {&rxn}" evaluated: "Message Hello transmitted to Sam".

Example of the old format:

"Message [%msg] sent to [%rxn]" evaluated: "Message Hello sent to Sam".