Assigning values to ObjectServer fields

You can assign values to ObjectServer fields by direct assignment, concatenation, or by adding text.

Examples are as follows:

  • Direct assignment example: @Node = $Node
  • Concatenation example: @Summary = $Summary + $Group
  • Adding text example: @Summary = $Node + "has problem" + $Summary

You can express numeric values in decimal or hexadecimal form. The following statements, which set the Class field to 100, are equivalent:

  • @Class=100
  • @Class=0x64

In addition to assigning elements to fields, you can use processing statements, operators, and functions to manipulate these values in rules files before assigning them.

Tip: Elements are stored as strings, so you must use the int function to convert elements into integers before performing numeric operations.