6.16 GET_KEEP_BACKGROUND_EXECS Function

This function checks if background executions are preserved or deleted during upgrades. Defaults to FALSE, so all background executions are aborted and deleted on application upgrade.

Syntax

APEX_APPLICATION_INSTALL.GET_KEEP_BACKGROUND_EXECS
    RETURN BOOLEAN;

Parameters

None.

Example

The following example shows whether background executions are preserved or deleted.

BEGIN
    dbms_output.put_line (
        CASE WHEN apex_application_install.get_keep_background_execs
             THEN 'background executions will be kept'
        ELSE 'background executions will be deleted'
        END );
END;