There can be an inconsistency between JPP_LNR in the DB and what the API command JobPlanTask.getTaskLnr() returns in case of Unlinked tasks and External Dependencies. This occurs when Tasks are added by editing the Workflow in the XML. While modifying XML is not supported, these outputs should be consistent.
Java API returns workflow tasks in wrong order, when tasks have no connection and END object has not the biggest lnr
Release: AUTWAB99000-12.2-Automic Workload Automation-Base Edition
Update to a fix version listed below or a newer version if available.
Component(s): Application Interface (Java API)
Automation Engine v12.0.8 - Available
Automation Engine v12.1.5 - Planned release 2019-05-20
Automation Engine v12.2.3 - Planned release 2019-06-04
Automation Engine v12.3.0 - Planned release 2019-06-28