hostName function in the Factory

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


Parameters

hostName()

No parameters are required in this formula.


Example

The following example uses the Students Performance dataset.

Description

Screenshot

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.