NestedIntervalUtils - getLeafNodesForStateChange(String itemTaskSysId, Boolean leafOfSuccessors)

Returns the sys_ids of nodes that need to be activated.

If the leafOfSuccessors parameter is set to true, this method first finds all active successors whose lag time is 0. From this subset of successors, it then gets the sys_ids of successors with:
  • The time constraint ASAP
  • No predecessor
  • All predecessors in the INACTIVE state
Table 1. Parameters
Name Type Description
itemTaskSysId String sys_id of the task
leafOfSuccessors Boolean If true, returns the sys_ids of all of the successor nodes of the itemTaskSysId that need to be activated. If false, returns the sys_ids of the itemTaskSysId that need to be activated.
Table 2. Returns
Type Description
String sys_ids of the nodes that need to be activated