6.22 RELEASE_TASK Procedure

This procedure releases an Assigned task from its current owner and sets the task to Unassigned state. Only the current owner of the task can invoke this procedure.

Syntax

APEX_APPROVAL.RELEASE_TASK (
    p_task_id                IN NUMBER );

Parameters

Table 6-20 RELEASE_TASK Parameters

Parameter Description
p_task_id The Task ID.

State Handling

Pre-State: ASSIGNED

Post-State: UNASSIGNED

Example

BEGIN
    apex_approval.release_task(
        p_task_id            => 1234
    );
END;