27.26 REMOVE_POTENTIAL_OWNER Procedure

This procedure removes a potential owner of a task. If the user to be removed is not an existing potential owner, the API raises an exception.

Only a Business Administrator for the task can run this procedure.

Syntax

APEX_HUMAN_TASK.REMOVE_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

The following example removes user "STIGER" as potential owner for Task ID 1234.

BEGIN
    apex_human_task.remove_potential_owner(
        p_task_id         => 1234,
        p_potential_owner => 'STIGER'
    );
END;