Skip to main content
Version: Next

Process aborted

Process aborted -> Function result

ParameterTypeDescription
Function resultBoolean🡐True = the process is about to be aborted, False = the process is not about to be aborted

Description

The Process aborted command returns True if the process in which it is called is about to be interrupted unexpectedly, which means that the execution of the command was unable to reach its “normal” completion.

This status will happen very rarely. Processes are usually stopped before the code can be notified the "process aborted" condition. This condition might only happen in compiled loops not executing any 4D command. For more infomation about how 4D handles the closure of processes, please refer to the On Exit database method page.

See also

On Exit database method