32.12 EXCLUDE_POTENTIAL_OWNER Procedure

This procedure excludes a potential owner from a task. Only a Business Administrator for the task can invoke this procedure.

The procedure raises an error if the task is in COMPLETED or ERRORED state.

Syntax

APEX_HUMAN_TASK.EXCLUDE_POTENTIAL_OWNER (
    p_task_id                IN              NUMBER,
    p_potential_owner        IN              VARCHAR2 );

Parameters

Parameter Description
p_task_id

The Task ID.

p_potential_owner

The potential owner.

Example

Exclude user 'STIGER' as potential owner for Task ID '1234'.

begin
    apex_human_task.exclude_potential_owner(
        p_task_id         => 1234,
        p_potential_owner => 'STIGER'
    );
end;