11.10 TERMINATE Procedure Signature 2

This procedure terminates a specific execution of an execution chain.

Syntax

APEX_BACKGROUND_PROCESS.TERMINATE (
    p_application_id    IN NUMBER DEFAULT apex_application.g_flow_id,
    p_execution_id      IN NUMBER )

Parameters

Parameter Description
p_application_id ID of the application containing the process.
p_execution_id ID of the execution to terminate.

Example

The following example aborts background execution 4711.

BEGIN
    apex_background_process.terminate(
        p_application_id => 100,
        p_execution_id   => 4711 );
END;