Page 1 of 1

Logging process aborted by admins

Posted: Wed May 29, 2024 7:17 am
by Aerouge
Hy guys,

quick question here.

Is it possible to log when a process / chore etc. is aborted by an Administrator?

If so, could you tell me how to configure this?

Currently we have the problem that a process stops without error or any other "in logfile visible reason".

We wrapped the process into :

Code: Select all

ProcessReturnCode=ExecuteProcess('MyProcess');
    IF(ProcessReturnCode <> ProcessExitNormal() );
      vReturncode='ERROR ; Returncode: ' | NumberToString(ProcessReturnCode);
    ELSE;
      vsReturncode='SUCCESS';
    ENDIF;
and sometimes it runs through and produces the ReturnCodes but sometimes the whole thing stops without any logging :?: