9.7 CLAIM_TASK Procedure
Caution:
This API is deprecated and will be removed in a future release.
Use APEX_HUMAN_TASK instead.
This procedure claims responsibility for a task. A task can be claimed by potential owners of the Task. A Task must be in Unassigned state to claim it. Once the task is claimed by a user, the Task transitions to Assigned state and the actual owner of the task is set to the user who claimed the task.
Syntax
APEX_APPROVAL.CLAIM_TASK (
p_task_id IN NUMBER );
Parameters
Parameter | Description |
---|---|
p_task_id |
The Task ID. |
State Handling
Pre-State: UNASSIGNED
. Post-State: ASSIGNED
.
Example
BEGIN
apex_approval.claim_task(
p_task_id => 1234);
END;
Parent topic: APEX_APPROVAL (Deprecated)