31.10 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_HUMAN_TASK.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_human_task.delegate_task(
p_task_id => 1234,
p_to_user => 'STIGER'
);
END;Parent topic: APEX_HUMAN_TASK