Assigning values to properties
You can assign values to a property in the rules file. If the property does not exist, it is created.
For example, you can create a property called Counter to keep track of the number of events that have been processed as follows:
if (match(%Counter,""))
{%Counter = 1}
else {%Counter = int(%Counter) + 1}
These properties retain their values across events and when the rules file is re-read.
Note: As of fix pack 22, properties can also be dynamically set in the properties
file provided that the
Props.LiveUpdate
property is set to TRUE
.
However, property values that have been set using the rules file, take precedence.