opset/5—modify the policy name, action, and arguments of an operation  of an event


The opset/5  function modifies the policy name, action, and arguments of an operation  of an event.  The syntax for this function is as follows:

opset($EVENT,$SEQNR,$POLICY,$ACTION,$ARGS)

opset/5 arguments

Argument

Mode

Type

Description

$EVENT

Input

OBJECT

Specifies the event for which an operation is to be modified

$SEQNR

Input

INTEGER

Specifies the sequence number of the desired operation

$POLICY

Input

STRING

New policy name of the operation

$ACTION

Input

STRING

New action name of the operation

$ARGS

Input

STRING

New arguments for the operation action

Use the opset/5 function to replace the policy name, action name, and arguments of operation $SEQNR that is attached to event $EVENT. The policy name is replaced with $POLICY, the action name is replaced with $ACTION, and the argument list is replaced with $ARGS.

Operations are numbered, starting from 1 for the oldest operation. The most recent operation can be obtained by indicating 0 as the sequence number $SEQNR.

To determine the number of operations attached to an event, see opcnt-2-count-the-operations-of-an-event.

Note

The time stamp and author of an operation cannot be modified.

opset/5 example

opset($E,0,'Policy2','Data Enrichment','');

 

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