System functions

System functions extract data from the operating system, such as the host name, time zone, current date.

The following functions are available:

See also

Since currDate, currDatetime and timeZone are also Date/Time functions we refer to the date/time function page for the detailed description.


hostName

The hostName function returns the hostname of the machine where Rulex Platform is running.

Parameters

hostName()

No parameters are required in this formula.

Example - hostName()

  • In this example, we want to fill a new attribute with the hostname of the machine where Rulex is running.

  • Add a new attribute, called hostname, and type the following formula: hostName() and the attribute is filled with the machine’s hostname.Please note that in this screenshot the hostname has been hidden due to security reasons.


ipAddress

The ipAddress function returns the IP address of the machine where Rulex Platform is running.

Parameters

ipAddress()

No parameters are required in this formula.

Example - ipAddress()

  • In this example, we want to fill an attribute with the IP address of the machine where Rulex Platform is running.

  • Add a new attribute, called IP address, and type the following formula: ipAddress() the attribute will be filled with the IP address of the machine.Please note that in this screenshot the IP address has been hidden due to security reasons.