7.9 DELEGATE_TASK Procedure
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
Table 7-7 DELEGATE_TASK 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