9.10 DELEGATE_TASK Procedure
Caution:
This API is deprecated and will be removed in a future release.
Use APEX_HUMAN_TASK instead.
This procedure assigns the task to one potential owner and sets the task state to Assigned
. Either the current owner of the task (the user to whom the task is currently assigned) or the Business Administrator of the task can perform this operation.
Syntax
APEX_APPROVAL.DELEGATE_TASK (
p_task_id IN NUMBER,
p_to_user IN VARCHAR2 );
Parameters
Parameter | Description |
---|---|
p_task_id |
The Task ID. |
p_to_user |
A (user) participant. |
State Handling
Pre-State: UNASSIGNED
, ASSIGNED
Post-State: ASSIGNED
Example
BEGIN
apex_approval.delegate_task(
p_task_id => 1234,
p_to_user => 'STIGER'
);
END;
Parent topic: APEX_APPROVAL (Deprecated)