Skip to content

qie.getInstanceId

Signature: qie.getInstanceId()

Returns: Integer instanceId - the current node instance ID

Returns the instance id of the current node when running in an HA environment.

Parameters

None

Example

// The instance id of the node currently executing this script.
var instanceId = qie.getInstanceId();