Error Message :
When using this function:
:set &ret# = GET_STATISTIC_DETAIL(&sys_act_me_nr#,RESTART)
to find out, if a run was a restart or a "first" start. According to documentation, the result means:
"Y" - The execution is a restart.
"N" - It is not a restart.
The script-function is returning a different result. The screenshot shows an example to depict the behavior:
<Please see attached file for image>
I.e. the result is not only Y when the RunID is a rerun, but always when a rerun exists for the RunID. Only when there is no rerun for a RunID, the result is always N (see example RunID 1545054 in the screenshot). This seems to contradicts the docu and also the result of SYS_ACT_RESTART, as you can see from the screenshot.
Root Cause: GET_STATISTIC_DETAIL(RESTART) does not return the correct value, if it is used for the original execution of a restarted task. In this case, GET_STATISTIC_DETAIL returned "Y" but the original execution has not been a restart.
Release: AUTWAB99000-11.0-Automic Workload Automation-Base Edition
Update to a fix version listed below or a newer version if available.
Fix Status: Released
Component(s): AE Server and Initdata
Automation Engine 10.0.8 - Available
Automation.Engine 11.1.4 - Available
Automation.Engine 11.2.2 - Available