9.25 REJECT_TASK Procedure
Caution:
This API is deprecated and will be removed in a future release.
Use APEX_HUMAN_TASK instead.
This procedure rejects the task. Only a potential owner or the actual owner of the task can invoke this procedure.
Moves the state of the Task to Completed and sets the outcome of the Task to Rejected. This is a convenience procedure and equivalent to calling complete_task with outcome apex_approval.c_task_outcome_rejected.
Syntax
APEX_APPROVAL.REJECT_TASK (
p_task_id IN NUMBER,
p_autoclaim IN BOOLEAN DEFAULT FALSE );Parameters
| Parameter | Description |
|---|---|
p_task_id |
The Task ID. |
p_autoclaim |
If Task is in state UNASSIGNED then claim the task implicitly.
|
State Handling
Pre-State: ASSIGNED|UNASSIGNED (p_autoclaim=true)
Post-State: COMPLETED
Parent topic: APEX_APPROVAL (Deprecated)