NestedIntervalUtils - initializeNode(GlideRecord newnode, String parentID)

Initializes a new node in the tree under a specified parent.

If no parent is defined, a new tree is created with the new node as the root.

Table 1. Parameters
Name Type Description
newNode GlideRecord Node to add
parentID String Parent of the new node
Table 2. Returns
Type Description
Boolean True, if node values were set correctly; otherwise, false.