ntadd/2—add a note to an event


The ntadd/2 function adds a note to an event.  The syntax for this function is as follows:

ntadd($EVENT,$SLOT)

ntadd/2 arguments

Argument

Mode

Type

Description

$EVENT

Input

OBJECT

Specifies the event to which a note will be added

$SLOT

Input

STRING

Text to be added as the note

Use the ntadd/ function to add a note with text $SLOT to the event $EVENT.

The note is added to the mc_notes slot of the event and time stamped with the current time. The author of the note is set to the identifier of the rule that calls the primitive.

ntadd/2 example

ntadd($E,'Event updated by rule');

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*