Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

opadd/4—add a policy operation to an event


The opadd/4 function adds a policy operation to an event. The syntax for this function is as follows:

opadd($EVENT,$POLICY,$ACTION,$ARGS)

opadd/4 arguments

Argument

Mode

Type

Description

$EVENT

Input

OBJECT

Specifies the event to which to add an operation

$POLICY

Input

STRING

Specifies the policy name of the operation to be added

$ACTION

Input

STRING

Specifies the action name of the operation

$ARGS

Input

STRING

Specifies the arguments for operation action

Use the opadd/4 function to add an operation for policy $POLICY with action name $ACTION and argument list $ARGS to event $EVENT.

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

The argument list must be formatted as a string. $ARGS can be an empty string if no arguments are needed.

opadd/4 example

opadd($E,'Policy1','Data Enrichment','');

 

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