31.3 ADD_TASK_POTENTIAL_OWNER Procedure
This procedure adds a new potential owner to a task. Only a Business Administrator for the task can invoke this procedure. The procedure throws an error if the task is in Completed or Errored state.
                  
Syntax
APEX_HUMAN_TASK.ADD_TASK_POTENTIAL_OWNER (
    p_task_id                IN NUMBER,
    p_potential_owner        IN VARCHAR2,
    p_identity_type          IN t_task_identity_type default c_task_identity_type_user );Parameters
| Parameter | Description | 
|---|---|
| p_task_id | The Task ID. | 
| p_potential_owner | The potential owner. | 
| p_identity_type | The identity type of the potential owner. Default is USER.Note:As of this release, the only supported identity type is USER. Additional options will be added in a future release. | 
Example
The following example adds user STIGER as potential owner for Task ID 1234.
                  
BEGIN
     apex_human_task.add_task_potential_owner(
         p_task_id         => 1234,
         p_potential_owner => 'STIGER'
     );
END;Parent topic: APEX_HUMAN_TASK