There are different ways to restart a task, but the predefined variable &$RESTART_COUNT# only count restarts which were done by RESTART TASK in Post-Conditions.
There are different ways to restart a task, e.g. UserInterface/AWI, script-function RESTART_UC_OBJECT and Post-Conditions (RESTART TASK). Unfortunately, only restarts are counted, which are performed by RESTART TASK (Post-Conditions). For usability reasons, the restarts by other actions should also be counted. In our view, this behavior would be what the user expects (--> consistency).
Request: Each restart, no matter how it is triggered, should increase the counter &$RESTART_COUNT#. For consistency also the script function SYS_ACT_RESTART_COUNT must be changed.
See also PRB00118033.
Legacy enhancement request ID: PMPER-1645